Repository navigation
test(rust): retry removing Cargo-built fixtures on Windows - #235
Merged
adityankale190895 merged 3 commits intoNov 18, 2026
Merged
Conversation
This was referenced Nov 17, 2026
FredApps
marked this pull request as ready for review
November 17, 2026 17:18
A cold cargo test build can exceed 60 seconds on a hosted Windows runner. The spawnSync timeout then killed cargo but left its rustc processes holding the fixture, and the cleanup EPERM hid the real failure (DiffCI#253, check (windows-latest, 24)). Signed-off-by: FredApps <[email protected]>
FredApps
added a commit
to FredApps/core
that referenced
this pull request
Nov 17, 2026
The previous windows-latest Node 22 check failed in rust-adapter.test.ts cleanup (EBUSY on a temp dir). That flake is DiffCI#227 / DiffCI#235, which this branch does not touch. Empty commit to re-run hosted CI. Signed-off-by: FredApps <[email protected]>
FredApps
added a commit
to FredApps/core
that referenced
this pull request
Nov 17, 2026
Signed-off-by: FredApps <[email protected]>
This was referenced Nov 17, 2026
FredApps
added a commit
to FredApps/core
that referenced
this pull request
Nov 18, 2026
Signed-off-by: FredApps <[email protected]>
I, FredApps <[email protected]>, hereby add my Signed-off-by to this commit: 363a2f9 Signed-off-by: FredApps <[email protected]>
adityankale190895
pushed a commit
that referenced
this pull request
Nov 18, 2026
…237) * fix(planner): treat a change to an extended tsconfig base as global programMembership only recognised tsconfig*.json and jsconfig*.json names, so changing config/base.json, which tsconfig.json extends by relative path, skipped tsc and type-aware lint. Configs the project extends by relative path are now followed transitively and count as changing every file's types. Fixes #236 Signed-off-by: FredApps <[email protected]> * chore: re-run CI after the Windows rust-adapter cleanup flake The previous windows-latest Node 22 check failed in rust-adapter.test.ts cleanup (EBUSY on a temp dir). That flake is #227 / #235, which this branch does not touch. Empty commit to re-run hosted CI. Signed-off-by: FredApps <[email protected]> --------- Signed-off-by: FredApps <[email protected]>
adityankale190895
pushed a commit
that referenced
this pull request
Nov 18, 2026
… rerun (#280) * fix(release): replace a local action-v tag left by a rejected push on rerun Fixes #279 Signed-off-by: FredApps <[email protected]> * ci: rerun checks (Windows rust-adapter flake, #235) Signed-off-by: FredApps <[email protected]> --------- Signed-off-by: FredApps <[email protected]>
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 free
to 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 #227
The real-Cargo tests in
tests/repo/rust-adapter.test.tsnow remove their fixture withmaxRetries: 10, retryDelay: 200, through one sharedBUILT_FIXTUREoptions constant. On Windows, a test executable Cargo just ran, or an antivirus scan of it, can keeptarget/locked for a moment after it exits. Node then retries EPERM/EBUSY/ENOTEMPTY with a linear backoff, instead of failing the test after it already passed (as on #174,check (windows-latest, 24)).It only touches the five
{ skip: !cargoAvailable }tests. The synthetic-metadata tests never build anything. I couldn't reproduce the lock on demand, so the evidence is the hosted Windows jobs on this PR.Follow-up (b55b8cf): on #253,
check (windows-latest, 24)spent 60 s in the feature-unified test and then failed with EPERM. That was the 60 sspawnSynctimeout on the coldcargo test -- --listbuild: it killed cargo but left rustc holding the fixture, and the cleanup error hid the timeout. Both cold builds in this file now getCARGO_BUILD_TIMEOUT(5 minutes). Hosted CI passed on this head.