Uh oh!
There was an error while loading. Please reload this page.
test_runner: handle file rename and deletion under watch mode - #53114
Merged
nodejs-github-bot merged 2 commits intoJun 2, 2024
Merged
Conversation
nodejs-github-bot
commented
May 23, 2024
Collaborator
Review requested:
|
jakecastelliforce-pushed
the
fix-test-runner-rename-delete-error
branch
from
May 23, 2024 07:05
174efbb to
019625eCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
jakecastelliforce-pushed
the
fix-test-runner-rename-delete-error
branch
from
May 24, 2024 00:06
019625e to
d23cbc4Comparejakecastelliforce-pushed
the
fix-test-runner-rename-delete-error
branch
2 times, most recently
from
May 25, 2024 15:55
1f0ae63 to
0d22545Comparejakecastelli
commented
May 25, 2024
MemberAuthor
@MoLow I have added tests to cover both |
jakecastelliforce-pushed
the
fix-test-runner-rename-delete-error
branch
from
May 25, 2024 16:04
0d22545 to
b1816bbCompareMoLow
reviewed
May 25, 2024
Uh oh!
There was an error while loading. Please reload this page.
MoLow
approved these changes
May 28, 2024
atlowChemi
approved these changes
May 29, 2024
MemberAuthor
Could someone help me to kick start the CI? 👀 Thanks! |
nodejs-github-bot
commented
May 31, 2024
Collaborator
jakecastelli
commented
Jun 1, 2024
MemberAuthor
Looks like there are a few failing jobs (most likely flaky tests 👀) I guess they need a rerun? |
nodejs-github-bot
commented
Jun 1, 2024
Collaborator
rluvaton
approved these changes
Jun 1, 2024
nodejs-github-bot
commented
Jun 2, 2024
Collaborator
nodejs-github-bot
commented
Jun 2, 2024
Collaborator
Landed in 7125931 |
Merged
eliphazbouye pushed a commit
to eliphazbouye/node
that referenced
this pull request
Jun 20, 2024
Fixes: nodejs#53113 PR-URL: nodejs#53114 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Raz Luvaton <rluvaton@gmail.com>
Merged
nodejs-github-bot pushed a commit
that referenced
this pull request
Aug 14, 2024
When a watched test file is being deleted then the referenced dependency file(s) will be updated incorrect when `unfilterFilesOwnedBy` method is called, which will cause tests not being rerun when its referenced dependency changed. To prevent this case, we can simply `return` when we detect a watched test file being deleted. PR-URL: #53533 Refs: #53114 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
RafaelGSS pushed a commit
that referenced
this pull request
Aug 19, 2024
When a watched test file is being deleted then the referenced dependency file(s) will be updated incorrect when `unfilterFilesOwnedBy` method is called, which will cause tests not being rerun when its referenced dependency changed. To prevent this case, we can simply `return` when we detect a watched test file being deleted. PR-URL: #53533 Refs: #53114 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
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 freeto 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: #53113