Skip to content

CLF-52 Harden chunked stat loader fallback#111

Merged
steve-the-edwards merged 1 commit into
mainfrom
sedwards/clf-52-chunked-stat-loader-fallback
Jun 3, 2026
Merged

CLF-52 Harden chunked stat loader fallback#111
steve-the-edwards merged 1 commit into
mainfrom
sedwards/clf-52-chunked-stat-loader-fallback

Conversation

@steve-the-edwards
Copy link
Copy Markdown
Collaborator

CLF-52 follow-up for TPB hosted chunked stats: chunk load failures could fall through to legacy stat JS and render false empty data when the report was actually chunked.

Summary:

  • Retries chunk JSON requests under per-request timeouts and keeps legacy fallback to the pre-manifest transport-unavailable path.
  • Routes chunk, timeout, and decode failures through report load-failure state.
  • Shows stat load failures on the built-in stat detail page instead of conflating them with empty stat data.
Additional context

The hosted TPB pilot stat root JS is intentionally empty when the stat is chunked. Replaying the hosted chunks locally merged 6,050 records, while simulating a missing chunk reproduced the false no-records state through the old legacy fallback.

@steve-the-edwards steve-the-edwards marked this pull request as ready for review June 3, 2026 15:23
@steve-the-edwards steve-the-edwards merged commit 104839a into main Jun 3, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants