Skip to content

Move PR E2E gate polling and evidence handling into tools/e2e #6960

Closed

Description

@cv

Parent: #6952

Problem

.github/workflows/pr-e2e-gate.yaml already delegates gate state and evidence classification to tools/e2e/pr-e2e-gate.mts, but a 58-line shell loop still polls the child run and separate shell wrappers implement private-workspace creation, evidence download timeouts, and cleanup.

Work

  • Add explicit controller modes for child-run waiting and bounded evidence download to tools/e2e/pr-e2e-gate.mts or its existing companion.
  • Keep the workflow responsible for permissions, concurrency, artifact upload, step conditions, and always-run finalization.
  • Preserve human-readable state-change logs without polling noise.

Acceptance criteria

  • The inline run-state polling loop is removed.
  • Supported queued/in-progress/completed states, unknown state failure, query failure, 105-minute timeout behavior, and child-run URL reporting remain covered.
  • Evidence download retains its 10-minute timeout and private destination.
  • An incomplete check is still abandoned/finalized on every failure or cancellation path.
  • Direct controller tests cover polling and downloads; workflow tests cover ordering and always-run cleanup.

Activity

  1. added theissue type on Jul 15, 2026
  2. added
    area: ci
    on Jul 15, 2026
  3. added
    area: e2e
    area: architecture
    help wanted
    on Jul 15, 2026
  4. self-assigned this
    on Jul 16, 2026
  5. added a commit that references this issue on Jul 16, 2026
    b528371
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: architecturearea: ciarea: e2ehelp wanted

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions