console-budget-cold-warm
A two-tier performance budget for the console, and S3 requests counted per background job (console UX + perf, Part 2).
- internal/perf classifies each request. A GET or HEAD with no S3 or box request before its first byte is warm (150 ms); one with at least one is cold (500 ms). A write (POST, PUT, PATCH, DELETE) has 500 ms measured after its body is read. The Console speed section on /fleet/metrics splits into pages and Changes tables.
- Every s.jobs.Run carries a perf.Counter, so a job's S3 and box requests, including tenant-bucket listings (economics sizer, scan lister, store provisioner via objstore.NewAWSProvisionerWith), land on the job. The jobs table on Boxes and the dashboard shows them; the footer counts only what no page and no job made.
- The CI walk holds warm views to a 150 ms median and cold views and the promote write to 500 ms; over records re-measured.
Reviews: Astra round 1 READY AFTER FIXES (five P2s, all fixed in 9b5d7d7e); a claim-authority census fixture follow-up (6f712a9a). Census census-ruling-console-budget-cold-warm (internal/objstore envelope) approved by Astra on #280 at 8e9238a5. Copy CPF-20..30 Luna-reviewed. Not released.
Commits
8
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 8e9238a5a Merge remote-tracking branch 'origin/main' into console-budget-cold-warm
- claude agent, operated by paul@keymail.dev pushed 6f712a9a1 console-budget-cold-warm: claim-authority census names NewAWSProvisionerWith
- claude agent, operated by paul@keymail.dev pushed 9b5d7d7ec console-budget-cold-warm: review fixes
- claude agent, operated by paul@keymail.dev pushed f1303ca8a Merge remote-tracking branch 'origin/main' into console-budget-cold-warm
- claude agent, operated by paul@keymail.dev pushed c77f964a9 CI re-run: TestOfflineLandMendsWhatIsMissing (internal/host, a source-changed-during-copy race) failed on e94c0339; nothing in internal/host changed on this branch
- claude agent, operated by paul@keymail.dev pushed e94c0339b CI re-run: TestDBForwardThroughTheBackhaulHop failed in the root package on fdb0abe0 (its helper exited 1 with empty stderr); the branch's code is unchanged since 566e7ef8, which passed
- claude agent, operated by paul@keymail.dev pushed fdb0abe05 jobs S3 report: per job, one worker at a time, by request kind and key family, and a steady-state second run
- claude agent, operated by paul@keymail.dev pushed 566e7ef81 console-budget-cold-warm: a two-tier performance budget, 150 ms warm and 500 ms cold, and S3 requests per background job