Skip to content

Correct Windows Git test contention records - #194

Merged
VeryComplexAndLongName merged 3 commits into
mainfrom
core-test-worker-contention
Sep 3, 2026
Merged

Correct Windows Git test contention records#194
VeryComplexAndLongName merged 3 commits into
mainfrom
core-test-worker-contention

Conversation

@VeryComplexAndLongName

Copy link
Copy Markdown
Owner

Summary

  • correct the two archived task notes that misclassified Windows/MSYS process-spawn contention as timeout flakiness
  • record completion of the corresponding core-test-worker-contention tasks

Validation

  • openspec-ui-cli validate --format text
  • git diff --check

…hange

git.push.test.ts spawns around eight real git processes. On Windows it
fails intermittently with either a 5000 ms timeout or an MSYS
add_item ... errno 1, and the investigation recorded in
core-test-worker-contention traces that to Git for Windows'
fork-emulation racing when its subprocesses run concurrently with other
git subprocesses. The file now runs in its own single-fork vitest
project instead of sharing a worker with the other 43 files in the
package, and instead of forcing all of them onto a single fork, which was
tried and rejected for slowing every other file to fix one.

I checked this by trying to refute it. My hypothesis was that splitting
into two projects changes nothing, because vitest runs projects
concurrently - so the isolated file would still race the other 43. The
evidence says otherwise, and says my hypothesis was wrong: the isolated
project alone passed, then failed twice in a row; the full core suite
failed once and then passed 44 files and 516 tests with git.push.test.ts
green in 1865 ms. The failure appears in both configurations and in
neither reliably.

That is exactly what the change's own honesty note under task 4.3 says -
a residual rate that no vitest configuration controls, on an environment
its operating instructions describe as not a dedicated machine. The note
is right, and I nearly reported a correction the evidence does not
support. Recording that here because the only reason I did not is that I
repeated the runs.

Also archives agentic-harness-documentation, complete, and corrects the
two task notes that had recorded these failures as co-load timeout
flakiness under load-sensitive-test-timeouts. Those notes are inside
archived changes: the corrections name the earlier workaround and what it
actually was, rather than silently reading as if they had always said so,
which keeps the archive a record rather than a rewrite.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…ention

# Conflicts:
#	openspec/changes/core-test-worker-contention/tasks.md
@VeryComplexAndLongName
VeryComplexAndLongName merged commit b76dcc1 into main Sep 3, 2026
2 checks passed
@VeryComplexAndLongName
VeryComplexAndLongName deleted the core-test-worker-contention branch September 3, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant