feat: add per-step timestamps to StepState - #95
Conversation
Add StartedAt and CompletedAt fields to StepState, set in runStep() on status transitions. Old state files without timestamps remain backwards-compatible (zero value). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Claude finished @shahar-caura's task in 1m 51s —— View job PR Review: feat: add per-step timestamps to StepState
SummaryThis PR adds 1.
|
AI Code ReviewSummaryThis PR adds ResetFrom does not clear timestampsSeverity: Medium Claude Code fix promptInline failed-step reset in cmd_resume does not clear timestampsSeverity: Medium Claude Code fix promptFix All PromptsFix All Medium Issues |
AI Code ReviewSummaryThis PR adds ResetFrom does not clear stale timestampsSeverity: Medium Claude Code fix promptResume path does not clear stale timestamps on failed stepsSeverity: Medium Claude Code fix promptMissing test for ResetFrom clearing timestampsSeverity: Low Claude Code fix promptFix All PromptsFix All Medium IssuesFix All Low Issues |
Summary
Closes #60
StartedAtandCompletedAttimestamp fields toStepStatewithyaml:"...,omitempty"tagsrunStep()when status transitions torunningandcompleted/failedTest plan
TestSaveAndLoad_StepTimestamps— round-trip serializationTestBackwardsCompat_OldStateWithoutTimestamps— old files load cleanlyTestRun_StepTimestampsPopulated— happy path sets all timestampsTestRun_FailedStepHasTimestamps— failed steps also get both timestampsmake testpasses (all packages)🤖 Generated with Claude Code