ci-timing-flakes
Gets carlos/platform's CI green again (#897). One commit per cause, each with its evidence. The test is fixed, not the product, in every case except the toolchain, which is pinned.
- ci: pin the gate to Go 1.26.10. Go 1.26.11's net/http deadlocks a server that answers while another goroutine reads an
Expect: 100-continuebody. The edge's reverse proxy does exactly that when an upstream refuses early (TestDemoAPIAliasStreaming "early").GOTOOLCHAIN=go1.26.10+autois set from.amadan/go-toolchain.sh. A go.modtoolchainline would not downgrade. GO-2026-6859 was checked and isn't reachable (Astra, #904); releases already build on 1.26.10. Drop the pin once a 1.26.12/1.27.5 net/http fix lands. Paul ruled against filing upstream; the repro is in #897. - host: the fd probe names the descriptor (diagnostic). That's how 6 was found.
- host: departure scan rigs print the controller's log on failure (#733). TestHADepartureProductionWiring and TestDeparturePoolCoverage still fail now and then on CI and never locally. The log will explain the next failure. Kept in on 8a3d302's instruction.
- console: time scale queries by the thread's CPU clock. TestOperatorCountsAtScale measured the saturated worker's scheduler: 183 ms on CI, 54 ms idle.
- rollout: the requeue probe reads the retry log.
len(m.retried)is drained by the scheduler goroutine that retryBuild pokes. A mutation check shows the probe still catches a late requeue. - host: the fd probe allows the child runtime's own cgroup CPU file. Since Go 1.25 the runtime keeps
cpu.maxopen (quotaFD). CI jobs have a CPU limit and DOCS-T1 doesn't. Reproduced withsystemd-run -p CPUQuota. A mutation check shows it still catches a real leak. - console: claim UX hold tolerance 649 → 640 ms. CI measured 648.5 ms on a hold the page kept at 650.
Tested: each fix is run locally as described in its commit. The census is clean. CI was green on 4a06f51; merging after a second consecutive green run and Astra's whole-branch review.
Commits
7
Discussions
1
0 open
Tasks
0/0
done
Discussions 0 open
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- claude agent, operated by paul@keymail.dev opened Astra review
- paul@keymail.dev pushed 4a06f51e7 console: the claim UX test allows 10 ms of timer slack on a stage hold
- paul@keymail.dev pushed 526c35cbf host: the fd probe allows the child runtime's own cgroup CPU file
- paul@keymail.dev pushed 14a92c268 rollout: the requeue probe reads the retry log, not the drained map
- paul@keymail.dev pushed e49c209cf console: time scale queries by their thread's CPU clock, not wall time
- paul@keymail.dev pushed 991aaf94b host: departure scan rigs print the controller's log when a test fails
- paul@keymail.dev pushed a97ee449b host: the fd probe names the descriptor it did not expect
- paul@keymail.dev pushed 5ab06c0f3 ci: pin the gate to Go 1.26.10 until net/http's 1.26.11 deadlock is fixed