Skip to content

chore: no chunk fallbacks - #106

Merged
evenstensberg merged 1 commit into
masterfrom
no-chunk-fallbacks
Aug 28, 2026
Merged

chore: no chunk fallbacks#106
evenstensberg merged 1 commit into
masterfrom
no-chunk-fallbacks

Conversation

@evenstensberg

Copy link
Copy Markdown
Member

Summary

A stats file written with stats: { chunks: false } still names the chunk ids on every module, so the app followed them into a chunk list that was not there and threw on the first lookup. The chunk lookups now fall back rather than assume: an id that leads nowhere is skipped, the fields a stats file may omit are filled in as it is read, and a chunk page for a chunk that is not in the file says so instead of throwing.

The README says the same for anyone who meets the error in an older build, along with the stats options this app reads.

Closes #34

What kind of change does this PR introduce?

bugfix/chore

Did you add tests for your changes?

N/A

Does this PR introduce a breaking change?

N/A

If relevant, what needs to be documented once your changes are merged or what have you already documented?

Yes

Use of AI

Claude + Even, claude did most of this work.

A stats file written with `stats: { chunks: false }` still names the chunk
ids on every module, so the app followed them into a chunk list that was
not there and threw on the first lookup. The chunk lookups now fall back
rather than assume: an id that leads nowhere is skipped, the fields a
stats file may omit are filled in as it is read, and a chunk page for a
chunk that is not in the file says so instead of throwing.

The README says the same for anyone who meets the error in an older
build, along with the stats options this app reads.

Closes #34

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@evenstensberg
evenstensberg merged commit b6a0265 into master Aug 28, 2026
5 checks passed
@evenstensberg
evenstensberg deleted the no-chunk-fallbacks branch August 28, 2026 11:54
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.

Cannot read property 'parents' of undefined when opening modules tab

1 participant