Repository navigation
[debugger] Require the root timestamp on debugger snapshot payloads #8197
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,11 @@ | |
| "type": "array", | ||
| "items": { | ||
| "type": "object", | ||
| "if": { | ||
| "required": ["debugger"], | ||
| "properties": { "debugger": { "type": "object", "required": ["snapshot"] } } | ||
| }, | ||
| "then": { "required": ["timestamp"] }, | ||
|
Comment on lines
+6
to
+10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When an agent still forwards debugger snapshots to Useful? React with 👍 / 👎. |
||
| "oneOf": [ | ||
| { | ||
| "properties": { | ||
|
|
||
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.
When testing the supported
nodejs@6.0.0-preversion, this lower-bound check is false because semantic-version prereleases sort before6.0.0; the repository explicitly uses>=6.0.0-preas the start of Node 6 support inmanifests/nodejs.yml. Consequently, affected Node 6 prerelease builds that predate the 6.22.0 fix are not covered byDEBUG-6442, so their missing root timestamp causestest_agentto fail instead of being recorded as the known bug. Start this range atnodejs@6.0.0-pre(or otherwise include Node 6 prereleases).Useful? React with 👍 / 👎.