Skip to content

[Script Exit on Error] enable feature flag, and add stability advice to CICD docs #1477

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 14, 2023

Conversation

savil
Copy link
Collaborator

@savil savil commented Sep 14, 2023

Summary

Fixes #1457

This feature enables set -e in the generated shell files for the "scripts" and "init hooks" of Devbox.
This feature has been running internally for a long time to power our CICD tests for the projects in examples/,
and has been very useful in ensuring correctness.

This may expose bugs in user code. While this results in devbox version update possibly leading to
code that used to seemingly work previously now needing some fixes, we feel this is acceptable because:

  1. We no longer auto-update Devbox. Users are intentionally updating when they are ready.
  2. For CICD, they can pin the devbox-version for additional Stability. This PR updates the CICD docs
    to call this out.

How was it tested?

testscripts should pass

Copy link
Collaborator Author

savil commented Sep 14, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@savil savil merged commit f141a4e into main Sep 14, 2023
@savil savil deleted the savil/enable-script-exit-on-error branch September 14, 2023 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Stop scripts executions on error
2 participants