Repository navigation
Conversation
domgan-oai
marked this pull request as ready for review
August 10, 2026 21:14
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.
Reviewed by Cursor Bugbot for commit 2266e6a. Configure here.
95 tasks done
5 of 6 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
Correctness and scope
constarray of at most 16 distinct string literals, referenced exactly once as an explicitly keyed@foriterable.eval, non-string values, holes, duplicates, oversized lists, dynamic iterables or keys,@empty, index/destructuring forms, spreads, refs, and effectful prop expressions.@switch, dynamic lists, and general loop-local hook warming remain outside this conservative slice.Production work
Same authored keyed-list fixture, production minification, real Chromium, interleaved baseline/candidate samples:
The 13 transition creators restore and preserve the existing async-composition ceiling; reducing that known creator-reuse residue is the separately tracked next phase. The target production bundle changes by +104 raw bytes / +13 gzip bytes / -48 Brotli bytes. The fixed 16-file compiler corpus, generic static/Suspense/hydration bundles, and production/development server output are byte-identical.
Validation
OCTANE_COMPILE_FROZEN_AST=1andOCTANE_COMPILE_ASSERT_LOC=1across development/production client and server fixture compiles.pnpm --config.verify-deps-before-run=false --config.enable-pre-post-scripts=false run typecheck.pnpm --config.verify-deps-before-run=false sync.git diff --check.Refs #673.
Provenance
agent-authored)Note
Medium Risk
Changes suspense/async discovery in the client compiler with a conservative static contract, but incorrect unrolling could start fetches too early or skip warming; mitigated by broad parallel-use and benchmark gates.
Overview
Client compile-time child warming can now statically unroll a narrow class of keyed
@forloops into the parent’s existing warm plan so independent async children start in the same discovery wave instead of waiting for the list to mount at runtime.Eligible lists are private module
constarrays of up to 16 distinct string literals, used exactly once as the loop iterable with key = item, plus statically decidable@if/@else ifarms and safe child props. The warm path never evaluates the iterable, keys, or effectful expressions; mutated, aliased,eval-touched, dynamic, or dependent-prop lists stay on the old opaque behavior. Server/universal compilation is unchanged.The async-composition benchmark dashboard now renders
ActivityPanel/InsightsPanelthroughDASHBOARD_PANELSand keyed@forso the gate exercises this path (fewer request waves, same network and transition atomicity expectations). Docs and a largeparallel-usekeyed-list suite cover hydration, guards, dependencies, and exclusion cases.Reviewed by Cursor Bugbot for commit 46bada4. Bugbot is set up for automated code reviews on this repo. Configure here.