Skip to content

CI calibration ancestry check depends on deleted PR refs #8022

Closed

Description

@prekshivyas

Summary

The full-E2E cold-path calibration test requires every recorded testedSha to exist in a fresh local Git checkout. Some recorded revisions are PR-only commits, so the test starts failing after the source PR merges and its refs disappear even though actions/checkout uses fetch-depth: 0.

This blocks unrelated code PRs before the trusted E2E gate can dispatch.

Current failure

PR #8021 CI run 30653373482 failed in cli-test-shards (3):

Error: git merge-base could not verify calibration ancestry; ensure the checkout has full history (status 128): fatal: Not a valid commit name 915b25c522d982fc7d40d01e583bc8f15bcf975f

Evidence

Expected behavior

Deterministic repository tests must pass in a fresh full-history checkout after evidence-source PRs merge. Calibration provenance should remain bound to exact run and tested revision receipts without requiring deleted PR refs to remain advertised forever.

Acceptance criteria

  • A fresh checkout of current main passes test/onboard-performance-config-schema.test.ts without fetching PR refs or making network calls from the test.
  • Durable workflowHeadSha and runtime-input ancestry checks remain enforced.
  • Exact testedSha, run ID, job ID, and run URL receipt validation remains enforced without assuming each tested commit is locally reachable.
  • Coverage proves a PR-only tested revision cannot break unrelated CI after its source ref disappears.

Activity

  1. added
    needs: triage
    on Jul 31, 2026
  2. added theissue type on Jul 31, 2026
  3. added a commit that references this issue on Jul 31, 2026
    299050f
  4. added
    area: ci
    area: e2e
    and removed
    needs: triage
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ciarea: e2e

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions