-
Notifications
You must be signed in to change notification settings - Fork 10.3k
[Workers] Add "internal error id" entry to Workers and DO changelogs #19923
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
+6
−0
Merged
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
b38b8e0
[Workers] Add "internal error id" entry to Workers and DO changelogs
jclee 2ff4d87
Update src/content/changelogs/durable-objects.yaml
jclee 7af1a92
Update src/content/changelogs/workers.yaml
jclee c51b152
Update src/content/changelogs/workers.yaml
Oxyjun 8c4d5ca
Update src/content/changelogs/durable-objects.yaml
Oxyjun 8eab031
Update src/content/changelogs/durable-objects.yaml
Oxyjun 070dcf8
Update src/content/changelogs/durable-objects.yaml
Oxyjun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jclee Why
may include? Are there internal errors that won't have a reference ID?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think as currently implemented, most exceptions that were generated with the text "internal error" will have the reference id.
There is one remaining "internal error" exception that requires more work to add the reference id, but I think it is only generated in rare circumstances, like worker startup exceptions that we'd expect to be detected during worker validation, before they reach the edge.
And there are some other instances where we generate similar but more verbose exceptions -- like
jsg.Error: Internal error in Durable Object storage write caused object to be reset.-- that we may want to also add reference ids to, but that are not affected by the current implementation.