Repository navigation
Conversation
mwolson
force-pushed
the
personal/wsl-busy-runtime-fixture
branch
from
September 30, 2026 12:58
5d427a1 to
9560ced
Compare
mwolson
force-pushed
the
personal/clerk-token-file-mode
branch
2 times, most recently
from
September 30, 2026 20:01
cdd57b3 to
e54148d
Compare
mwolson
force-pushed
the
personal/wsl-busy-runtime-fixture
branch
from
September 30, 2026 20:01
9560ced to
4f375ba
Compare
mwolson
force-pushed
the
personal/clerk-token-file-mode
branch
from
October 1, 2026 12:38
e54148d to
8ef1920
Compare
mwolson
force-pushed
the
personal/wsl-busy-runtime-fixture
branch
from
October 1, 2026 12:38
4f375ba to
1778426
Compare
mwolson
force-pushed
the
personal/clerk-token-file-mode
branch
from
October 1, 2026 14:13
8ef1920 to
510f127
Compare
Owner
Author
|
Landed upstream as pingdotgg#14351 wsl-busy-runtime-fixture, which the fork's codex-turn-mapping pin now contains. Closing; the branch is kept. |
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.
What Changed
The executed WSL cache tests now hold a runtime busy, and hold an install lock, with processes that exit when the test script exits. Each test waits until its holder is in place before running the scripts under test.
Why
Two tests (
removes an aged stale tree after replacing an active unready cacheandprunes old and markerless caches without touching retained, active, locked, or unrelated roots) fail on hosts where/bin/shis bash, such as Arch and Fedora. The fixture ransh -c "sleep 30" <runtime>/t3. Bash runs a lone-ccommand in place of the shell, so the process's command line becomes justsleep 30. The prune and install scripts detect a busy runtime by scanning/proc/*/cmdlinefor its path, so they treated the "active" cache as idle and removed it. Production is unaffected, since a real server keeps its path in its command line.The holders now use the runtime entry as their
argv[0], and they read a pipe the test script keeps open, so nothing sleeps on a timer or outlives a test, including one that fails partway. With the in-use check deliberately broken, four tests fail; with the prune script ignoring install locks, the prune test fails.Checklist