Skip to content

fix(core): number report steps without outcome records - #148

Merged
ElbertePlinio merged 1 commit into
mainfrom
fix/report-outcome-step-gap
Sep 10, 2026
Merged

ElbertePlinio merged 1 commit into
mainfrom
fix/report-outcome-step-gap

Conversation

@ElbertePlinio

Copy link
Copy Markdown
Member

The Markdown run report (renderRunReport) numbered steps over every sorted record and then skipped outcome records, so an outcome recorded mid-run left a gap in the step numbers and the ## Actions (n) count included outcomes. This partitions outcome records out before numbering through one shared timelineRecords helper that the HTML viewer now uses as well, and adds a test recording an outcome between two actions.

Validation on this branch: targeted vitest files (evidence-render, evidence-outcome: 77 tests), oxlint, complexity-gate, typecheck.

Author: lead (tiny change). Reviewer: separate Astra review.

Refs #117, #141, #145

The Markdown run report numbered steps over every record and then skipped outcome records, so an outcome recorded mid-run left a gap in the step numbers and inflated the Actions count. Partition outcomes out before numbering, as the HTML viewer already does, through one shared helper.

Refs #117, #141, #145
@ElbertePlinio
ElbertePlinio merged commit 0f2d625 into main Sep 10, 2026
10 checks passed
@ElbertePlinio
ElbertePlinio deleted the fix/report-outcome-step-gap branch September 10, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant