Skip to content

debugger,test: deflake resume failure test and add debug logs - #63524

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
joyeecheung:deflake-resume
May 26, 2026
Merged

nodejs-github-bot merged 1 commit into
nodejs:mainfrom
joyeecheung:deflake-resume

Conversation

@joyeecheung

Copy link
Copy Markdown
Member

On slow CI, the outer Debugger.resume can be picked up in the same drain pass as the Debugger.evaluateOnCallFrame, while V8 still considers the context paused. In this case both resume calls may succeed and the process can continue running from the setInterval until the timeout. Accept both probe failure and timeout as valid to accommodate this flakiness.

This patch also adds more debug logs to the probe mode to show more information in case it flakes again in the CI

Fixes: #63505