fix(gate): skip weekly-cap-reached claims to prevent duplicate cron comment spam (Closes #16711) - #16712
Open
ravendevhub wants to merge 1 commit into
Open
Conversation
Contributor
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the silent infinite comment spam defect in
scripts/docstring_gate.pywhere claims already marked withweekly-cap-reachedwere not included in the top-level adjudication skip check.Closes #16711
Audit Bounty #16471
Changes
scripts/docstring_gate.py:"weekly-cap-reached"to the skip filter:if {"bounty-eligible", "docstring-verified", "gate-processed", "weekly-cap-reached"} & labels:tests/test_docstring_gate.py:test_weekly_cap_reached_label_skips_duplicate_adjudicationregression test.Payout Details
RTC14241718572ec3bd1c0c4ee26ed2fc4bf6fca15