test: wait for ok before initial break after restart#62807
Conversation
28b3e0e to
3a7bcb0
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #62807 +/- ##
==========================================
- Coverage 90.05% 90.05% -0.01%
==========================================
Files 714 714
Lines 225242 225242
Branches 42579 42580 +1
==========================================
- Hits 202843 202838 -5
- Misses 14187 14193 +6
+ Partials 8212 8211 -1 🚀 New features to boost your workflow:
|
|
#62807 (comment) |
|
#62807 (comment) I think this flaky has already been solved, so could someone rerun CI? |
|
@lpinca The latest full CI passed. I missed the DCO sign-off: Signed-off-by: inoway46 [email protected] Could this be added during landing, or should I force-push it? |
Commit Queue failed- Loading data for nodejs/node/pull/62807 ✔ Done loading data for nodejs/node/pull/62807 ----------------------------------- PR info ------------------------------------ Title test: wait for ok before initial break after restart (#62807) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch inoway46:fix-flaky-wait-after-restart -> nodejs:main Labels test, needs-ci Commits 1 - test: wait for ok before initial break after restart Committers 1 - inoway46 <[email protected]> PR-URL: https://github.com/nodejs/node/pull/62807 Refs: https://github.com/nodejs/node/issues/61762 Reviewed-By: Luigi Pinca <[email protected]> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/62807 Refs: https://github.com/nodejs/node/issues/61762 Reviewed-By: Luigi Pinca <[email protected]> -------------------------------------------------------------------------------- ℹ This PR was created on Sat, 18 Apr 2026 17:38:56 GMT ✔ Approvals: 1 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/62807#pullrequestreview-4136535927 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2026-05-08T10:51:55Z: https://ci.nodejs.org/job/node-test-pull-request/73258/ - Querying data for job/node-test-pull-request/73258/ ✔ Build data downloaded ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ✔ origin/main is now up-to-date - Downloading patch for 62807 From https://github.com/nodejs/node * branch refs/pull/62807/merge -> FETCH_HEAD ✔ Fetched commits as 6009d937f515..3a7bcb0aadd1 -------------------------------------------------------------------------------- [main d258a47100] test: wait for ok before initial break after restart Author: inoway46 <[email protected]> Date: Sun Apr 19 02:29:40 2026 +0900 1 file changed, 4 insertions(+), 2 deletions(-) ✔ Patches applied -------------------------------------------------------------------------------- --------------------------------- New Message ---------------------------------- test: wait for ok before initial break after restarthttps://github.com/nodejs/node/actions/runs/25750709415 |
It looks like you have to add it and force-push :( |
Signed-off-by: inoway46 <[email protected]>
3a7bcb0 to
81cf8e7
Compare
|
@lpinca I force-pushed the signed-off commit, and the latest CI has passed. Sorry for bothering you again, but could you request a full CI run when you have a chance? |
Follow-up to: #62471
Waiting for
Debugger attached.beforewaitForInitialBreak()reduced one race, but it still was not a strong enough sync point. During reconnect,debug>can be re-displayed before the CLI finishesrun()/restart(), and the output can still look like:This change waits for
okbeforewaitForInitialBreak(), so the test only starts waiting for the initial break after the CLI has completed reconnecting.CI logs
Testing
./tools/test.py -p actions -j1 --repeat 50 parallel/test-debugger-run-after-quit-restartRefs: #61762