Skip to content

test: reduce flakiness of different-registry-per-thread#63209

Merged
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
aduh95:unflaky-test-process-finalization
May 11, 2026
Merged

test: reduce flakiness of different-registry-per-thread#63209
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
aduh95:unflaky-test-process-finalization

Conversation

@aduh95
Copy link
Copy Markdown
Contributor

@aduh95 aduh95 commented May 9, 2026

There was an assumption that the WeakRef would be kept alive but it seems to not always be true on Windows. This commit makes sure it's kept alive.

Refs: #63057 (comment)
Fixes: #63056

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels May 9, 2026
There was an assumption that the `WeakRef` would be kept alive but
it seems to not always be true on Windows. This commit makes sure
it's kept alive.

Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
@aduh95 aduh95 force-pushed the unflaky-test-process-finalization branch from ed9990d to fc9c902 Compare May 9, 2026 12:52
@nodejs-github-bot

This comment was marked as outdated.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.03%. Comparing base (bbf51ad) to head (1a9791e).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #63209      +/-   ##
==========================================
- Coverage   90.03%   90.03%   -0.01%     
==========================================
  Files         713      713              
  Lines      224950   224950              
  Branches    42532    42534       +2     
==========================================
- Hits       202542   202539       -3     
- Misses      14175    14185      +10     
+ Partials     8233     8226       -7     

see 27 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aduh95
Copy link
Copy Markdown
Contributor Author

aduh95 commented May 9, 2026

Pulled in b83d76c from #63214 4d4a78c from #63220 to get a green CI

@nodejs-github-bot

This comment was marked as outdated.

Signed-off-by: inoway46 <inoueyuya416@gmail.com>
@aduh95 aduh95 force-pushed the unflaky-test-process-finalization branch from 96323a2 to 1a9791e Compare May 10, 2026 08:10
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Member

@MoLow MoLow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@mertcanaltin mertcanaltin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@panva panva added the fast-track PRs that do not need to wait for 72 hours to land. label May 10, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Fast-track has been requested by @panva. Please 👍 to approve.

@ShogunPanda ShogunPanda added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels May 11, 2026
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 11, 2026
@nodejs-github-bot nodejs-github-bot merged commit 130398a into nodejs:main May 11, 2026
85 of 86 checks passed
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Landed in 130398a

@aduh95 aduh95 deleted the unflaky-test-process-finalization branch May 11, 2026 12:08
@aduh95
Copy link
Copy Markdown
Contributor Author

aduh95 commented May 11, 2026

This should have landed with commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. , sorry @inoway46 you should have gotten the credit

@inoway46
Copy link
Copy Markdown
Contributor

Thank you for taking care of this, I really appreciate it!

@aduh95 aduh95 added dont-land-on-v22.x PRs that should not land on the v22.x-staging branch and should not be released in v22.x. dont-land-on-v24.x PRs that should not land on the v24.x-staging branch and should not be released in v24.x. dont-land-on-v25.x PRs that should not land on the v25.x-staging branch and should not be released in v25.x. dont-land-on-v26.x PRs that should not land on the v26.x-staging branch and should not be released in v26.x. labels May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. dont-land-on-v22.x PRs that should not land on the v22.x-staging branch and should not be released in v22.x. dont-land-on-v24.x PRs that should not land on the v24.x-staging branch and should not be released in v24.x. dont-land-on-v25.x PRs that should not land on the v25.x-staging branch and should not be released in v25.x. dont-land-on-v26.x PRs that should not land on the v26.x-staging branch and should not be released in v26.x. fast-track PRs that do not need to wait for 72 hours to land. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

parallel.test-process-finalization is flaky

10 participants