fix(orb): preserve actionable relay PR events#1871
Conversation
|
Tip 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 ✅ Gittensory review result - approve/merge recommendedReview updated: 2026-06-30 11:53:04 UTC
✅ Suggested Action - Approve/Merge
Review summary
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.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1871 +/- ##
=======================================
Coverage 95.72% 95.72%
=======================================
Files 215 215
Lines 23521 23521
Branches 8496 8496
=======================================
Hits 22516 22516
Misses 418 418
Partials 587 587
🚀 New features to boost your workflow:
|
Motivation
labeled/unlabeledas pr-refresh events and could delete an earlier actionable PR webhook (e.g.opened/synchronize) when a label-only event arrived, allowing a pull-mode self-host relay to drop the only gate-triggering event.Description
labeledandunlabeledfrom the pull-request coalescible action set insrc/github/webhook-coalesce.tsso label-only PR events no longer share the PR refresh coalesce key.test/unit/github-webhook-coalesce.test.tsto assert thatlabeled,unlabeled, andcloseddo not produce a PR-refresh coalesce key while actionable events still do.test/integration/orb-relay.test.tsthat enqueues an actionableopenedPR event followed by alabeledevent and asserts both pending rows remain (the actionable event is not coalesced away).Testing
git diff --checkandnpm run typecheckand both succeeded.npx vitest run test/unit/github-webhook-coalesce.test.ts test/integration/orb-relay.test.tsand the modified unit and integration tests passed.npm run test:cibut the run could not complete in this environment becauseactionlintsetup fell back due to network DNS issues and the fallback flagged the repository's custom self-hosted runner label, so the full CI sweep was not completed here.npm audit --audit-level=moderatecould not complete locally because the npm audit bulk advisory endpoint returned403 Forbidden.Codex Task