Skip to content

fix(review): exclude ALL bot-owned checks (Gate + Context) — completes self-deadlock fix - #1105

Merged
JSONbored merged 1 commit into
mainfrom
fix/exclude-bot-checks
Jun 23, 2026
Merged

fix(review): exclude ALL bot-owned checks (Gate + Context) — completes self-deadlock fix#1105
JSONbored merged 1 commit into
mainfrom
fix/exclude-bot-checks

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Completes #1099. That fix excluded only Gittensory Gate, but the bot posts two checks as in_progress while reviewing — Gittensory Gate and Gittensory Context (app.ts:23-24). Counting Context re-created the identical self-deadlock: green-CI PRs (metagraphed #1532 — every real check success/neutral) deferred forever as 'CI still running'.

Fix: generalize to a BOT_OWNED_CHECK_NAMES set so fetchLiveCiAggregate never waits on any check the bot posts itself. Test asserts both in_progress bot checks are ignored → passed. Full suite green (3492).

…it — completes the self-deadlock fix

#1099 excluded only Gittensory Gate, but the bot posts TWO checks as in_progress while reviewing —
Gittensory Gate AND Gittensory Context (app.ts:23-24). Counting Context re-created the exact same
self-deadlock: green-CI PRs (e.g. metagraphed #1532, all real checks success/neutral) deferred forever as
'CI still running' because the bot waited on its own in_progress Context check. Generalize the exclusion to
a BOT_OWNED_CHECK_NAMES set so the bot never waits on ANY check it posts itself. Test now asserts both
in_progress bot checks are ignored -> ciState 'passed'.
@JSONbored
JSONbored merged commit 04743d2 into main Jun 23, 2026
@JSONbored
JSONbored deleted the fix/exclude-bot-checks branch June 23, 2026 20:37
@dosubot dosubot Bot added the size:S label Jun 23, 2026
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 94.79%. Comparing base (26e04bc) to head (11c4da5).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/github/backfill.ts 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1105   +/-   ##
=======================================
  Coverage   94.79%   94.79%           
=======================================
  Files         153      153           
  Lines       18554    18555    +1     
  Branches     6708     6708           
=======================================
+ Hits        17588    17589    +1     
  Misses        408      408           
  Partials      558      558           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant