Skip to content

CI workflow gate reads PR branch failures as main failures #198

Closed

Description

@harlan-github-agent

The check-in CI collector reads the newest run of any branch, so four PR branch failures archived as a broken main gate while main's Test run on the deployed SHA passed.

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

Verify with: pnpm test:run test/unit/daily-checkin-observability.test.ts

Estimated to change 2 files.

The daily-checkin routine opened this issue automatically on its 2026-09-10T21: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 10, 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: scripts/tools/daily-checkin-data.mjs calls gh run list per workflow with no branch filter, so PR branch runs (test.yml runs on every pull_request) feed summarizeWorkflowRuns. A PR Test failure becomes the main gate verdict even when main's
    • Next action: Add --branch main to the gh run list calls in scripts/tools/daily-checkin-data.mjs (per-workflow line 135 and recent line 138), write the failing unit test first in test/unit/daily-checkin-observability.test.ts for a PR-branch failure not counting toward the main gate, then run pnpm test:run test/unit/daily-checkin-observability.test.ts.
  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 10, 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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions