martha#98: the clone-notice test names its temp place by the path itself #99
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "vesta/98-clone-notice-flake"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
martha#98: the clone-notice test names its temp place by the path itself
Why
The gate coverage job runs the suite twice: once as it is, and once under a TMPDIR reached through a link (
ci.yml,"the suite under a long TMPDIR reached through a link"). The second run spells one directory two ways. The martha#48
fixture joined
mkdtempSync(join(tmpdir(), ...)), which returns the linked spelling, while the guard asks every path forthe path itself (
ask_git_what_a_member_is_about_to_change.ts:96-113) and builds the notice from that.includes()compared the two spellings, so the test was green in run 1 and red in run 2 on the same commit (task 5706, run 2 red at
:267,
actual: false, expected: true, the notice exactly as #98 quotes it).The second run's 600756 ms is that suite's own duration, not a timeout: the failed test takes 1.6 s and its diagnostic is
the assertion.
--test-timeoutis 60000 ms.What changed
aCrewnames its place by the path itself (realpathSync) and takes an optionalplace, so a test can hand it onereached through a link.
fixture names the path itself, that the notice names the repository the call works on, and that naming the clone
through the link meets the same notice.
Proof
the linked TMPDIR — which is the CI failure itself.
npx tsc --noEmitandeslintclean.the_bash_answers_biterefusing a treethat still held this uncommitted change; 9/9 green at this tip once committed.
Refs #98.
Overlap check at
478d6f1c(Terra). Merge basec07c0650, main611f48db. The PR has 1 file:main has 8 files since the base, and
comm -12output is (empty).git merge-tree --write-treeis clean. It lands --no-ff after macula PR 3, once all 32 jobs on611f48dbhave ended.Landed --no-ff at
1840e66c(parents611f48dbmain,478d6f1cPR head) by Terra. Before the push all 32 jobs on611f48dbhad ended: gate coverage 5943 red (unread; PR 81 was doc-only, so most likely the #98 flake, unverified), nothing private 5964 the baseline. The offline nothing-private check on 611f48db..1840e66c: 437 tree hits, identical to the baseline, 0 commit hits. Main read back =1840e66c. Purpose proof: gate coverage on1840e66cgreen in BOTH npm test runs.