fix(queue): record gate_check_run in failedOutputs on double failure - #8739
Conversation
When both the primary gate check publish and its errored fallback fail, push gate_check_run onto failedOutputs so gate-only repos get the same pr_public_surface_failed / PostHog / transient-retry path as check_run. Closes JSONbored#8686
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8739 +/- ##
==========================================
+ Coverage 90.56% 91.19% +0.63%
==========================================
Files 96 97 +1
Lines 22490 25678 +3188
Branches 3884 5017 +1133
==========================================
+ Hits 20367 23416 +3049
- Misses 1945 1994 +49
- Partials 178 268 +90
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-26 05:31:59 UTC
Review summary Nits — 4 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver 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://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 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.
|
Summary
gate_check_runprimary publish and itscreateOrUpdateErroredGateCheckRunfallback both fail, pushgate_check_runontofailedOutputs(same contract ascheck_run/comment/label).pr_public_surface_failed, PostHog escalation, andRetryablePublicSurfacePublishFailedErroron transient double-failure.failedOutputs(that was the bug fix(orb): gate_check_run publish failures never populate failedOutputs, unlike check_run/comment/label #8686 fixes) so validate-tests stays green - the failure mode that closed fix(queue): record gate_check_run in failedOutputs on double failure #8734.Closes #8686
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) - a linked open issue is required for every contributor PR.Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:coveragelocally;codecov/patchrequires ?99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
test/unit/queue-4.test.tsand will run under CI. fix(queue): record gate_check_run in failedOutputs on double failure #8734 failed validate-tests on the outdated incomplete-surface expectation - fixed here.Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
N/A - no visible UI changes.
Notes
failedOutputsis added.