• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

humanspeak / svelte-virtual-list / 28658431446
67%
main: 72%

Build:
Build:
LAST BUILD BRANCH: feat/165-center-align-scroll-to-offset
DEFAULT BRANCH: main
Ran 03 Jul 2026 11:46AM UTC
Jobs 1
Files 16
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Jul 2026 11:45AM UTC coverage: 66.935%. First build
28658431446

push

github

web-flow
refactor(virtual-list): remove the dead debounced measurement pipeline (#420)

Fixes #417

The #413 fix moved all measurement into a synchronous ResizeObserver
path; nothing has populated dirtyItems since, which left the entire
debounced pipeline unreachable:

- dirtyItems/dirtyItemsCount had no writers, so triggerHeightUpdate's
  guard never passed — the throttled body, its $effect, and the
  createAdvancedThrottledCallback machinery were dead
- updateHeight ran exactly once (the onMount post-hydration fallback)
  with heightChanges always empty; its only surviving effect was
  seeding the average estimate in environments where ResizeObserver
  never fires. Decision (a) from the issue: no non-RO fallback —
  ResizeObserver is the component's measurement mechanism and a
  universal baseline; without it the fallback never reached the
  manager's cache anyway (its callback discarded updatedHeightCache)
- the initialized-gated at-bottom correction living inside that
  callback dies with it — this resolves the at-bottom third of #416;
  end-stable-at-bottom behavior is owned by the anchor path's
  kind:'bottom' branch since #413

Deleted with their tests, per decision (b): heightCalculation.ts
(calculateAverageHeightDebounced's only caller was updateHeight),
calculateAverageHeight in virtualList.ts (only caller was
heightCalculation), and throttle.ts (only caller was
triggerHeightUpdate; not exported from the package). Component state
that existed solely for the pipeline (lastMeasuredIndex,
heightUpdateTimeout, isCalculatingHeight,
prevTotalHeightForScrollCorrection, HEIGHT_DEBOUNCE_MS) is gone, and
the stale architecture comments in the component header and CLAUDE.md
are updated.

Net -1,100 lines. Verified behavior-neutral: svelte-check clean, unit
tests 283 passed (the 43 removed tests covered only the deleted dead
utils), and the full Playwright suite identically green on chromium,
firefox, and webkit (204 passed / 0 failed — same counts as before the... (continued)

329 of 565 branches covered (58.23%)

Branch coverage included in aggregate %.

669 of 926 relevant lines covered (72.25%)

477.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 node-22 - 28658431446.1 03 Jul 2026 11:46AM UTC 16
66.93
GitHub Action Run
Source Files on build 28658431446
  • Tree
  • List 16
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28658431446
  • a21327c3 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc