Skip to content
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

Add recover for panics from handlers #504

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

cpuguy83
Copy link
Member

@cpuguy83 cpuguy83 commented Jan 24, 2025

This allows the error to actually propagate back to the client instead of the ominous "exit code 2" and having to search through the daemon logs to see what happened.

Closes #181

This makes it so we no longer need to manually build the frontend image.
It also means we don't need to use dockerd as the builder for these
targets to work.

Signed-off-by: Brian Goff <[email protected]>
@cpuguy83 cpuguy83 requested a review from a team as a code owner January 24, 2025 01:10
This is not actually helping anything and is actively causing issues on
CI right now.
We already removed the same thing in integration tests, this just brings
this into the e2e tests.

Signed-off-by: Brian Goff <[email protected]>
This allows the error to actually propagate back to the client instead
of the ominous "exit code 2" and having to search through the daemon
logs to see what happened.

Signed-off-by: Brian Goff <[email protected]>
"DALEC_DISABLE_DIFF_MERGE" = DALEC_DISABLE_DIFF_MERGE
}
contexts = {
Copy link
Contributor

@adamperlin adamperlin Jan 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean the frontend needs to be passed as a build context?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This meas the bake target is passing the frontend as a build context and then the build-arg tells it to read the frontend from the context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[REQ] Capture frontend panics and propagate messages back to the client
2 participants