row_to_approval matched only apply_commit + spawn, so any approvals row with kind=init_config (added by 80dd5bb's two-step spawn) failed to deserialize. pending() / recent_resolved() collect all-or-nothing via collect::<Result<Vec>>(), so one bad row errored the whole query; api_state's log_default then swallowed the error and returned an empty list — every pending approval vanished from the dashboard (issue #160). - add the missing init_config arm to row_to_approval - collect_lenient(): skip + log unparseable rows so a single bad row can never blank the whole approvals list again - dashboard: label init_config approvals 'init' (was mislabeled 'spawn' by the apply-vs-other fallthrough) closes #160 |
||
|---|---|---|
| .. | ||
| app.js | ||
| dashboard.css | ||
| index.html | ||