feat: verify bounty claims when comments arrive - #16869
Conversation
|
guard-bounty-pr: this PR is from a first-time/non-collaborator contributor (
Bounty/onboarding submissions are normally expected to add their own content (docs, a submissions/ entry, a small standalone script, etc.), not modify existing CI workflows, This is not an automatic rejection -- a maintainer needs to look at the diff before this merges. If the changes to these paths are legitimate and intentional, a maintainer can dismiss this and merge normally. |
|
The protected-path changes are intentional for the remaining #747 scope: the existing verifier and scheduled workflow live in these two files, and the missing work is the actual issue-comment event wiring. The PR preserves the scheduled reconciliation path, limits event runs to the configured issue verifier, and adds focused fail-closed tests (36 passing). Please apply the required maintainer review/tier rather than bypassing the guard. |
|
@Aming9303 CI is red on this one. Fix the failing job and ping me; the idea (run the matching verifier when a claim comment arrives, keep the 6-hour sweep, fail article checks closed under 300 words) is wanted and will get a real review once green. — Sophia |
|
I checked the failed job and current branch again. The only red check is |
Summary
Why
The existing scheduled workflow can leave new claims waiting for up to six hours and runs unrelated verification phases. Event-targeted execution reacts promptly without launching the full stargazer sweep for non-star bounties.
Tests
python -m unittest tests.test_verify_bounties tests.test_verify_bounties_distribution tests.test_verify_bounties_incomplete_sweep(36 passed)Refs #747
RTC wallet:
RTCc8cdaa67b90f9b06987135b8b65ab037bfb603a9