Repository navigation
ci: budget integrated producer and transition cue costs - #1901
Closed
domgan-oai wants to merge 5 commits into
Closed
domgan-oai wants to merge 5 commits into
domgan-oai wants to merge 5 commits into
Conversation
Budget-only raise for the companion fix that commits a pending cue apart from its own component's transition (octanejs#1864). Values come from run-minimal.mjs --write-budgets and run.mjs --write-budgets octane-tsrx octane-jsx on that branch merged with main 8444db8. Only the nine scenarios that start transitions move, by about +1.29 kB raw and +0.31 to +0.39 kB gzip; apps that never start a transition stay inside their existing budgets. Co-Authored-By: Claude Opus 5.5 <[email protected]>
octanejs#1888 now also marks retained transition updates its block already rendered, so a later split cue cannot expose a committed plain cell's base: about +128 raw and +45 gzip on the nine transition scenarios. Values from --write-budgets on octanejs#1888's head. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-cue # Conflicts: # benchmarks/bundle-size/minimal-budgets.json
…-cue # Conflicts: # benchmarks/bundle-size/app-budgets.json # benchmarks/bundle-size/jsx-budgets.json # benchmarks/bundle-size/minimal-budgets.json
domgan-oai
marked this pull request as ready for review
October 8, 2026 14:23
This was referenced Oct 8, 2026
3 of 4 tasks
8 of 19 tasks
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
Update bundle ceilings for native producer pacing (#1875) combined with the split pending-cue implementation already landed in #1888. #1891 measured the producer change before #1888; #1887 measured #1888 without the producer change. The integrated build exceeds 18 of those combined ceilings. This PR changes only measured budget values, following the separate-budget policy in
CONTRIBUTING.md.Why
#1875 retains the shared host-task admission and approximately 5 ms producer budget while preserving #1888's previous-state pending cue. Its integration places cue rendering on the transition root capability so native-only readers do not call missing transition methods or retain offscreen rendering. The combined code changes production compression and reachability compared with either earlier budget measurement. These are measured allowances for that reviewed implementation, not new runtime behavior.
Changes
Retain every ceiling from #1887 and raise only the 18 metrics whose measured value exceeds it. Apply the repository's existing headroom: 32 bytes for raw/gzip, 256 for Brotli. The largest additional allowance is
hydrate-frameraw: 365,796 → 366,136, for an observed 366,104 bytes. Its source delta against main is +1,584 raw and +590 gzip; most of that producer cost was already budgeted in #1891.The integrated build also allows a 37-byte downward Brotli ratchet for
binding-base-ui-esbuild; that reduction belongs in the implementation PR. No runtime, tests, workflow gates, or headroom policy changes are included here.Validation
8b0be53398c18d72c8b924e234a1e9b4b7364bf7, compared with main90a57d820357519902465d9864b5f60af7a9168d, from the pinned CI benchmark artifact.f1560aae0786f17a2ba4d4b85818a3740f2a1c7dreports identical bundle and reachability measurements in its independent run.git diff --checkpass.pnpm syncwas attempted but stops at unavailabletypescript-native/package.json; full workspace checks require the pinned CI toolchain.Risk / follow-ups
This builds on the budget-only #1887. Merge #1887 first, then this PR before #1875 and #1877. Until #1887 lands, its budget changes are also visible in this branch. Raised unused headroom can make other feature PRs fail their downward ratchets, so keep the budget and implementation merges together. #1875/#1877 will be checked again with these ceilings and their required reductions.
The producer budget cannot interrupt an expensive callback or commit. The implementation's separate timing evidence is in #1875; this PR makes no new performance claim.
Provenance
agent-authored)Codex task · host
com-79386Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Note
Low Risk
JSON budget ceiling updates only; no production code, tests, or CI gate logic changes.
Overview
Raises bundle size ceilings in
minimal-budgets.jsonandapp-budgets.jsonso CI matches measured output from the integrated native producer pacing and split pending-cue work—not new runtime behavior.Only metrics that exceeded the prior caps (mostly #1887) are bumped, using the repo’s usual headroom (+32 raw/gzip, +256 brotli where applicable). Affected areas include hydration (
hydrate-frame,hydrate-root,suspense-transition), several binding scenarios (base-ui, radix, apollo, mantine-hooks), weather / bindings app totals inapp-budgets.json, and a small chat framework gzip allowance.Reviewed by Cursor Bugbot for commit 4f32787. Bugbot is set up for automated code reviews on this repo. Configure here.