CODE-067: subs.js reads an ODB failure as "no submodules"

Now
OPEN
Sev
LOW
Rep
///bee
Ask
gritzko
Rev
///bee#8cb69a0
See
BEE-026
See
CODE-042

Input

Context

index/subs.js:82-101 wraps the tree read in a bare catch (e) { return []; }, so a corrupt tree, an unreadable pack or a missing commit is indistinguishable from a repo without submodules: view/wtstat.js and stage.js quietly show and stage nothing. status.stageOf already carries a note for the same case. Found in the 2026-09-18 index review.

Goals

Return {mounts, err} and let the view say so, the way stageOf does.

WIP

Design decisions

TODOs

Blockers and bummers

Outcome