Skip to content

fix(octane): drop isPending in the transition's own render (#1864) - #1911

Merged
trueadm merged 4 commits into
mainfrom
fix/transition-falling-edge
Oct 8, 2026
Merged

trueadm merged 4 commits into
mainfrom
fix/transition-falling-edge

Conversation

@trueadm

@trueadm trueadm commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

useTransition's isPending now falls in the render that commits the transition's own updates, as in React (#1864). That render used to be followed by a separate one.

React's transition lane carries setPending(false). Octane published the falling edge from a follow-up after the transition task's flush. That follow-up cost one extra render and one extra commit per transition, in the same task:

Case main This PR React 19.2.7
same component (PendingTabs) a pending, task, b pending, b idle a pending, task, b idle a pending, task, b idle
cross-component (PendingPanel) button pending, task, panel 1, button idle button pending, task, button idle, panel 1 button pending, task, button idle, panel 1
urgent takeover (start(() => set(1)); set(2)) button pending, panel 2, button idle, task button pending, panel 2, task, button idle button pending, panel 2, task, button idle
empty transition button pending, button idle, task button pending, task, button idle button pending, task, button idle
useOptimistic + update in one transition 0/1, task, 1/1, 1/1 0/1, task, 1/1 0/1, task, 1/1
sibling Suspense hold (cross-component) button pending button pending button pending

I collected the React column with a React 19.2.7 jsdom probe in the session scratchpad, using the same fixtures and a marker task posted before the click.

How

  • queueTransitionFall replaces afterTransitionFlush. Each transition's completion now settles in the drain that renders its work. For a synchronous callback that completion also includes the pending count, form status, and form resets. The task, flushSync, act(), and the discrete-event and View Transition flushes arm it.
  • An urgent flush that only takes over the waiting work does not arm it, so the falling edge keeps a task of its own, as React's transition lane does.
  • Carried hooks. A hook whose block renders in that drain shows isPending === false in that render (fallTransitionHook).
  • Hook-only blocks. A block whose only change is the falling edge renders after the drain's renders have decided their holds, joining the same commit (settleTransitionFalls). Its effects take a sequence reserved when the drain armed. They therefore commit as the transition's first update, where React dispatches setPending(false), not after the work it finishes (renderTransitionFall).
  • Holds. When a render holds a falling batch, isPending is raised again (cancelTransitionFall).
    • A render still on the stack re-cues after its attempt ends, unless the attempt's unwind restored it. Scheduling it from inside the render replayed it as a render-phase update with the new cells; the held benchmark control caught that.
    • A hook-only block never renders idle while its transition is held.
  • Cues first. When flushSync or act() renders a cue together with the transition it announces, the cue commits first. Its falling edge takes a later task, so the rising edge is never swallowed.

Changes

  • packages/octane/src/runtime.ts: the completion queue (TRANSITION_FALLS, ARMED_TRANSITION_FALLS) and its driver entries (armFalls, settleFalls, cancelFall). The drainQueue loop settles at its end, and splitTransitionCue routes post-settle renders to renderTransitionFall. The falling/cueEpoch fields are on the batch, tentative on the hook slot, and raised on the attempt. hasPendingWork counts waiting completions. afterTransitionFlush and TRANSITION_FOLLOWUPS are removed.
  • packages/octane/tests/transition-flush-task.test.ts:
    • The same-component and cross-component tests assert React's exact orders and fail on main.
    • New: an empty transition, an optimistic revert in the transition's commit, a sibling boundary that holds a same-component transition (where isPending must not commit idle), and another transition's suspended root that discards the falling edge's render. That last one is from Bugbot's review and fails without the second commit.
    • The urgent-takeover, rebase, async Action, sibling, and ancestor tests are pinned to exact orders.
    • The flushSync test now also asserts the later falling edge.
  • benchmarks/transition-hooks: controls for cycle, updater, held, and urgent; the work model; a README section.
  • docs/differences-from-react.md §Scheduler, the website summary, and a changeset.

Validation

  • targeted tests: vitest run --project octane over the 76 test files that use transitions, Actions, optimistic values, or form status: 2,557 pass. --project octane-prod over transition-flush-task and transitions: 87 pass.
  • pnpm typecheck:files packages/octane/src/runtime.ts packages/octane/tests/transition-flush-task.test.ts packages/octane/tests/_fixtures/transition-flush-task.tsrx: clean.
  • pnpm format:files on every changed file, and pnpm sync: no generated drift.
  • pnpm format:check, pnpm typecheck, pnpm test: not run repo-wide locally (load rule); CI covers them.
  • The tests fail for the intended reason. All 10 updated expectations fail on main before the runtime change. With the hold cancellation removed, the same-component and sibling-hold tests fail.

benchmarks/transition-hooks (OCTANE_TRANSITION_TIMING=0), per 64 cycles, main (385d6aba9) → this PR:

Scenario Renders Functions / arrays / objects / constructors Map gets
cycle 192 → 128 256 / 2,624 / 1,155 / 320 → 192 / 1,792 / 899 / 256 896 → 640
updater 192 → 128 192 / 2,624 / 1,152 / 320 → 128 / 1,792 / 896 / 256 896 → 640
held 320 → 320 768 / 5,376 / 1,664 / 962 → 704 / 5,376 / 1,728 / 962 1,793 → 1,793
urgent 256 → 192 256 / 2,688 / 1,280 / 320 → 192 / 1,856 / 1,024 / 256 960 → 704

held's +1 object per cycle is the journal snapshot of the isPending binding bag. The suspended attempt now renders the falling edge before the hold restores it, which is the work React does too. I attributed it per source line with an instrumented copy of the runner.

Bundle bytes (run-minimal.mjs, main → this PR; reported only since #1907):

Row raw gzip
root-static +49 +24
hooks-state +48 −8
suspense-transition +1,591 +576
binding-radix-vite +1,596 +582
binding-base-ui-esbuild +1,601 +595

An app without transitions pays only the drainQueue loop condition, the splitCue position argument, and hasPendingWork's check. The first cut was +2.1 kB for transition apps. I shrank it by:

  • keeping the cue epoch on the batch and dropping a per-hook counter;
  • using one paired array instead of four lists;
  • routing settle and cancel through the transition driver.

The second commit adds about 240 B for the discarded-root case below.

Perf review: fix/transition-falling-edge (385d6aba9..HEAD)

Scan: node scripts/perf-review-scan.mjs → 0 candidates.
Hot paths touched:

  • The end of each drainQueue pass: one optional TRANSITION_ROOT_DRIVER?.settleFalls() call, only once a transition has installed the driver. js-framework apps never install it.
  • splitTransitionCue: one comparison per drained block, under the same driver.
  • No BlockImpl/ScopeImpl fields. The new record fields (TransitionActionBatch, TransitionHookSlot, TransitionAttempt) each have a single literal allocation site with every key.
  • No new task poster or microtask hop. The per-transition follow-up microtask is gone.
# Severity Location Dimension Finding Required evidence Provided?
1 needs-evidence packages/octane/src/runtime.ts (completion queue) bytes +1.6 kB raw / ~+580 B gzip for transition apps bundle rows yes, above
2 note renderTransitionFall allocation one 3-slot array per falling-edge render, once per transition, not per node — —

Not checked: browser latency, because no Chromium Event Timing run was done.

Risk / follow-ups

  • A falling-edge-only block that sits after the transition's work in tree order still commits its effects first, because Octane orders sibling commits by update order. React uses tree order. The cross-component case where the button comes first matches React exactly.
  • When flushSync or act() drains a cue together with its transition, the falling edge moves to a later task. Before this PR it ran in a microtask after the flush. Tests that read isPending right after a flushSync'd click are unchanged.
  • When another transition's suspension holds the root, that pass's renders are discarded. A completion whose falling edge was among them now waits for the next task, which renders the edge with the discarded work.
  • Native signal Actions, and a Suspense boundary's release after a held promotion, still publish their falling edge separately.

Provenance

  • An agent produced this diff (agent-authored)

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Note

Medium Risk
Touches core transition scheduling, drain ordering, and Suspense hold interaction; behavior changes are broad but heavily tested and benchmark-pinned.

Overview
Aligns useTransition with React by clearing isPending in the same render/commit as the transition’s state updates (#1864), instead of a follow-up render after the transition task flush.

The runtime replaces post-flush follow-ups with a completion queue (queueTransitionFall, armTransitionFalls, settleTransitionFalls): the drain that renders transition work arms completions, hooks can show the falling edge in that render (fallTransitionHook), and blocks that only need idle commit via renderTransitionFall after holds are decided. Suspense holds re-raise pending (cancelTransitionFall); flushSync/act() still commit the rising cue first and defer the falling edge to a later task. hasPendingWork counts waiting completions; sync and async Actions use queueTransitionFall instead of afterTransitionFlush.

Tests, transition-hooks benchmarks (fewer renders on cycle/updater/urgent), and React-difference docs are updated for the new commit order.

Reviewed by Cursor Bugbot for commit 0bb1653. Bugbot is set up for automated code reviews on this repo. Configure here.

React's transition lane carries `setPending(false)` with the transition's
own updates, so `isPending` falls in the commit that shows them. Octane
published the falling edge from a follow-up after the transition task's
flush: a second render and commit in that task. A component holding both
`isPending` and the transition's state committed "b pending" and then
"b idle", and a separate button's "idle" committed after the panel its
transition updated.

A transition's completion now settles in the drain that renders its work
(queueTransitionFall / armTransitionFalls / settleTransitionFalls). A hook
whose block renders in that drain shows the falling edge in that render. A
hook whose block has nothing queued publishes it once the drain's renders
have decided their holds, and that render joins the same commit, ordered as
the transition's first update. A render that suspends into a hold of the
batch raises isPending again (cancelTransitionFall); a render still on the
stack re-cues after its attempt, unless the attempt's unwind restored it.
A synchronous transition's pending count, form status, and form resets
settle in the same place, so a useOptimistic value reverts in that commit.

The falling edge is transition work: an urgent update that takes over the
transition's components, or a transition that updates nothing, leaves it
for the task. A flushSync or act() drain that renders a cue together with
its transition commits the cue first and leaves the edge a later task.

transition-hooks: cycle/updater 3 -> 2 renders per cycle, urgent 4 -> 3.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent fix PR: bug fix labels Oct 8, 2026
@trueadm
trueadm marked this pull request as ready for review October 8, 2026 16:11

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Skipped drain swallows falling edge
    • Modified publish() to not short-circuit when isPending was tentatively pre-set by fallTransitionHook: when wasTentative is true and pending is false, it now proceeds to scheduleRender even though isPending already matches, ensuring the falling edge renders when the drain skips the block.

Create PR

Or push these changes by commenting:

@cursor push c3c58228da
Preview (c3c58228da)
diff --git a/packages/octane/src/runtime.ts b/packages/octane/src/runtime.ts
--- a/packages/octane/src/runtime.ts
+++ b/packages/octane/src/runtime.ts
@@ -44291,9 +44291,17 @@
 				if (!block.disposed) runTransition(fn, hook);
 			},
 			publish: (pending) => {
+				const wasTentative = hook.tentative;
 				hook.tentative = false;
-				if (hook.isPending === pending || block.disposed) return;
-				hook.isPending = pending;
+				if (block.disposed) return;
+				if (hook.isPending === pending) {
+					// A tentative falling edge must still schedule a render: the drain
+					// may have skipped the block (aborted root, retired subtree, hidden
+					// boundary), so the pre-set value was never rendered.
+					if (!wasTentative || pending) return;
+				} else {
+					hook.isPending = pending;
+				}
 				TRANSITION_LISTENER_PUBLISH_DEPTH++;
 				try {
 					if (typeof __OCTANE_PROFILE_ENABLED__ !== 'undefined' && __OCTANE_PROFILE_ENABLED__)

You can send follow-ups to the cloud agent here.

Reviewed by Cursor Bugbot for commit bede4dc. Configure here.

Comment thread packages/octane/src/runtime.ts Resolved
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Benchmark report

  • 🔴 bundle-size: 48 value(s) increased
  • 🔴 bundle-reachability: 70 value(s) increased

Compares 7c780b036, the merge commit's first parent with e49ef8a56 on the same runner. Any increase in a js-framework work counter fails this check; byte changes are a report. Wall time is a report: base and head samples alternate in one browser, and an operation is called slower or faster only when the 95% confidence interval of its ratio excludes ±3%. Workflow run

js-framework: 1k/10k row operations

All 20 timed operations (20 without a verdict)
target operation base ms head ms head/base 95% CI
octane-tsrx run 6.217 6.542 +1.0% −5.7% … +10.6% ⚪ within noise
octane-tsrx replace 12.442 13.417 +9.2% −2.1% … +43.9% ⚪ within noise
octane-tsrx add 4.200 5.175 −0.6% −17.7% … +8.4% ⚪ within noise
octane-tsrx update 0.214 0.240 +1.9% −5.9% … +22.5% ⚪ within noise
octane-tsrx select 0.013 0.015 −2.6% −9.8% … +8.8% ⚪ within noise
octane-tsrx swap 0.067 0.065 −5.3% −32.8% … +2.8% ⚪ within noise
octane-tsrx remove 0.041 0.038 −4.4% −29.8% … +8.2% ⚪ within noise
octane-tsrx runlots 69.908 67.242 +0.5% −6.2% … +30.3% ⚪ within noise
octane-tsrx select_lots 0.014 0.015 +0.2% −2.3% … +4.8% ⚪ within noise
octane-tsrx clear 76.750 71.892 +0.6% −18.6% … +7.4% ⚪ within noise
octane-jsx run 7.617 8.383 −2.3% −20.5% … +24.0% ⚪ within noise
octane-jsx replace 17.450 15.658 −3.9% −21.0% … +1.4% ⚪ within noise
octane-jsx add 5.450 8.100 +16.5% +1.1% … +128.8% ⚪ within noise
octane-jsx update 0.481 0.478 −2.4% −19.9% … +22.1% ⚪ within noise
octane-jsx select 0.330 0.271 −12.5% −25.4% … −1.9% ⚪ within noise
octane-jsx swap 0.383 0.437 +1.9% −5.5% … +32.1% ⚪ within noise
octane-jsx remove 0.337 0.314 +1.2% −7.8% … +9.9% ⚪ within noise
octane-jsx runlots 65.167 76.625 +3.0% +0.3% … +14.0% ⚪ within noise
octane-jsx select_lots 7.196 6.413 −14.1% −27.1% … +6.9% ⚪ within noise
octane-jsx clear 79.758 82.275 +0.7% −4.8% … +10.6% ⚪ within noise

All 64 work counters are unchanged.

Application bundle size (bytes)

target metric base head Δ
octane-tsrx js_raw 113,220 113,268 +48 (+0.0%) 🔴
octane-tsrx js_gzip 36,983 37,021 +38 (+0.1%) 🔴
octane-tsrx js_brotli 32,771 32,775 +4 (+0.0%) 🔴
octane-tsrx app_gzip 2,334 2,336 +2 (+0.1%) 🔴
octane-tsrx app_brotli 2,033 2,034 +1 (+0.0%) 🔴
octane-tsrx fw_raw 106,274 106,322 +48 (+0.0%) 🔴
octane-tsrx fw_gzip 34,649 34,685 +36 (+0.1%) 🔴
octane-tsrx fw_brotli 30,738 30,741 +3 (+0.0%) 🔴
octane-tsrx todo_js_raw 121,609 121,657 +48 (+0.0%) 🔴
octane-tsrx todo_js_gzip 39,813 39,853 +40 (+0.1%) 🔴
octane-tsrx todo_js_brotli 35,055 35,060 +5 (+0.0%) 🔴
octane-tsrx todo_app_gzip 2,220 2,219 −1 (−0.0%) 🟢
octane-tsrx todo_app_brotli 1,883 1,882 −1 (−0.1%) 🟢
octane-tsrx todo_fw_raw 116,991 117,039 +48 (+0.0%) 🔴
octane-tsrx todo_fw_gzip 37,593 37,634 +41 (+0.1%) 🔴
octane-tsrx todo_fw_brotli 33,172 33,178 +6 (+0.0%) 🔴
octane-tsrx chat_js_raw 120,358 120,406 +48 (+0.0%) 🔴
octane-tsrx chat_js_gzip 39,630 39,658 +28 (+0.1%) 🔴
octane-tsrx chat_js_brotli 34,957 35,001 +44 (+0.1%) 🔴
octane-tsrx chat_app_brotli 2,387 2,388 +1 (+0.0%) 🔴
octane-tsrx chat_fw_raw 114,593 114,641 +48 (+0.0%) 🔴
octane-tsrx chat_fw_gzip 36,916 36,944 +28 (+0.1%) 🔴
octane-tsrx chat_fw_brotli 32,570 32,613 +43 (+0.1%) 🔴
octane-tsrx weather_js_raw 156,963 157,011 +48 (+0.0%) 🔴
octane-tsrx weather_js_gzip 51,036 51,057 +21 (+0.0%) 🔴
octane-tsrx weather_js_brotli 44,536 44,587 +51 (+0.1%) 🔴
octane-tsrx weather_app_gzip 7,871 7,872 +1 (+0.0%) 🔴
octane-tsrx weather_app_brotli 6,639 6,663 +24 (+0.4%) 🔴
octane-tsrx weather_fw_raw 134,809 134,857 +48 (+0.0%) 🔴
octane-tsrx weather_fw_gzip 43,165 43,185 +20 (+0.0%) 🔴
octane-tsrx weather_fw_brotli 37,897 37,924 +27 (+0.1%) 🔴
octane-tsrx bindings_js_raw 689,017 690,612 +1,595 (+0.2%) 🔴
octane-tsrx bindings_js_gzip 225,199 225,751 +552 (+0.2%) 🔴
octane-tsrx bindings_js_brotli 191,349 191,847 +498 (+0.3%) 🔴
octane-tsrx bindings_app_gzip 115,667 115,666 −1 (−0.0%) 🟢
octane-tsrx bindings_app_brotli 96,221 96,169 −52 (−0.1%) 🟢
octane-tsrx bindings_fw_raw 341,379 342,974 +1,595 (+0.5%) 🔴
octane-tsrx bindings_fw_gzip 109,532 110,085 +553 (+0.5%) 🔴
octane-tsrx bindings_fw_brotli 95,128 95,678 +550 (+0.6%) 🔴
octane-tsrx full_fw_raw 569,205 570,837 +1,632 (+0.3%) 🔴
octane-tsrx full_fw_gzip 171,576 172,263 +687 (+0.4%) 🔴
octane-tsrx full_fw_brotli 144,295 144,782 +487 (+0.3%) 🔴
octane-jsx js_raw 187,797 187,845 +48 (+0.0%) 🔴
octane-jsx js_gzip 59,639 59,661 +22 (+0.0%) 🔴
octane-jsx js_brotli 51,875 51,917 +42 (+0.1%) 🔴
octane-jsx app_gzip 2,858 2,859 +1 (+0.0%) 🔴
octane-jsx app_brotli 2,414 2,407 −7 (−0.3%) 🟢
octane-jsx fw_raw 179,532 179,580 +48 (+0.0%) 🔴
octane-jsx fw_gzip 56,781 56,802 +21 (+0.0%) 🔴
octane-jsx fw_brotli 49,461 49,510 +49 (+0.1%) 🔴
octane-jsx full_fw_raw 569,205 570,837 +1,632 (+0.3%) 🔴
octane-jsx full_fw_gzip 171,576 172,263 +687 (+0.4%) 🔴
octane-jsx full_fw_brotli 144,295 144,782 +487 (+0.3%) 🔴

7 other measured values are unchanged.

Public-import reachability bundles (bytes)

target metric base head Δ
cli-spa-starter raw 102,268 102,316 +48 (+0.0%) 🔴
cli-spa-starter gzip 34,128 34,145 +17 (+0.0%) 🔴
cli-spa-starter brotli 29,966 30,063 +97 (+0.3%) 🔴
root-static-specialized raw 72,902 72,950 +48 (+0.1%) 🔴
root-static-specialized gzip 23,981 23,998 +17 (+0.1%) 🔴
root-static-specialized brotli 21,432 21,453 +21 (+0.1%) 🔴
root-chained-jsx raw 74,779 74,827 +48 (+0.1%) 🔴
root-chained-jsx gzip 24,466 24,488 +22 (+0.1%) 🔴
root-chained-jsx brotli 21,942 21,900 −42 (−0.2%) 🟢
root-static raw 165,614 165,663 +49 (+0.0%) 🔴
root-static gzip 52,393 52,417 +24 (+0.0%) 🔴
root-static brotli 45,677 45,657 −20 (−0.0%) 🟢
root-static-local raw 72,901 72,949 +48 (+0.1%) 🔴
root-static-local gzip 23,967 23,984 +17 (+0.1%) 🔴
root-static-local brotli 21,440 21,458 +18 (+0.1%) 🔴
root-callback-local raw 74,805 74,853 +48 (+0.1%) 🔴
root-callback-local gzip 24,462 24,498 +36 (+0.1%) 🔴
root-callback-local brotli 21,924 21,970 +46 (+0.2%) 🔴
hooks-state raw 84,623 84,671 +48 (+0.1%) 🔴
hooks-state gzip 27,934 27,926 −8 (−0.0%) 🟢
hooks-state brotli 24,866 24,903 +37 (+0.1%) 🔴
prop-attributes raw 84,876 84,924 +48 (+0.1%) 🔴
prop-attributes gzip 27,921 27,939 +18 (+0.1%) 🔴
prop-attributes brotli 24,908 24,915 +7 (+0.0%) 🔴
context raw 96,808 96,856 +48 (+0.0%) 🔴
context gzip 31,604 31,625 +21 (+0.1%) 🔴
context brotli 28,100 28,135 +35 (+0.1%) 🔴
hydrate-root raw 138,275 138,323 +48 (+0.0%) 🔴
hydrate-root gzip 44,326 44,371 +45 (+0.1%) 🔴
hydrate-root brotli 38,828 38,877 +49 (+0.1%) 🔴
deferred-hydration raw 221,591 221,680 +89 (+0.0%) 🔴
deferred-hydration gzip 69,877 69,935 +58 (+0.1%) 🔴
deferred-hydration brotli 60,248 60,307 +59 (+0.1%) 🔴
hydrate-frame raw 366,210 366,260 +50 (+0.0%) 🔴
hydrate-frame gzip 113,679 113,719 +40 (+0.0%) 🔴
hydrate-frame brotli 97,167 97,245 +78 (+0.1%) 🔴
suspense-transition raw 141,911 143,502 +1,591 (+1.1%) 🔴
suspense-transition gzip 44,931 45,507 +576 (+1.3%) 🔴
suspense-transition brotli 39,430 39,940 +510 (+1.3%) 🔴
component-owned-effects raw 77,264 77,310 +46 (+0.1%) 🔴
component-owned-effects gzip 25,301 25,317 +16 (+0.1%) 🔴
component-owned-effects brotli 22,604 22,629 +25 (+0.1%) 🔴
binding-hooks raw 83,121 83,169 +48 (+0.1%) 🔴
binding-hooks gzip 27,556 27,586 +30 (+0.1%) 🔴
binding-hooks brotli 24,641 24,600 −41 (−0.2%) 🟢
binding-base-ui-vite raw 199,921 201,517 +1,596 (+0.8%) 🔴
binding-base-ui-vite gzip 62,906 63,514 +608 (+1.0%) 🔴
binding-base-ui-vite brotli 54,694 55,189 +495 (+0.9%) 🔴
binding-base-ui-esbuild raw 215,452 217,053 +1,601 (+0.7%) 🔴
binding-base-ui-esbuild gzip 69,858 70,453 +595 (+0.9%) 🔴
binding-base-ui-esbuild brotli 60,590 61,212 +622 (+1.0%) 🔴
binding-radix-vite raw 201,993 203,589 +1,596 (+0.8%) 🔴
binding-radix-vite gzip 63,522 64,104 +582 (+0.9%) 🔴
binding-radix-vite brotli 55,329 55,830 +501 (+0.9%) 🔴
binding-radix-esbuild raw 217,313 218,914 +1,601 (+0.7%) 🔴
binding-radix-esbuild gzip 70,456 71,048 +592 (+0.8%) 🔴
binding-radix-esbuild brotli 61,318 61,721 +403 (+0.7%) 🔴
binding-mantine-hooks-vite raw 86,717 86,765 +48 (+0.1%) 🔴
binding-mantine-hooks-vite gzip 28,533 28,562 +29 (+0.1%) 🔴
binding-mantine-hooks-vite brotli 25,450 25,516 +66 (+0.3%) 🔴
binding-mantine-hooks-esbuild raw 91,096 91,148 +52 (+0.1%) 🔴
binding-mantine-hooks-esbuild gzip 30,692 30,728 +36 (+0.1%) 🔴
binding-mantine-hooks-esbuild brotli 27,370 27,360 −10 (−0.0%) 🟢
binding-apollo-client-vite raw 342,410 344,009 +1,599 (+0.5%) 🔴
binding-apollo-client-vite gzip 105,204 105,815 +611 (+0.6%) 🔴
binding-apollo-client-vite brotli 91,751 92,295 +544 (+0.6%) 🔴
binding-apollo-client-esbuild raw 365,633 367,240 +1,607 (+0.4%) 🔴
binding-apollo-client-esbuild gzip 116,225 116,790 +565 (+0.5%) 🔴
binding-apollo-client-esbuild brotli 101,358 101,930 +572 (+0.6%) 🔴
binding-usehooks-ts-vite raw 87,487 87,535 +48 (+0.1%) 🔴
binding-usehooks-ts-vite gzip 28,772 28,789 +17 (+0.1%) 🔴
binding-usehooks-ts-vite brotli 25,707 25,727 +20 (+0.1%) 🔴
binding-usehooks-ts-esbuild raw 91,870 91,922 +52 (+0.1%) 🔴
binding-usehooks-ts-esbuild gzip 30,951 30,978 +27 (+0.1%) 🔴
binding-usehooks-ts-esbuild brotli 27,582 27,658 +76 (+0.3%) 🔴

36 other measured values are unchanged.

…iscards it

A suspended root rolls back every render of its drain, including a block
that already showed isPending's falling edge for another transition, and
it skips that block's queued render. The hook then read idle while the
screen kept the pending cue until an unrelated render. Such a completion
now waits for the next task, which renders the edge with the work the
root discarded.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
octane-website 0bb1653 Commit Preview URL

Branch Preview URL
Oct 08 2026, 05:59 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
octane-website-mcp 0bb1653 Commit Preview URL

Branch Preview URL
Oct 08 2026, 06:01 PM

trueadm and others added 2 commits October 8, 2026 18:41
The profile build records `transition-pending` when publish() schedules
isPending's falling edge. A hook whose block already renders the
transition's work shows the edge in that render without publishing, so its
render reported no cause. Record it where the edge is applied, with the
hook's profile-only source slot.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@trueadm
trueadm merged commit 47e030e into main Oct 8, 2026
56 of 59 checks passed
@trueadm
trueadm deleted the fix/transition-falling-edge branch October 8, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-authored Diff or issue body substantially produced by an AI agent fix PR: bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant