Repository navigation
test(signals): gate a flaky #4906 test; chore(size): re-record four scenarios over their caps - #5241
Conversation
Since #4985, h, html and element version on their own, so a core release leaves them at a version already on npm. verify-release-artifacts.mjs dry-run-published every public package, and npm refuses even a dry run over a published version, so the 2.0.1 release failed before publishing anything. It now skips a published version the same way release.mjs does, with packageIsPublished shared from release-packages.mjs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
…ding on it retryReaches counted a dep that is the source itself as a path even after that source settled, so settleFamily and the re-park sweep in recompute kept a settled derive node in a reader's pending sources. With an optimistic store over one async memo and a slower sibling memo whose re-ask answers unchanged, the reader stayed pending and the action's transaction never landed. A direct link now counts only while the source is pending. Claude-Session: https://claude.ai/code/session_01CP9T3j2CTCEPyTS2bcKsBu
# Conflicts: # packages/signals/docs/RULES-INDEX.md
…#5170) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMpyUtA1ZFwzKmr1sg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMpyUtA1ZFwzKmr1sg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMpyUtA1ZFwzKmr1sg
…tream The top-level abort wrapper for streamed results matched any async iterable, so a decoded ReadableStream (which is one in Node and Chrome) was replaced by a plain iterable and lost getReader/pipeTo/tee. Leave a ReadableStream out of that check; it passes through as it already does when nested. Test shape from #5175. Co-authored-by: Marve10s <igrimanigroman@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMpyUtA1ZFwzKmr1sg
The instanceof check with its typeof guard cost +59 B minified on every server-function page and put three page scenarios over their caps. A decoded ReadableStream is told apart from an async generator's result by its getReader method. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMpyUtA1ZFwzKmr1sg
Send `,` in one header write when the joined keys are only whitespace, and digest `X-Revalidate` with empty keys filtered, so an empty declaration reads as `[]` on the outcome instead of `[""]` or `["", ""]`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
…hing it The 2.0.4 publish stopped at `gh run watch`: `gh workflow run` printed the new run's URL, and watching it one second later returned 404 because the run was not readable yet. Poll `gh run view` until it resolves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
The 2.0.4 re-run got past the run lookup, then `gh run watch` failed on the run's jobs (HTTP 404) before GitHub had created them. Poll `gh run view --json status,conclusion` until the run completes, retrying failed reads, and check the conclusion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
…e loading The re-park prune in recompute kept any carried source still flagged STATUS_PENDING, on the assumption that its own settle walk is still to come. A source disposed while loading keeps that flag but never lands, so no walk comes. When a reader parked on an async memo whose owner then re-ran in the same hold, disposing it and creating a replacement that failed, the reader stayed pending on the disposed memo: the hold never landed and its staged error never reached the boundary. A disposed source is now dropped whatever its status, as retryReaches and holdsOn already treat a disposed node as holding nothing (F-3).
After the 11-24 fix batch and 2.0.4, six scenarios sat over their brotli caps with 9-14 B of minified allowance left (warnings on main, but the next ~10 B client fix would fail the gate). Caps move to CI's measure on 5420b4a + 10 B and recorded minified resets to the measure. No floors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
Same flag as the web server lane (#5157). In #5141's fork runs it took the signals lane from one benchmark varying by more than 5% across fresh runners to none, and #4906's omit ownKeys -63% reads 226k vs 235k instructions pinned (673k vs 237k unpinned). Benchmark mode only: the test suite runs in worker threads, which reject V8 flags in execArgv. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
After #4906, #5209 and #5218, until/refresh, base server components and live server components sat 5-15 B brotli over their caps, so the size gate failed on every PR. Caps move to CI's measure on main @ 50a4bfd + 10 B and recorded minified resets to the measure. The two page scenarios are frozen floors (floor-caps.json). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
… 20 ms timer The test checked the marks after three settle() ticks while the action waited on a 20 ms timer. On a loaded CI machine the ticks can outlast the timer, so the action landed first and the check saw [false, false, false] (failed on #5230's CI). The action now waits on a gate the test releases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
|
Size (brotli, eager entry chunk)
Bundled with Rolldown (what Vite ships), brotli q11, decimal KB. A scenario fails only when it is over its brotli cap and its minified size is more than 20 B over the minified recorded with the cap; over the cap within that allowance is brotli layout noise and passes with a warning. Caps and their recorded minified in |
Coverage Report for CI Build 45983374879Warning Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes. Coverage remained the same at 79.815%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Merging this PR will degrade performance by 12.42%1 warning
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
After #5221, #5225, #5228, #5235 and #5236, until/refresh, compiled base server components, base + router and live + router sat 6-92 B brotli over their caps. Caps move to CI's measure on main @ f7b6b9c + 10 B and recorded minified resets to the measure. No floors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
Two small changes, neither touching source code.
1. Flaky test from #4906
affects(list) marks the store it holds, through every holderchecks the pending marks after threesettle()ticks while the action waits on a 20 ms timer. On a loaded CI machine the three zero-delay ticks can take longer than 20 ms, so the action lands before the first check and the check sees[false, false, false]. That is how it failed on #5230's CI, a PR that touches onlypackages/web.The action now waits on a gate that the test releases after the first check.
expected [ false, false, false ] to deeply equal [ true, true, true ]).2. Size re-record
After #5221, #5225, #5228, #5235 and #5236, four scenarios sit over their brotli caps on main, and the size gate fails on every PR:
The measurements come from CI size job 140452073488 on this PR at 94568d1, which is main @ f7b6b9c plus the test change. As before, each cap is set to the measure + 10 B, rounded up to 0.01 KB, and the recorded minified is reset to the measure. Each change has a ledger line. None of the four are floors.
🤖 Generated with Claude Code
https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC