Skip to content

fix(daily-checkin): exclude pull_request runs from the CI gate - #210

Closed
harlan-github-agent[bot] wants to merge 1 commit into
mainfrom
fix/issue-209
Closed

harlan-github-agent[bot] wants to merge 1 commit into
mainfrom
fix/issue-209

Conversation

@harlan-github-agent

Copy link
Copy Markdown
Contributor

🔗 Linked issue

Closes #209

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

The daily check-in reported the repository Test workflow as failure, 10 consecutive while the latest run on main had passed. The gate buckets runs by workflow name only, and the Test workflow runs on both pull_request and push to main, so red PR runs landed in the same bucket as the branch that deploys. A pull request with a real bug read as production's gate being red.

The gate now buckets main-branch runs only: rows from pull_request events are left out of the buckets and out of the check that decides whether to page deeper for the last verdict. The run fetch also asks GitHub for each run's event so the two can be told apart.

Unsure about one edge: a workflow that only ever runs on pull_request would now read as missing in the gate. No such workflow exists here today, and missing is arguably the honest reading, but it is a new alarm a future PR-only workflow would trip.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

…st workflow runs on both pull_request and push to main, so red PR runs merged into the main-branch gate buckets and read a green main as failing. Gate buckets and the deep
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 13, 2026
@harlan-github-agent

harlan-github-agent Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 CLOSED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-09-14 08:12 UTC.

GitHub closed this pull request. No further automated Review will run.

@harlan-github-agent harlan-github-agent Bot added harlan-agent-blocked The automated Review found a material defect in this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 13, 2026
@harlan-zw

Copy link
Copy Markdown
Collaborator

Closed as a duplicate of #199, which scopes both CI reads to main. Triage by Claude Code agent.

@harlan-zw harlan-zw closed this Sep 14, 2026
@harlan-zw
harlan-zw deleted the fix/issue-209 branch September 14, 2026 08:10
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-blocked The automated Review found a material defect in this head commit. label Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI gate counts red pull_request runs as main Test failures

1 participant