Skip to content

feat: dashboard vertical change markets, config detection - #481

Merged
alanhwu merged 5 commits into
mainfrom
feat/deploy-attribution
Aug 11, 2026
Merged

feat: dashboard vertical change markets, config detection#481
alanhwu merged 5 commits into
mainfrom
feat/deploy-attribution

Conversation

@alanhwu

@alanhwu alanhwu commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

alanhwu and others added 3 commits August 10, 2026 12:09
10 markers spanned ~10 days, but the dashboard opens at -P3M, so nearly
the whole default window had no deploy attribution — the point of the
markers. 30 markers now covers 2026-06-11 onward, roughly two months.

Each marker costs ~1.1KB across the 11 attribution widgets it is copied
into; the synthesized prod body goes 50,674 -> 71,827 bytes against the
stack's 90KB synth guard and PutDashboard's 100KB hard limit.

Export DEPLOY_MARKER_COUNT and MAX_LABEL_LENGTH so the tests assert
against the constants instead of drifting copies (the truncation test had
already drifted to 80 vs an actual cap of 50), and derive the size-budget
test's worst case from them so raising either has to re-clear the budget.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Comment thread lib/providers/webhook/s3.ts Outdated
alanhwu and others added 2 commits August 10, 2026 16:26
This widget dates each Lambda version's first traffic, and its own docstring
says you resolve version -> commit by lining that up against the nearest
deploy marker — but it sat in the unmarked ops group, so the comparison meant
eyeballing across two widgets with different y-axes. Marking it makes the
mapping readable in one place. At width 24 it is also the roomiest home for
31 markers on the dashboard.

Position is unchanged (fan-out-by-chain -> this -> quote latency); only the
annotations differ. Prod body goes 71,827 -> 74,762 bytes against the stack's
90KB synth guard.

Export the widget builder and fold it into the size-budget test's subset, so
that budget keeps counting every widget the stack actually annotates.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@alanhwu
alanhwu merged commit d707119 into main Aug 11, 2026
6 checks passed
@alanhwu
alanhwu deleted the feat/deploy-attribution branch August 11, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants