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

Turn hard errors in trace decoding into a recoverable failure. #1512

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

ltratt
Copy link
Contributor

@ltratt ltratt commented Dec 13, 2024

We sometimes -- not often, but sometimes -- encounter either the assert or unreachable in the code below. This commit turns these cases into recoverable errors. Is that the right thing to do? I'm not entirely sure, and welcome Edd's comments!

We sometimes -- not often, but sometimes -- encounter either the
`assert` or `unreachable` in the code below. This commit turns these
cases into recoverable errors. Is that the right thing to do? I'm not
entirely sure, and welcome Edd's comments!
@ltratt ltratt marked this pull request as draft December 13, 2024 21:25
@vext01
Copy link
Contributor

vext01 commented Dec 16, 2024

Ideally we'd investigate and figure out why this happens, but perhaps we have bigger fish to fry?

@ltratt
Copy link
Contributor Author

ltratt commented Dec 16, 2024

Ideally we'd investigate and figure out why this happens, but perhaps we have bigger fish to fry?

This is your parish, so you decide.

@vext01
Copy link
Contributor

vext01 commented Dec 16, 2024

Since a) it prints an error to let us know this happened, and b) we are not sure if we will keep hardware tracing, I opt to move on for now.

@vext01
Copy link
Contributor

vext01 commented Dec 16, 2024

(if you mark it ready, i will merge)

@ltratt ltratt marked this pull request as ready for review December 16, 2024 10:18
@ltratt
Copy link
Contributor Author

ltratt commented Dec 16, 2024

Marked as ready.

@vext01 vext01 added this pull request to the merge queue Dec 16, 2024
Merged via the queue into ykjit:master with commit 1020f37 Dec 16, 2024
2 checks passed
@ltratt ltratt deleted the trace_assert_to_failure branch December 16, 2024 11:48
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.

2 participants