Commit Graph

4 Commits

Author SHA1 Message Date
Peter Pistorius 2d31ac8747 fix: reset retry-proof value.txt to pass 2026-03-09 20:59:23 +02:00
Peter Pistorius 3efb688a3a feat: show failure output and Enter-to-retry in pause-on-failure UI
When a step pauses on failure, the tree UI now shows:
- Last 20 lines of step output below the tree (assertion errors,
  code context, etc.) matching the end-of-job summary quality
- Press Enter to retry directly from the paused terminal
- Ctrl+C to abort

The step log is resolved via sanitized name with fallback to the
most recently modified .log file (the DTU writes logs under feed
UUIDs that differ from timeline record IDs).
2026-03-09 20:38:47 +02:00
Peter Pistorius bd21f4d0bc feat: add --from-step and --from-start options to retry command
Allows rewinding to an earlier step when retrying a paused runner:
- --from-step <N>: skip steps before N, re-run from step N onwards
- --from-start: re-run all run: steps from the beginning

Each wrapped step embeds a 1-based index matching the tree UI and
checks a from-step signal file on entry. Steps below the target
exit 0 (skip), the matching step deletes the signal and continues.

Closes #35
2026-03-09 18:32:15 +02:00
Peter Pistorius 9dff4b1955 feat: add retry-proof experiment
Minimal vitest test that reads a fixture file and asserts its value,
designed to validate the pause-on-failure retry mechanism end-to-end.

- .github/workflows/retry-proof.yml
- experiments/retry-proof/ (package, test, fixture)
- Added retry-proof to pnpm workspace
2026-03-09 16:09:51 +02:00