mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-16 04:33:16 +00:00
origin/main introduced a new `archived` lifecycle status as a terminal state reached by explicit user action on a previously terminal run. deriveEmptyKind didn't know about it — archived runs with files would have rendered "The diff for this run is no longer available. If you expect files here, please report it.", which is wrong; the diff was captured normally, the run was just archived later. Adds `archived` to the terminal-success branch so archived runs show the correct empty-state copy (R4b or R4c2) based on total_changed, same as a succeeded run. The regression-guard test is also tightened: it now iterates over `RunStatus` from @qltysh/fabro-api-client rather than a hand- maintained list, so any future addition to the OpenAPI spec fails this test until the decision table grows a branch. This exact class of silent-regression is what made me miss archived in the first place. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| data | ||
| layouts | ||
| lib | ||
| routes | ||
| api.test.ts | ||
| api.ts | ||
| app.css | ||
| entry.tsx | ||
| install-api.test.ts | ||
| install-api.ts | ||
| install-app.test.tsx | ||
| install-app.tsx | ||
| install-config.test.ts | ||
| install-config.ts | ||
| install-flow.test.ts | ||
| install-flow.ts | ||
| install-router.tsx | ||
| mode.test.ts | ||
| mode.ts | ||
| root.tsx | ||
| router.test.tsx | ||
| router.tsx | ||