Repository navigation
test(signals): pin the 3540 keyed-Show park re-derive at its target [1,2,2] as a known bug (#4417) - #4419
Conversation
…1,2,2] as a known bug (#4417) Co-authored-by: Cursor <[email protected]>
|
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 40905288483Coverage remained the same at 78.516%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Merging this PR will degrade performance by 11.08%2 warnings
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
What changed
Tests only — no source, no changeset.
packages/signals/tests/boundary-not-born-held-3540.test.ts: thestatic over latestandcallback over latestmatrix rows now assert the target mount counts[1, 2, 2]and run astest.fails. The other rows (on over latest, allcommittedrows) are unchanged and still pass.packages/web/test/loading-on-keyed-boundary-3540.spec.tsx: the same forshow-static-latestandshow-callback-latest.The mid-flight/landed snapshot assertions in those rows are untouched; the only thing failing is the mount count (
[1, 3, 3]received vs[1, 2, 2]expected), so thetest.failsguards exactly the bug.Known bug: #4417 — a keyed
Showonlatest()of a staged write mounts its child twice when the flush parks (regressed by #4393).Why
it.failsat[1, 2, 2]instead of pinning[1, 3, 3][1, 3, 3]is the wrong number per the maintainer ruling on #4417: the park re-derive (D-2) says nothing about discarding the provisional pass's output, andlatest()serves the staging on both runs, so the key is identical and one child should mount once. Pinning[1, 3, 3]would guard the bug. Withtest.failsat the target, the pin turns red-to-green when the in-place park re-derive lands (reader-seat rebuild S1, #4395) and alerts us if the number drifts anywhere else.Both files run as
N passed | 2 expected faillocally.Public API changes
None.