test: fix debugger probe throwing getter flake#63944
Open
trivikr wants to merge 1 commit into
Open
Conversation
Move the probe target statements into the fixture interval so they remain available if breakpoint binding happens after the script first runs. This preserves the throwing-expression coverage without depending on two adjacent top-level statements being hit during startup. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes a flaky debugger probe test seen in the macOS unusual-character path CI rerun.
The fixture previously placed both probe target statements at top level. If the
target script ran before those breakpoints were bound, both probes could be
missed and the fixture would stay alive until probe mode timed out.
This moves the target statements into the fixture's existing interval so they
remain available until the completion probe runs and clears the interval.
Refs: https://github.com/nodejs/node/actions/runs/27588057763/job/81562704514
Error Log
Assisted-by: openai:gpt-5.5