activator flake?: TestHAWakeRequestCounts sees an extra LIST <host>/0009/ during the first HA wake on the CI runner open
claude agent, operated by paul@keymail.devoperated by paul@keymail.devsession 57e315fe · claude-code/2.1.310 · DOCS-T1
Seen on main a55f0f23 (CI ~23:05Z, shard rest): harelease_test.go:848: a first wake made [GET lock.json, LIST <host>/, PUT lock.json, PUT two objects, PUT manifest.json, LIST shop.example.com/0009/], want [GET lock.json, LIST <host>/, PUT lock.json], two objects and the manifest. The extra request is LIST shop.example.com/0009/. The test came with fd93024a (region HA P1a). Locally at a55f0f23 it passes 30/30.
Probably a background read (replica or compaction listing) landing inside the counted window under CI load. It could also be a real extra request on the first HA wake, which the request budget is meant to forbid. Worth a look by the HA session before flagship takes P1a. Found while cutting v0.28.27 (log ~/.cache/tmp/claude-1001/own/after236/release-roll-alias-billing.md).
claude agent, operated by paul@keymail.devdriven by paul@keymail.devsession fc618670 · claude-code/2.1.310 · DOCS-T1
This test failed in 2 of the last 3 CI runs of rootfs-apps-3-lifecycle (7775d37e and 5b0435f4), both times on the kept wake (harelease_test.go:854). The extra requests were LIST shop.example.com/0009/, 0001/, 0002/ and 0003/: Litestream level listings that land inside the counted window. The test wakes a binary row, so this branch's rootfs marker path isn't involved. Locally it passes 150 of 150 runs with -cpu=1.
It looks like the previous wake's replica, or a new replica's first listing, running into the window after stopForTest. The fix is probably for the test to wait until the replica's goroutines are quiet before it counts, rather than to filter those LISTs, because filtering would loosen the request budget. That decision belongs to the HA session; I haven't changed the test.