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

various: add resource-id-ing ~| into common paths #3683

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

Fang-
Copy link
Member

@Fang- Fang- commented Jun 27, 2024

As discussed out of band with @arthyn, we should have some more of these. This is a start.

We see crash traces for all kinds of things. Currently, we print poke and watch nack traces to the user's terminal. These by themselves only point at the codepath, but don't explicate the crash reason (which could also be deduced from the trace) or the resource that was operated on (which might not be recoverable in cases where we don't have/print the wire).

Here, we add a couple of trace hints, to print subscription paths and resource identifiers in common crash pathways.

We see crash traces for all kinds of things. Currently, we print poke
and watch nack traces to the user's terminal. These by themselves only
point at the codepath, but don't explicate the crash reason (which could
also be deduced from the trace) or the resource that was operated on
(which might not be recoverable in cases where we don't have/print the
wire).

Here, we add a couple of trace hints, to print subscription paths and
resource identifiers in common crash pathways.
@Fang- Fang- added the devex label Jun 27, 2024
@Fang- Fang- requested a review from arthyn June 27, 2024 20:20
Copy link
Member

@arthyn arthyn left a comment

Choose a reason for hiding this comment

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

very nice!

@Fang- Fang- merged commit 7068fd6 into develop Jun 28, 2024
1 check passed
@Fang- Fang- deleted the m/nack-trace-details branch June 28, 2024 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants