Skip to content

fix(local-dev): exit non-zero when the base template build fails - #3661

Open
lofoneh wants to merge 1 commit into
e2b-dev:mainfrom
lofoneh:fix/base-template-build-exit-code
Open

lofoneh wants to merge 1 commit into
e2b-dev:mainfrom
lofoneh:fix/base-template-build-exit-code

Conversation

@lofoneh

@lofoneh lofoneh commented Sep 24, 2026

Copy link
Copy Markdown

build.prod.ts caught build errors, logged them, and exited 0, so make local-build-base-template reported success for failed builds. It now sets process.exitCode = 1 after logging.

Verified by pointing E2B_API_URL at an unreachable port: make exited 0 before the change and 2 after.

build.prod.ts caught the build error, printed it, and let the process exit
0, so `make local-build-base-template` reported success for a failed
build. Set a failing exit code after logging the error.
@cla-bot

cla-bot Bot commented Sep 24, 2026

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @lofoneh on file. You can sign our CLA at https://e2b.dev/docs/cla . Once you've signed, post a comment here that says '@cla-bot check'

@lofoneh

lofoneh commented Sep 24, 2026

Copy link
Copy Markdown
Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed label Sep 24, 2026
@cla-bot

cla-bot Bot commented Sep 24, 2026

Copy link
Copy Markdown

The cla-bot has been summoned, and re-checked this pull request!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant