Skip to content

Report: add run.serialGroups to the report-1 document - #2685

Open
kblok wants to merge 1 commit into
mainfrom
fix/2598-report-serial-groups
Open

kblok wants to merge 1 commit into
mainfrom
fix/2598-report-serial-groups

Conversation

@kblok

@kblok kblok commented Dec 2, 2026

Copy link
Copy Markdown
Member

Adds the serial group model to the report-1 document: run.serialGroups and run.carried.serialGroups, with their attempts and members, written to report.json and read back into the public Report. A report can now hold serial groups, and the run status, summary, usage and --last-failed carry-forward read them. The runner does not build groups yet (#2684), so real reports still have an empty serialGroups.

Closes #2598

Upstream parity

Ported from packages/e2e/src/report/build.ts, summary.ts, run/records.ts, run/last-run.ts.

  • ported: ReportSerialGroup/Attempt/Member (internal records and public read types), serializeSerialGroup/Attempt/Member (ReportWire.SerialGroup/SerialAttempt/SerialMember), serialGroupId on results (empty attempts on the wire), group ordering (compareSerialGroups), deriveRunStatus group error code, summarizeResults ranMembers, computeUsage over groups, memberRan, carryForward groups, reportArtifactPaths groups, carried block serialGroups.
  • port-only: ReportFile state keeps groups by id, and ReportWire.Document takes the groups' wire form (.NET-only: sessions add to a shared run). ReportSerialMember.Ran is the public memberRan.
  • partial: the runner side (see below).

Upstream tests and local match

  • report-status run status derivation for a serial group (4 it) -> ReportStatus/RunStatusDerivationForASerialGroupTests.cs
  • report-status error stacks now includes the serial member (no longer partial)
  • last-run carries a serial member's group, where its attempts live -> CarryForwardTests
  • last-run names every artifact file a report points at, its carried ones included -> now complete (was Partial_)

Not ported (issue #2684)

  • Building groups from the runner (FinishE2ESerialGroupAsync): serial members share one session titled by the first member, so this needs per-member identity first.
  • Readers resolving member attempts through groups (Outcome, Ctrf, Junit, Markdown, FailureText, ListReporter, Merge).
  • xUnit v3 / TUnit have no serial feature.
  • Telemetry: count serial-group steps and members in e2e_run_completed #2518 serial follow-ups (telemetry parts skipped per CLAUDE.md).
  • Not regenerated: npm run api fails here (no .NET 11 SDK), so the API reference needs a regeneration in CI/locally.

Real-model tests not run: no agent behavior changed.


Generated by Claude Code

@coderabbitai

coderabbitai Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 46 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between e52c4a5 and 8f7a8a9.

Files selected for processing: 11

  • src/E2E/Report/BuildReport.cs
  • src/E2E/Report/Report.cs
  • src/E2E/Report/ReportFile.cs
  • src/E2E/Report/ReportRecords.cs
  • src/E2E/Report/ReportSerializer.cs
  • src/E2E/Report/ReportWire.cs
  • src/E2E/Run/LastRun.cs
  • tests/E2E.Tests/LastRun/CarryForwardTests.cs
  • tests/E2E.Tests/ReportStatus/ErrorStacksTests.cs
  • tests/E2E.Tests/ReportStatus/ReportStatusBuilders.cs
  • tests/E2E.Tests/ReportStatus/RunStatusDerivationForASerialGroupTests.cs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
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.

Report: add run.serialGroups to the report-1 document (upstream report/build.ts)

2 participants