Repository navigation
fix(bindings): classify production bundle side effects - #637
Merged
domgan-oai merged 1 commit intoAug 8, 2026
Merged
Conversation
domgan-oai
marked this pull request as ready for review
August 8, 2026 00:56
trueadm
added a commit
that referenced
this pull request
Aug 8, 2026
Regenerate lockfile-derived parity/evals records and re-append the svg-dashboard ratio guards after the js-framework DOM-metric removal (#636) and bundle side-effect guards (#637) rewrote ratios.json. Co-Authored-By: Claude Fable 5 <[email protected]>
5 tasks done
57 tasks done
jonkwheeler
pushed a commit
to jonkwheeler/octane
that referenced
this pull request
Aug 8, 2026
jonkwheeler
pushed a commit
to jonkwheeler/octane
that referenced
this pull request
Aug 8, 2026
jonkwheeler
pushed a commit
to jonkwheeler/octane
that referenced
this pull request
Aug 8, 2026
jonkwheeler
pushed a commit
to jonkwheeler/octane
that referenced
this pull request
Aug 8, 2026
jonkwheeler
pushed a commit
to jonkwheeler/octane
that referenced
this pull request
Aug 8, 2026
jonkwheeler
pushed a commit
to jonkwheeler/octane
that referenced
this pull request
Aug 8, 2026
leonidaz
pushed a commit
that referenced
this pull request
Aug 9, 2026
* feat: add Solana React binding * refactor(solana-react): stabilize wallet snapshots * fix(solana-react): address preflight review findings * chore(evals): refresh corpus lockfile hashes * Address PR review feedback (#387) - version reactive client snapshots - normalize omitted query options compiler slots * style(solana): format hook-slot fixes * fix(solana): defer reactive subscriptions to consumers * feat(playground): showcase solana client context * fix(solana-react): stabilize derived hook slots * chore(evals): refresh solana playground digest * fix(solana-react): replace clients during render * chore: refresh package inventory * chore: refresh binding parity gaps * chore: refresh binding status inventory * fix(solana-react): keep null request queries idle * style(solana-react): format null query guard * fix(ci): retain trusted Octane peer resolution * fix(solana-react): validate capabilities before cancellation * fix(ci): stabilize merged RainbowKit hydration checks * chore(solana-react): refresh package inventory * fix(solana-react): make package tests cwd-independent (#387) * fix(solana-react): stabilize idle refetch * chore(solana-react): refresh parity gap index * chore(solana-react): refresh bindings status * chore(solana-react): refresh merged inventories * fix(solana-react): treat superseded sign failures as cancellation Check active generation and context before wrapping sign errors as signing-failed. Co-authored-by: Cursor <[email protected]> * fix(website): list solana-react once in Web3 bindings catalog Remove duplicate @octanejs/solana-react entry from AI/data section; Web3 is the correct category per Bugbot review. Co-authored-by: Cursor <[email protected]> * chore(ci): refresh react-parity evidence after main merge Regenerate lockfile hashes and inventory for solana. * perf: add minimal-import bundle reachability budgets (#631) * perf: add minimal-import bundle reachability budgets * fix: register reachability benchmark with MCP server * fix: preserve side-effect-only bootstrap entrypoints (#633) * perf: cache stable renderable regions and prune sync warming (#634) * perf: cache stable renderable regions and prune sync warming * fix: preserve uppercase-prefixed custom hook state * fix(benchmarks): remove js-framework DOM node metrics (#636) * fix(bindings): classify production bundle side effects (#637) * feat: enable React Compiler across framework benchmarks (#639) * perf: reduce core runtime and compiled application bundles (#638) * chore(ci): refresh react-parity evidence after main merge Regenerate lockfile hashes and inventory for solana. * fix(solana-react): stabilize null-source query result identity Cache the idle useRequestQuery result object and update it in place when the underlying TanStack result changes, preserving referential stability across parent re-renders. Co-authored-by: Cursor <[email protected]> * chore(ci): refresh inventories after main merge Keep generated package/binding inventory and eval corpus digests current after merging origin/main into the solana-react binding branch. Co-authored-by: Cursor <[email protected]> * feat(solana-react): add React parity evidence lanes Wire packages/solana-react into the generic react-parity:check path with a vendored @solana/[email protected] pin, pristine/adapted runtime lanes, and repo-authored type probes, while keeping Octane-only conformance outside parity ownership. Co-authored-by: Cursor <[email protected]> * fix(solana-react): expand pristine/adapted parity for query and types Address leonidaz feedback: run useRequestQuery in the pristine suite with per-file dispositions and omission/rename controls, adapt the overlapping cases, and replace repo-authored type probes with upstream __typetests__ lanes plus assertion-group inventories. Co-authored-by: Cursor <[email protected]> * fix(solana-react): prefer reactiveStore over send for Kit sources PendingRpcRequest duck-types expose both APIs; dispatch through reactiveStore().withSignal so getAbortSignal composition matches upstream. Co-authored-by: Cursor <[email protected]> * fix(solana-react): one-for-one adapted parity and expanded type lane Preserve every selected pristine runtime identity in the adapted suite, expand the pristine type lane across wallet/transaction/query typetests with machine-checkable dispositions, and reject thenable ClientProvider clients at mount. Co-authored-by: Cursor <[email protected]> * fix(solana-react): pin pristine-only typetests in type inventory Include every adapted and pristine-only upstream typetest in pristine-types.json so assertion-group drift is caught for wallet, signing, request, and deferred query artifacts. Co-authored-by: Cursor <[email protected]> * fix(ci): refresh vitest parity hashes and format solana-react audit Keep neighbor react-parity manifests aligned after vitest.config.js changed for solana-react lanes, and satisfy Prettier on the new audit file. Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Dominic Gannaway <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: domgan-oai <[email protected]>
leonidaz
pushed a commit
that referenced
this pull request
Aug 10, 2026
* docs(packaging): plan CommonJS package conditions * feat(packaging): add CommonJS graph builder * fix(packaging): parse CommonJS graphs with esbuild * feat(octane): publish CommonJS runtime entries * feat(bindings): publish CommonJS runtime graphs * test(packaging): exercise packed CommonJS consumers * chore(release): record CommonJS package conditions * test(packaging): run CommonJS tarball canary * test(packaging): compare ESM and CommonJS parity * fix(review): guard CommonJS output deletion * fix(review): reject lossy CommonJS transforms * feat(packaging): compile TSRX CommonJS graphs * perf(packaging): reuse TSRX compilation work * feat(packages): support callable CommonJS defaults * fix(packages): recognize TSRX CommonJS roots * perf: speed up server-rendered HTML escaping (#629) * perf: skip unchanged conditional keyed rows (#628) * perf: skip unchanged conditional keyed rows * fix: exclude Activity boundaries from keyed row memoization * fix(ci): prevent usehooks hydration timeout * fix(ci): refresh React parity evidence hashes * perf: reuse bounded keyed-reorder scratch storage (#630) * perf: add minimal-import bundle reachability budgets (#631) * perf: add minimal-import bundle reachability budgets * fix: register reachability benchmark with MCP server * fix: preserve side-effect-only bootstrap entrypoints (#633) * perf: cache stable renderable regions and prune sync warming (#634) * perf: cache stable renderable regions and prune sync warming * fix: preserve uppercase-prefixed custom hook state * fix(benchmarks): remove js-framework DOM node metrics (#636) * fix(bindings): classify production bundle side effects (#637) * feat: enable React Compiler across framework benchmarks (#639) * perf: reduce core runtime and compiled application bundles (#638) * Version Packages (#601) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(commonjs): fail closed on authored .tsrx modules Refuse compiling .tsrx into CommonJS packaging output so published packages keep source for consumers to compile. Co-authored-by: Cursor <[email protected]> * fix(commonjs): restore published require export conditions Re-apply the CommonJS require maps for octane and the binding packages after the main merge dropped them. Co-authored-by: Cursor <[email protected]> * fix(commonjs): order require before default and wire binding prepack Put import/require ahead of default in octane publishConfig.exports so Node does not always pick the ESM graph, and run build:cjs from prepack for the binding packages that advertise dist/cjs. Co-authored-by: Cursor <[email protected]> * fix(compiler): discover source packages without a CommonJS build require.resolve failed on prepack-only dist/cjs entries in CI, so Vite source discovery skipped Base UI and nested bindings. Fall back to the installed package manifest when the require target is missing. Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: domgan-oai <[email protected]> Co-authored-by: Dominic Gannaway <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Cursor <[email protected]>
This was referenced Sep 23, 2026
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
sideEffects: false.HTMLElement.prototype.focuspatch, and transition initialization with an explicit three-file side-effect allowlist and a reachable transition bootstrap.Validation
pnpm format:check(scopedpnpm format:files:checkpasses; the full-repository formatting sweep was not run).pnpm typecheck(all changed package files pass scopedpnpm typecheck:files; the full-repository typecheck was not run).pnpm test(all affected client and SSR package projects pass; the complete repository-wide suite was not run).pnpm exec vitest run --project aria --project aria-ssr --project base-ui --project base-ui-ssr --project floating-ui --project mantine-hooks --project mantine-hooks-ssr --project motion --project radix --project usehooks-ts --project usehooks-ts-ssr --maxWorkers=3 --reporter=dot --silent=passed-only— 867 tests passed across 135 files.node benchmarks/bench.mjs --quick --ratios bundle-reachability— 24 executable production-bundle scenarios and 72 passing raw/gzip/Brotli guards.pnpm install --offline --frozen-lockfile,pnpm changeset:check,pnpm test:markers:check,pnpm react-parity:validate, andpnpm sync.Risk / follow-ups
Provenance
agent-authored)Note
Medium Risk
Changes published package metadata and Aria's bootstrap wiring, which directly affects production bundle contents and browser initialization; regressions are heavily tested but consumer bundle graphs could still shift on upgrade.
Overview
Marks six reviewed Octane bindings (
base-ui,floating-ui,mantine-hooks,motion,radix,usehooks-ts) assideEffects: falseso production tree-shaking can drop unused exports.@octanejs/ariais different: it gets an explicitsideEffectsallowlist (root index,useFocusVisible,runAfterTransition) and a side-effect import ofrunAfterTransitionfrom the public barrel so focus/transition bootstrap still runs when only a narrow hook import is used.CI and benchmarks grow to lock this in: per-package esbuild/Vite production-bundle tests assert behavior plus that unrelated sibling modules are pruned; the bundle-reachability runner adds seven binding fixtures (Vite and esbuild each), committed byte budgets, 42 new
bundle-reachabilityratio guards, runtime verification (including Aria global listeners), andverifyBindingSideEffectsInventoryso reviewed bindings stay pure while packages like RainbowKit/Nuqs cannot be marked globally pure. Patch changesets cover all seven published bindings; bundle-size bench deps and lockfile audit hashes are refreshed.Reviewed by Cursor Bugbot for commit 723c278. Bugbot is set up for automated code reviews on this repo. Configure here.