Repository navigation
fix: docs pointer and stall race for the epic (S2) - #2169
Merged
neuromechanist merged 2 commits intoNov 14, 2026
Merged
Conversation
This branch was previously deployed
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.
Card S2 step 6, round 1: the first full Tests run on #2167 (run 43618622350, head 0b351cc) failed one test in each of three unit-pure shards; two commits fix the two that the epic caused, and the third is reported as flaky with no change.
Failure 3,
test/docs-links.unit.test.ts"every referenced page exists" (class a, the epic's diff, deterministic): the plan pack's W1 row spelled the docs pagecompute/portable-processingas a docs-host URL, and that page is not published yet, so the guard that resolves every docs URL against the published pages refused it. It failed again on the rerun (attempt 2, shard 3), reproduced locally with and without the newestdev, and passes after the fix. The row now names the page without the host and says why (27300ac,.context/plans/portable-compute/plan.md, one line). The test's assertion is unchanged.Failure 2,
backend/test/zarr-source-check.test.ts"an index that stalls is abandoned at the index timeout" (class a, the epic's own stand-in, a race): the stand-inBun.servekept the default idle timeout of 10 seconds, the same as the index deadline. When the server wins that race on a pooled connection the client sends the request a second time, so the log shows two index requests where the check made one (the CI log shows the server's "timed out a request after 10 seconds" warning in the failing run; a passing run shows none). Reproduced locally in roughly one of four full-file runs (took 10009 to 10018 ms). A standalone probe shows the mechanism: a pooled connection with a server idle timeout shorter than the client's deadline saw the stalled path twice, a fresh connection saw it once, and an idle timeout longer than the deadline saw it once. The stand-in now setsidleTimeout: 60so a stall always ends at the client's deadline (0ae7f20,backend/test/helpers/github-compare-standin.ts, one option and a comment). With the fix the whole file passed 8 of 8 runs on the epic merged withdev; setting the option to 3 as a mutation fails both stall tests (took 5005 ms and 2630 ms); the assertions are unchanged.Failure 1,
backend/test/compute-ledger.test.ts"migration 0114 creates the triggers on compute_pools, and migration 0130 only replaces..." (class c, flaky, no change here):sources()walksreaddirSyncin the order the filesystem returns, and the test expects migration 0114 before 0130; the failing run received 0130 first. The rerun of the same run passed, the same test passed in five other recent runs, and it passes locally (macOS returns names sorted). The cause is dev's own test (phase A7), not this diff. Patch note for its owner: sort the directory entries insidewalk; I did not change it.Newest
dev(S1a, squash b9c8f4a, with the bot bump 2f95da0): an uncommitted merge of it changes none of the three results, andbackend/test/dataset-id-partition.test.tsandbackend/test/upload-gate.unit.test.tspass on the merge. Both fix branches merge cleanly into it.Gates run on this branch at 0ae7f20 with an uncommitted merge of
origin/devat 2f95da0:bun test test/docs-links.unit.test.ts backend/test/compute-ledger.test.ts test/adr-index.unit.test.ts test/changelog-format.unit.test.ts backend/test/compute-runner-jobs.test.ts backend/test/compute-runner-queue.test.ts backend/test/compute-fixture-eligibility.test.ts test/admin-compute-pipeline-cli.test.ts backend/test/dataset-id-partition.test.ts backend/test/upload-gate.unit.test.tsprinted399 pass,3 skip,0 fail,Ran 402 tests across 10 files.Not run, would check: the full Tests workflow on #2167 after the manager squash-merges this together with #2166 and card S3c, because it is the epic gate.
Card: S2 (round 1, fix 2).