chore: triage and close 77 stale conflicting draft PRs#486
Open
thisrohangupta wants to merge 2 commits into
Open
chore: triage and close 77 stale conflicting draft PRs#486thisrohangupta wants to merge 2 commits into
thisrohangupta wants to merge 2 commits into
Conversation
Adds a maintainer script that closes 69 DIRTY (merge-conflicting) draft PRs and 8 BLOCKED duplicates of already-merged coding-standards work. Triage keeps 13 unique BLOCKED drafts and 2 CLEAN drafts targeting mcp_search. Co-authored-by: Rohan Gupta <thisrohangupta@users.noreply.github.com>
|
|
Co-authored-by: Rohan Gupta <thisrohangupta@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Risk Assessment: Very Low
Decision: Approved — no reviewer assignment required.
Evidence (from diff only)
| Factor | Assessment |
|---|---|
| Files changed | 1 (scripts/close-stale-draft-prs.sh) |
| Production code | None — no src/, tests, or config changes |
| Blast radius | Zero runtime impact; maintainer-only gh pr close helper |
| Complexity | Low — self-contained bash with --dry-run and scoped flags |
| Infra / security | No deployment, auth, or shared-system changes |
Rationale
This PR adds an internal maintainer script to batch-close stale conflicting draft PRs. It does not modify MCP server behavior, CI pipelines, or user-facing surfaces. The script requires explicit maintainer invocation with a write-capable gh token and includes a dry-run mode.
Per policy: Very Low risk → approve directly.
Sent by Cursor Automation: Assign PR reviewers
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
Audited 92 open draft PRs on
harness/mcp-server. The cloud agent token cannot close PRs directly (Resource not accessible by integration), so this adds a maintainer script plus the triage rationale.Current draft landscape
mainRoot cause
Most drafts are duplicate Cursor-agent runs on two themes:
cursor/mcp-server-coding-standards-*(33 branches)cursor/missing-test-coverage-*(35 branches)Much of this work is already merged on
mainvia #447, #446, #449, #469, #440, #398, #391, #430, etc.Recommended closures (77 PRs)
Close all 69 DIRTY drafts (merge conflicts)
These cannot merge without substantial rebases and largely duplicate landed work.
Highest-conflict drafts (10+ files) — prioritize closing first:
Oldest stale drafts (pre-June, still conflicting): #104, #125, #167, #168, #319, #323, #330, #332, #338, #340, #343, #349, #356, #357, #364, #365, #367, #369, #371, #394
Full list is encoded in
scripts/close-stale-draft-prs.sh.Close 8 BLOCKED duplicates (no conflicts, but redundant)
Keep open for review (15 PRs)
CLEAN — mergeable, target
mcp_searchbranchBLOCKED — no conflicts, potentially unique recent work
How to run
Requires
ghauthenticated with pull-request write access.Type of Change
Checklist
ghtoken