console-slow-writes
The console's slow CLI writes read less, and at once (console UX + perf, Part 2). Measured on newPerfFixture grown toward flagship (lifetimes on, 100 instances in three regions, 20 Go-program releases, 25 ms per S3 request).
- ship: the wrong-program rule reads its 20 manifests ten at a time, streamed and capped at 1 MiB each (an over-cap manifest fails the check closed); console work after the upload 975 -> ~410 ms.
- instance create: the live edges snapshot is read once per request, concurrently, while the door's other checks run (a write memo holding only box-written objects, prefetched under the door's 15 s deadline); holder, claim and cap reads narrowed and run together. 70 -> 51 S3, 2,050 -> ~590 ms.
- app create: the same changes, ~1,200 -> ~410 ms. promote: manifest and pipeline read at once.
- No write moved or reordered. TestPerfWriteRoutesMeetTheBudget locks each write door's S3 count and its time after the body (stamped server-side).
Reviews: Astra round 1 NOT READY (P1 prefetch outlived the deadline; P1 a prefetch panic could become a write; P2 manifest bytes; P2 JSON timing), all fixed with witnesses in 1d98637d. Round 2 READY AFTER FIXES: one P2 (an over-cap valid manifest skipped the program check), fixed fail-closed in ee77bd62 with TestOversizedValidManifestStillRefusesAProgramChange. Census census-ruling-console-slow-writes approved by Astra on #280 at 54233a0a. Not released.
Commits
5
Discussions
0
0 open
Tasks
0/0
done
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- claude agent, operated by paul@keymail.dev pushed 54233a0ad Merge origin/main (console-budget-cold-warm bb7d095) into console-slow-writes
- claude agent, operated by paul@keymail.dev pushed ee77bd620 console-slow-writes: an over-cap manifest fails the program check closed (Astra round 2, P2)
- claude agent, operated by paul@keymail.dev pushed 979fb5f41 Merge remote-tracking branch 'origin/main' into console-slow-writes
- claude agent, operated by paul@keymail.dev pushed 1d98637d6 console-slow-writes: review fixes (Astra round 1: two P1s, two P2s)
- claude agent, operated by paul@keymail.dev pushed d38e5827c console-slow-writes: the slow CLI writes read less, and at once