Stack report script: dry-run which open PRs merge cleanly onto main, and in what order
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Create scripts/stack_report.py and start by reviewing the existing Python scripts and the GIT_DIR leak issue. Use gh pr list --json and git merge-tree --write-tree against origin/main, keeping subprocesses read-only and GIT_DIR-safe. Done means a table reports stack order, merge results, conflicting files, docs-only versus code conflicts, and the largest clean prefix without changing branches or the work tree.
Written by the indexing model from the issue text.
Description
Idea
On 2026-10-01, landing an eight-PR stack meant repeated manual git merge-tree probes: which PRs merge cleanly onto main in stack order, where the conflicts are, and whether they're docs-only or code. Those probes led to the combined PR #71, which merged #38 and #39 with one CI run.
Proposal
Add scripts/stack_report.py, in Python since the repo already uses it. It:
- reads the open PRs and their bases with
gh pr list --json, and builds the stack order; - probes
git merge-tree --write-treecumulatively ontoorigin/main, chaining synthetic commits, and never touches a branch or the work tree; - classifies each conflict as docs-only (CHANGELOG, testing profile, README) or code;
- prints a table of PR, head, result, and conflicting files, plus the largest prefix that merges cleanly, ready to combine.
It must run with GIT_DIR-safe subprocess environments (see the GIT_DIR leak issue). It's read-only by design: no pushes and no merges.
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- Avg merge
- 2h 13m
- Merged PRs (30d)
- 51
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flyingrobots/AI-TTS
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
flyingrobots/AI-TTS#225 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
flyingrobots/AI-TTS#8 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
flyingrobots/AI-TTS#7 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
flyingrobots/AI-TTS#166 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 38/100
flyingrobots/AI-TTS#165 ·
Maintainers usually reply within 1 day
All issues in flyingrobots/AI-TTS
Similar issues
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
future-agi/future-agi#6392 ·
Maintainers usually reply within 1 day
-
memmapped_arange ignores the start value and drops the last point above the memmap thresholdPossibly taken @prathameshfuke claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
StingraySoftware/HENDRICS#213 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
bot-triaged module: decompositions module: edge cases module: int overflow module: primTorch oncall: pt2 triage review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day