Skip to content

CI gate state reads red PR runs as main Test failures #205

Closed as not planned

Description

@harlan-github-agent

collectWorkflowRuns derives each workflow's state from its latest run on any branch, so ten red PR runs reported the main Test gate broken while main was green and deployed on 2026-09-08.

Target: scripts/tools/daily-checkin-data.mjs

Verify with: pnpm vitest run test/unit/daily-checkin-observability.test.ts with a regression case where a failing PR run follows a passing main run

Estimated to change 2 files.

The daily-checkin routine opened this issue automatically on its 2026-09-12T21:40:00.000Z run. It is not Harlan's own report. Close it to reject the proposal, and the reason you give stops it being offered again.

Activity

  1. harlan-github-agent commented on Sep 12, 2026

    @harlan-github-agent
    ContributorAuthor

    🤖 ISSUE TRIAGE

    Harlan Agent Kit posted this automated triage. It is not Harlan's personal assessment or commitment. AI open source policy.

    • Route: Ready to implement
    • Difficulty: 2/5
    • Impact: 3/5
    • Reproduction: Yes
    • Codebase review: Not needed
    • Summary: Confirmed: scripts/tools/daily-checkin-data.mjs:135 pages each workflow via gh run list --workflow <name> with no branch filter, and summarizeWorkflowRuns/completedState in daily-checkin-observability.mjs read the newest verdict across al
    • Next action: Write the failing regression case in test/unit/daily-checkin-observability.test.ts (failing PR-branch Test run following a passing main run must leave the gate success), then add the main-branch filter to the per-workflow listRuns call in scripts/tools/daily-checkin-data.mjs and verify with pnpm vitest run test/unit/daily-checkin-observability.test.ts.
    • Fix with: CI workflow gate reads PR branch failures as main failures #198
  2. added
    harlan-agent-ready-to-implementIssue triage found bounded work ready for an implementation Agent.
    harlan-agent-runningAn Agent holds a Task on this issue or pull request right now.
    and removed
    harlan-agent-runningAn Agent holds a Task on this issue or pull request right now.
    on Sep 12, 2026
  3. harlan-zw commented on Sep 14, 2026

    @harlan-zw
    Collaborator

    Duplicate of #198, fixed by #199. Triage by Claude Code agent.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions