Repository navigation
test: pin Loading on after an action-held input change (#4605) - #4609
Conversation
A keyed optimistic list asked by `filter()`; an action guesses, yields, then refreshes; a `filter` write while the action is out is held with it (D-34, #4336). After everything rests, a second `filter` write with nothing in flight arms `<Loading on={filter()}>` and shows the fallback with that change's frame (F-5, D-15). Without `on` the shown boundary forwards and the change holds the old list until the answer (F-5). Current `next` already behaves this way, in dev and prod conditions and with both compilers: the issue's reported frames have the two cases swapped. These pins (the issue's web spec with asserted frames, plus a signals-only twin) keep it so. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0117BoWNSSgtemsSYsaX2hXE
|
Size (brotli, eager entry chunk)
|
Coverage Report for CI Build 41406190194Coverage remained the same at 78.205%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Merging this PR will degrade performance by 2.46%2 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 isn't caused by this PR. The PR only adds test files and changes no source, so it can't move any benchmark. The flagged benches, including "arrow in template", are the known noisy ones, and CodSpeed notes that base and head ran on different hardware. Generated by Claude Code |
Tests only. Refs #4605.
What
#4605 reports that after an input change was held by an action (D-34, #4336), a later input change with nothing in flight does not show
<Loading on={filter()}>'s fallback, while the same change withoutondoes.On current
nextthe two cases behave the other way round, which is what the rules ask for:on: the change arms the boundary and showsloading(F-5, D-15).on: the already shown boundary forwards, so the change keeps the old list until the answer lands (F-5).This holds in dev and prod conditions and with both compilers. The issue's reported frames look swapped between the two cases.
Tests
packages/web/test/loading-on-held-change-4605.spec.tsx: the issue's repro with its frames asserted for both cases.packages/signals/tests/loading-on-held-change-4605.test.ts: a signals-only version of the same scenario.No source changes, no size change.
Generated by Claude Code