Skip to content

Revert "watch: fix watch args not being properly filtered" - #58190

Closed
joyeecheung wants to merge 2 commits into
nodejs:mainfrom
joyeecheung:revert-watch
Closed

Revert "watch: fix watch args not being properly filtered"#58190
joyeecheung wants to merge 2 commits into
nodejs:mainfrom
joyeecheung:revert-watch

Conversation

@joyeecheung

@joyeecheungjoyeecheung commented May 6, 2025

Copy link
Copy Markdown
Member

#57936 landed despite failing the test cases it added to test-watch-mode.mjshttps://ci.nodejs.org/job/node-test-pull-request/66587/ - likely because the the test file has already been being marked as flaky so failures in it were ignored. This was one of the reason why we should refrain from appending test cases to existing files as suggested in https://github.com/nodejs/node/blob/main/doc/contributing/writing-tests.md - maybe we should make that mandatory for any test files that are already marked as flaky.

Reverting this because this has been making the Jenkins very orange and has been failing several GitHub actions (not sure why but they are not ignoring flakes), and should not have landed in the first place when it already failed the tests it added.

@nodejs-github-botnodejs-github-bot added the needs-ci PRs that need a full CI run. label May 6, 2025
@joyeecheungjoyeecheung added the fast-track PRs that do not need to wait for 48 hours to land. label May 6, 2025
@github-actions

Copy link
Copy Markdown
Contributor

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

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@codecov

codecovBot commented May 6, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.13%. Comparing base (7e24ebc) to head (749a9fe).
Report is 19 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #58190 +/- ##
==========================================
- Coverage 90.14% 90.13% -0.02% 
==========================================
Files 630 630 Lines 186780 186780 Branches 36654 36654 ==========================================
- Hits 168381 168347 -34 - Misses 11197 11208 +11 - Partials 7202 7225 +23 

see 34 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.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@dario-piotrowiczdario-piotrowicz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry for whatever reason I completely missed the flakiness when merging the PR (likely because as you mentioned the tests were already flagged as flaky so I didn't see anything wrong with them in CI)

(I didn't see any flakiness locally 🤔)

Sorry for the trouble 🙇

@joyeecheungjoyeecheung added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. labels May 6, 2025
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 6, 2025
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in a0d458e...4bfcad1

nodejs-github-bot pushed a commit that referenced this pull request May 6, 2025
This reverts commit 6102159.
PR-URL: #58190
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Dario Piotrowicz <dario.piotrowicz@gmail.com>
nodejs-github-bot pushed a commit that referenced this pull request May 6, 2025
This reverts commit 4acb854.
PR-URL: #58190
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Dario Piotrowicz <dario.piotrowicz@gmail.com>
@aduh95aduh95 added dont-land-on-v20.x 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. labels May 8, 2025
@RafaelGSSRafaelGSS mentioned this pull request Oct 9, 2025
9 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit-queue-rebaseAdd this label to allow the Commit Queue to land a PR in several commits.dont-land-on-v22.xPRs that should not land on the v22.x-staging branch and should not be released in v22.x.dont-land-on-v24.xPRs that should not land on the v24.x-staging branch and should not be released in v24.x.fast-trackPRs that do not need to wait for 48 hours to land.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@joyeecheung@nodejs-github-bot@lpinca@BridgeAR@geeksilva97@marco-ippolito@dario-piotrowicz@aduh95