Skip to content

ci(e2e): preserve reliability evidence at the current main-run scale #9538

Closed

Description

@rsliter

Problem

The advisory same-commit reliability report cannot classify a current full E2E push run at its present job and artifact volume.

Source run: https://github.com/NVIDIA/NemoClaw/actions/runs/32178707220
Source commit SHA: b2d1ce52a716444b083f6e3b8ed8bace1cba3240
Retry-controller run: https://github.com/NVIDIA/NemoClaw/actions/runs/32191054334
Reliability artifact: same-commit-reliability-32178707220-1

The source run contained 103 jobs. tools/e2e/main-run-retry.mts requests one page with per_page=100, then rejects the response when total_count differs from the returned job count. The controller exited before it wrote e2e-main-retry-evidence.json.

The separate reliability reporter then recorded:

Field Reported value
First pass 0
Passed after retry 0
Failed first attempt 0
Exhausted 0
Unclassified 1
Outcome evidence missing
Failure-class evidence malformed

This source run had eight causal job failures plus the Relevant E2E aggregate failure. Newer main pushes existed when the controller evaluated the source run, so the expected reliability outcome was superseded. The report recorded unclassified because the canonical controller artifact was missing.

The failure-class evidence has a second scale limit. tools/e2e/same-commit-reliability.mts scans artifacts whose names start with e2e- and marks the evidence malformed after their aggregate size exceeds 8 MiB. The source run produced 91 artifacts, so unrelated artifact volume can invalidate failure classification.

This is an evidence defect, not proof of a flaky test. The report remains advisory and must not change required checks, retry decisions, or release conclusions.

Scope

  • Read all jobs for a source attempt through validated, bounded pagination.
  • Preserve an explicit maximum and reject duplicate, missing, or excess job records.
  • Produce canonical retry evidence when a full run contains more than 100 jobs.
  • Collect failure classes from compact, named evidence instead of treating unrelated E2E artifact volume as malformed classification evidence.
  • Keep missing and malformed evidence visible.

Do not add a workflow rerun, broaden retry policy, or change release judgment.

Acceptance criteria

  • A regression test models a source attempt with more than 100 jobs and proves that the controller writes complete failed-no-retry evidence.
  • A regression test models a current-volume artifact set above 8 MiB and proves that unrelated artifacts do not make failure-class evidence malformed.
  • The implementation keeps bounded record counts, artifact sizes, ZIP validation, and identity checks.
  • A report for the recorded source-run fixture shows superseded: 1, not unclassified: 1.
  • A separate latest-source-run fixture proves that a terminal failure produces failed-first-attempt: 1.
  • The report continues to display missing or malformed outcome and failure-class evidence separately.
  • The change does not request a complete E2E rerun or change a required check or release conclusion.

Parent epic: #9159

Activity

  1. self-assigned this
    on Aug 18, 2026
  2. added
    area: ci
    area: e2e
    on Aug 18, 2026
  3. added theissue type on Aug 18, 2026
  4. rsliter commented on Aug 19, 2026

    @rsliter
    CollaboratorAuthor

    closing as my agent wrote this up during a research run and I think we can tackle this from a different angle (speeding up runtime).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: ciarea: e2e

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions