fix(review): keep fallback marker until workflow completion - #4186
Conversation
|
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 #4186 +/- ##
=======================================
Coverage 93.71% 93.71%
=======================================
Files 385 385
Lines 36209 36210 +1
Branches 13266 13267 +1
=======================================
+ Hits 33934 33935 +1
Misses 1618 1618
Partials 657 657
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-08 10:33:12 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 4 non-blocking
Concerns raised — review before merging
Review context
Contributor next steps
Signal definitions
🟩 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 Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Motivation
workflow_runactivity, including non-terminalrequested/in_progressevents, which can cause redispatch -> cancel-in-progress loops and availability loss for visual fallback captures.Description
maybeCaptureOnActionsFallbackWorkflowRunto ignore non-terminal webhook deliveries by returning early unlesspayload.action === "completed"(insrc/queue/processors.ts).workflow_runwebhook (action: "requested"), asserts no artifact-list fetch happens, and verifies the marker remains present (intest/unit/actions-fallback-webhook.test.ts).Testing
npx vitest run test/unit/actions-fallback-webhook.test.ts --pool=forks --reporter=verboseand the test suite for that file passed (all tests in that file passed).npm run typecheckandgit diff --check, both of which succeeded with no type errors or repository hygiene issues found.npm run test:coverage; the broader suite did not complete in this environment (long-running queue suite) and was terminated, andnpm run test:coverage -- --runInBandfailed due to Vitest not recognizing--runInBand.Codex Task