fix(agent-actions): apply account-age throttle on issue contributor-cap path - #3374
fix(agent-actions): apply account-age throttle on issue contributor-cap path#3374RealDiligent wants to merge 2 commits into
Conversation
…ap path Wire accountAgeThresholdDays into maybeCloseIssueOverContributorCap and label newly opened issues from below-threshold accounts, completing the Co-authored-by: Cursor <cursoragent@cursor.com> JSONbored#2561 issue-path gap documented in RepositorySettings.
…ap path Wire accountAgeThresholdDays into maybeCloseIssueOverContributorCap and label newly opened issues from below-threshold accounts, completing the Co-authored-by: Cursor <cursoragent@cursor.com> JSONbored#2561 issue-path gap documented in RepositorySettings.
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - fixes requiredReview updated: 2026-07-05 05:33:28 UTC
🛑 Suggested Action - Fix Blockers Review summary Nits — 5 non-blocking
CI checks failing
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❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (92.59%) is below the target coverage (99.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #3374 +/- ##
==========================================
- Coverage 93.89% 93.88% -0.01%
==========================================
Files 283 283
Lines 30573 30599 +26
Branches 11138 11149 +11
==========================================
+ Hits 28705 28729 +24
- Misses 1211 1212 +1
- Partials 657 658 +1
🚀 New features to boost your workflow:
|
|
Gittensory is closing this pull request on the maintainer's behalf (CI is failing (codecov/patch)). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Summary
Completes the issue-path half of the account-age throttle (#2561): repos with
accountAgeThresholdDaysconfigured now get the same anti-ban-evasion friction on issues as on PRs.Supersedes closed #3179 and #3367 (codecov/CI failures on stale base).
Problem
#2561 tightened PR caps and applied
newAccountLabelfor young accounts, butRepositorySettingsdocumented that the issue path did not readaccountAgeThresholdDays. Contributors could bypass the tightened cap by opening issues instead of PRs.Implementation
maybeCloseIssueOverContributorCap: half-cap for below-threshold authors; fail-open on lookup failureopenedwebhook: applynewAccountLabelwhenreview_state_labelautonomy isautoTesting
npm run typechecknpm run selfhost:env-reference:checkCompatibility
Default unchanged (
accountAgeThresholdDays: null).