Repository navigation
fix(octane): drop stale hydrate attribute probe from the scalar style fast path - #1283
Merged
Merged
Conversation
… fast path #1282 removed `hydrateAttributeProbe` along with the side-render capture it served, deleting this exact guard from `nativePresentationBinding`. #1270, branched earlier, copied that guard into its new scalar-literal fast path in `nativeStyleBinding`. Both merged, leaving main referencing an undefined name: `tsc` fails (TS2304), the octane build and every package pack fail, and in dev the fast path throws `ReferenceError: hydrateAttributeProbe is not defined` (#1270's own style-transaction and signal-binding tests fail). Drop the guard to match #1282's removal in the general path. Co-Authored-By: Claude Opus 5.5 <[email protected]>
trueadm
marked this pull request as ready for review
September 23, 2026 12:04
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
mainis broken at3249c9ad6. #1282 (merged 11:22) removedhydrateAttributeProbealong with the side-render Hydrate capture it served, and deleted the probe guard fromnativePresentationBinding. #1270 was branched before that and added a copy of the same guard to its new scalar-literal fast path innativeStyleBinding. Both PRs merged, soruntime.ts:1098now references a name that no longer exists:tscfails withTS2304: Cannot find name 'hydrateAttributeProbe', so the typecheck, octane build, package-pack, Lynx/Three compatibility and lint jobs all fail (every open PR is affected, e.g. fix(apollo-client): keep octane namespace tree-shakeable in getApolloContext #1275).ReferenceError: hydrateAttributeProbe is not defined. perf: drop the signal tax from ordinary attribute, text and style bindings #1270's ownstyle-transaction-rollbackandsignals-dom-bindingstests fail onmain.The fix deletes the guard, matching #1282's removal in the general path. The fast path now writes the scalar style directly, the same as the general path. The guard only existed in dev builds, so production output is unchanged.
Validation
pnpm format:check(scopedformat:files:checkonruntime.tspasses)pnpm typecheck: clean (fails onmainwith TS2304)pnpm test(not run in full)compiler/native-reads,compiler/signal-bindings,hydration/native-deferred-attribute-diagnostics,hydration/native-deferred-local-hook-diagnostics,hydration/split-template-consumers,signals-dom-bindings,style-transaction-rollback): 13 files, 462/462 across the dev and prod projects. Onmain,style-transaction-rollbackfails with theReferenceError.No new test: #1270's existing style tests already fail without this fix and pass with it. No changeset: the affected code is unreleased and covered by #1270's
signal-free-binding-writerschangeset.Provenance
agent-authored)🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Note
Low Risk
Dev-only diagnostic removal that restores a build broken by a dangling reference; production behavior for scalar styles is unchanged.
Overview
Repairs a merge regression in Octane’s scalar style literal fast path in
nativeStyleBinding: it removes a dev-only guard that threwPresentationAdoptionMisswhenhydrateAttributeProbepointed at a different document.That probe was deleted in #1282 from the general presentation path, but #1270’s fast path still referenced it, breaking
tscand causing a runtimeReferenceErrorin development. Scalar literal styles now go straight towriteScalarNativeStyle, consistent with the general binding path after #1282.Reviewed by Cursor Bugbot for commit e7186fe. Bugbot is set up for automated code reviews on this repo. Configure here.