Repository navigation
chore(signals): pin Sparkplug tiering in the signals bench lane - #5216
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
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
|
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 45776161779Coverage remained the same at 79.815%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Merging this PR will regress 5 benchmarks3 warnings
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
|
The red CodSpeed check is the one-time baseline shift this PR describes, not a code change. The PR touches only the signals bench config, and pinning Generated by Claude Code |
Summary
This extends #5157's
--always-sparkplugpin from theweb-serverlane to thesignalslane.@codspeed/core5.4.0 passes--no-optbut leaves Sparkplug tiering to V8, so some counts flip between two levels from run to run depending on what else ran in the lane.arrow in templatechanges by about 13% between runs of the same commit #5141's fork runs (6 fresh runners, first run of the lane), thesignalslane had 1 benchmark varying by more than 5% unpinned and 0 with--always-sparkplug.omitownKeys row (−63% on its CodSpeed report) is the same artifact. Unpinned, that bench reads 673k instructions against main's 237k. Pinned, it reads 226k against 235k.projection derive: write one NESTED field (reference)may still flip for another reason, since CodSpeed:arrow in templatechanges by about 13% between runs of the same commit #5141's pinned runs for it disagreed between rounds. Pinning doesn't make it worse.The two client lanes stay unpinned. In #5141, pinning made
replace-full: 1000 rowsvary by 4.6% (under 1% unpinned) and gave web-client-2 an outlier ontail, keyed by fn.The flag is set only in benchmark mode. The CodSpeed plugin runs benches in
forksand appends its own V8 flags toexecArgv. The test suite runs inthreads, and worker threads reject V8 flags inexecArgv(ERR_WORKER_INVALID_EXEC_ARGV), so the suite must not get it.This shifts the
signalslane's baselines once, so this PR's CodSpeed report will show those moves. It should land before #4906 re-measures.How did you test this change?
npx vitest bench --runwith a temporary bench that wroteprocess.execArgv: the bench worker's arguments include--always-sparkplug, next to CodSpeed's--interpreted-frames-native-stack --allow-natives-syntax. The temporary bench is not part of this PR.npx vitest runon three test files still runs in threads and passes (13 tests).Generated by Claude Code