carlos / platform Public

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.

  1. 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-continue body. The edge's reverse proxy does exactly that when an upstream refuses early (TestDemoAPIAliasStreaming "early"). GOTOOLCHAIN=go1.26.10+auto is set from .amadan/go-toolchain.sh. A go.mod toolchain line 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.
  2. host: the fd probe names the descriptor (diagnostic). That's how 6 was found.
  3. 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.
  4. console: time scale queries by the thread's CPU clock. TestOperatorCountsAtScale measured the saturated worker's scheduler: 183 ms on CI, 54 ms idle.
  5. 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.
  6. host: the fd probe allows the child runtime's own cgroup CPU file. Since Go 1.25 the runtime keeps cpu.max open (quotaFD). CI jobs have a CPU limit and DOCS-T1 doesn't. Reproduced with systemd-run -p CPUQuota. A mutation check shows it still catches a real leak.
  7. 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