Repository navigation
feat(scaling): snapshot schema v2 with ladder, ceilings and guardrails - #194
Merged
Merged
Conversation
Co-authored-by: Toshi <toshi-noreply@coinbase.com>
Co-authored-by: Toshi <toshi-noreply@coinbase.com>
Collaborator
✅ Heimdall Review Status
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: Toshi <toshi-noreply@coinbase.com>
Co-authored-by: Toshi <toshi-noreply@coinbase.com>
…g the numbers Co-authored-by: Toshi <toshi-noreply@coinbase.com>
This was referenced Oct 16, 2026
0x00101010
added this pull request to stack #202
October 16, 2026 13:36
This was referenced Oct 16, 2026
mw2000
approved these changes
Oct 16, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
The scorecard snapshot's
headlinerow cannot express what the scaling page needs to show next: where mainnet runs today against its operating point, configured limit and the highest rate a qualified run has sustained, each with its own confidence. Progress entries also have no place for a realized effect or the evidence behind it.What
schemaVersion: 2:headlinebecomesladder(observed p50/p99, operating point, configured limit, qualified), each a rung with ameasured/modeled/estimated/not-measured/not-modeled/not-establishedtag; values arenullunder the three non-measured tags, never0.translations(gasPerPayment,gasPerSwap) and newworkfieldsarea,expected,realized,evidence,linear;realizedrequiresevidence,linear.progressmust be in [0, 1].isStale(collectedAt, now, days = 10)is exported and drives the page's stale banner.app/scaling/fixtures/synthetic.v2.json: invented values covering every tag, used by the tests and bynpm run scaling:check.Notes
helpstrings (short explanations per rung) are stored but not rendered yet.Screenshots
/scalingon the internal build, renderingapp/scaling/fixtures/synthetic.v2.json(invented values):Test plan
npm test,npm run typecheck,npm run lint,npm run build,npm run build:internal,npm run llms -- --checknpm run scaling:check -- app/scaling/fixtures/synthetic.v2.jsonpasses; aschemaVersion: 1file fails with the migration message/scalingrendered from the fixture on the internal buildConsolidated
This PR now also carries #195 (ceilings,
deriveBinding, guardrails, stricter validator rules). Commits are unchanged; review them in order.