fix(github): preserve legacy gate verdicts#5552
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-13 12:06:25 UTC
⏸️ Suggested Action - Manual Review Concerns raised — review before merging
📋 Copy for AI agents — paste into your coding agent
Review context
Contributor next steps
Signal definitions
[BETA] Chat with GittensoryAsk Gittensory a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://gittensory.aethereal.dev/docs/gittensory-commands 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5552 +/- ##
=======================================
Coverage 94.75% 94.75%
=======================================
Files 564 564
Lines 44905 44907 +2
Branches 14675 14677 +2
=======================================
+ Hits 42550 42552 +2
Misses 1621 1621
Partials 734 734
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Motivation
Gittensory Orb Review Agent) could be neutralized while the renamed authoritative check was onlyin_progress, potentially satisfying branch-protection rules that still required the old name.Description
legacyConclusionthat uses the authoritativecheck.conclusionfor the old Orb gate name andneutralfor other legacy names, and skip finalization if no terminal conclusion exists, so legacy Orb runs are not neutralized during the pending phase; this change is insrc/github/app.ts.GITTENSORY_LEGACY_ORB_GATE_CHECK_NAMEcomment to document that it was once an active required gate and must mirror the renamed gate's terminal verdict instead of being neutralized early insrc/review/check-names.ts.test/unit/github-app.test.ts.Testing
npx vitest run test/unit/github-app.test.ts --reporter=verboseand the file's tests passed (the targeted regression cases were added and passed).npm run test:coverage) was started but the full suite was interrupted by unrelated long-running/backfill tests, so end-to-end coverage gating was not completed in this session.npm run typecheckwas attempted but blocked by pre-existing unrelated TypeScript resolution/implicit-any errors in other test files and packages, so no new type-errors were introduced by the change (typecheck failures are external to these edits).Codex Task