Commit Graph
71 Commits
Author SHA1 Message Date
Dean 07ac66dad2 Merge pull request #10995 from MarcZX10/marc/pr-overlap-parallel-pages
perf(tools): fetch pr_overlap pull request pages in parallel and cache base exports
2026-10-28 12:57:23 +13:00
Dean 92bfca720e Merge pull request #11072 from JaceTheBlu/fix/tools-git-version
fix(tools): name the git version merge-tree needs in pr_overlap and check_main_sync
2026-10-27 18:31:34 +13:00
MarcZX10 831308c681 fix(tools): keep pull requests whose paths the base renamed or deleted in pr_overlap's branch probe 2026-10-26 21:53:47 +00:00
Dean bf85740739 Merge pull request #10916 from Cankiee/fix/overlap-markdown-paths
fix(tools): preserve backticks in overlap report paths
2026-10-27 09:10:31 +13:00
Dean dd1a781413 Merge pull request #11188 from hyvvs/fix/pr-overlap-self-links
fix(tools): recognize pr_overlap dependency links
2026-10-26 22:11:04 +13:00
hyvvs 76dcf6dbc9 fix(tools): recognize pr_overlap dependency links 2026-10-25 22:08:36 +01:00
JaceTheBluandClaude Opus 5.5 f53ee43a43 fix(tools): name the git version merge-tree needs in pr_overlap and check_main_sync
Both tools merge with git merge-tree --write-tree, which needs git 2.38,
and pr_overlap's pairwise merges also pass --merge-base, which needs
git 2.40. On an older git, such as 2.34 on Ubuntu 22.04, they stopped
with git's merge-tree usage text and nothing said what was wrong. A
failing merge now reports the version it needs and the one found when
git is older; on a recent enough git the error is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 17:53:33 +01:00
MarcZX10 2ca76b589c docs(tools): mention pr_overlap's export cache in its help 2026-10-25 13:06:41 +00:00
MarcZX10 b8ab4b1157 perf(tools): cache pr_overlap's base exports by source blob 2026-10-25 13:06:40 +00:00
MarcZX10 b5424e9bde perf(tools): fetch pr_overlap's pull request pages in parallel 2026-10-25 13:06:40 +00:00
MarcZX10 56cff28e40 feat(tools): report pr_overlap's probe and merge progress
After the fetch, a --branch run probed about 1,300 pull requests for about 28 s without output, and --out merged every pull request into the base. Report every 100 pull requests and at the end how many were probed and how many of them share files or exports with the branch, and how many were merged into the base.
2026-10-25 13:06:40 +00:00
MarcZX10 a2f9601332 feat(tools): report pr_overlap's pull request count and fetch progress
pr_overlap printed nothing until its report, which takes 54 to 81 s on Linux with about 1,300 open pull requests and took minutes on Windows, so a run looked stuck. Write progress lines to stderr: the number of open pull requests once they are listed, and the number of pull request heads fetched after each batch of 100. The report on stdout is unchanged.
2026-10-25 13:06:40 +00:00
David 4c8e1d194e fix(tools): merge only the pull requests that share files or exports with the branch in pr_overlap
pr_overlap --branch merged every open pull request against main, although a pull request can only appear in the report when it shares a file or an export with the branch, so on a repository with a thousand open pull requests the check did not finish in an hour. probe lists each pull request's files and exports from git diff base...head, without a merge, and scan_all merges only the ones that overlap the branch; the others get empty sets, which is what they would contribute to the report. --out is unchanged.
2026-10-25 13:06:40 +00:00
Cankiee e75ee1d1e1 fix(tools): preserve backticks in overlap report paths 2026-10-25 10:51:12 +01:00
xdCloudy 88d43efdd3 fix(pr-overlap): normalize merge paths from subdirectories 2026-10-23 04:12:13 +01:00
xdCloudy 905319998b fix(pr-overlap): normalize diff pathspecs from subdirectories 2026-10-23 04:05:46 +01:00
xdCloudy ddf63e470a fix(pr-overlap): normalize git paths from subdirectories 2026-10-23 03:53:30 +01:00
Codex e69b32da1d fix(tools): resolve overlap base exports from repo root 2026-10-23 03:00:12 +01:00
xdCloudy d0ef527571 fix(tools): scope export overlaps by library 2026-10-23 01:45:13 +01:00
babyhuey 957b65fa2f fix(tools): compare explicit APS5_EXPORT NIDs with named exports in pr_overlap 2026-10-22 19:39:28 -04:00
Dean Galvin f84fdc493a Merge main into fix/pr-overlap-from-subdirectory 2026-10-23 11:16:41 +13:00
emirplus eb102eac57 fix(tools): wrap entrypoint in main with stream reconfigure in pr_overlap 2026-10-22 19:00:10 +03:00
Jota 2e2445d622 fix(tools): read pr_overlap paths from the top of the repository 2026-10-22 03:45:04 -03:00
emirplus 486eb18dc1 fix(tools): restrict pull request URL matching to current repository in pr_overlap 2026-10-21 19:36:15 +03:00
emirplus 1e01841072 fix(tools): recognize markdown links and pull request URLs in pr_overlap dependencies 2026-10-21 19:33:33 +03:00
xdCloudy 39b0c5cb4e style(tools): keep overlap fix comment free 2026-10-21 08:31:15 +01:00
xdCloudy 3a1acb576b fix(tools): normalize NID alias names in PR overlap checks 2026-10-21 08:26:05 +01:00
xXPBSXxandClaude Sonnet 5.5 89b04548c8 fix(tools): name the failing command when pr_overlap cannot run git or gh
pr_overlap.py let a failed git or gh call escape as a bare
CalledProcessError traceback that names the command but drops the
error text, so a mistyped --base such as upstream/main (refs/heads/upstream/main
does not exist) read as an unexplained crash. The script now exits with
"pr_overlap: <command> failed with exit code N: <stderr>".

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-20 02:30:31 +02:00
mopgobopotandClaude Opus 5.5 de2244040d fix(tools): read a Depends on declaration after an empty one in pr_overlap
Only the first 'Depends on:' was read. When it was empty, such as the template checklist line with its placeholder comment, a later 'Depends on: #N' was ignored and the dependent pull requests were reported as overlapping.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-19 15:39:55 +03:00
Dean 8fe6046a6a Merge pull request #6777 from MrMha/fix/overlap-nul-paths-20261016
fix: preserve quoted Git filenames in overlap detection
2026-10-18 12:57:00 +13:00
MarcZX100 50330afd66 perf(tools): speed up pull request overlap checks 2026-10-17 15:02:33 +00:00
Adrià e9a3343a22 Merge pull request #6057 from MiniRML/fix/overlap-file-link-encoding
fix(tools): encode filenames in PR overlap links
2026-10-16 23:32:30 +02:00
MrMha d40347def7 fix: preserve quoted Git filenames in overlap detection 2026-10-16 15:27:44 +04:00
fma-rc bc2211ac85 fix(tools): link overlapping pull requests without cross-referencing them 2026-10-15 16:00:40 +02:00
Ondra97 c3b981c6a3 fix(tools): report comparisons blocked by base conflicts 2026-10-15 05:35:42 +02:00
Dean e5592f0192 Merge pull request #3914 from GalaxyGamingFR/fix/pr-overlap-top-insert-link
fix(tools): link top-of-file insertions to line 1 in pr_overlap
2026-10-15 10:55:07 +13:00
MiniRML 0103e485d2 fix(tools): encode filenames in PR overlap links 2026-10-14 14:29:41 -07:00
MiniRML e2e57ce142 fix(tools): preserve Unicode paths in PR overlap checks 2026-10-14 20:26:25 +02:00
GalaxyGamingFRandClaude Opus 5.5 a310f9688c fix(tools): link top-of-file insertions to line 1 in pr_overlap
A -U0 hunk for an insertion before line 1 starts at line 0, so two PRs
inserting at the top of one file produced a link to the nonexistent
line L0. hunks now clamps the start to line 1 and derives the end from
the clamped start. A test covers the clash range and the rendered link.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

Claude-Session: https://claude.ai/code/session_012zyXkUzTZGh3nBwNMtrLaW
2026-10-14 11:08:27 -07:00
Dean 486420f91a Merge pull request #4950 from MarcZX100/codex/pr-overlap-compatible-merge-base
fix(tools): use the shared merge base for overlap checks
2026-10-14 15:54:50 +13:00
Adrià a56c905df6 Merge pull request #4589 from MiniRML/fix/tools-cut-helper-accounting
fix(tools): exclude cut helpers from NID accounting
2026-10-13 17:24:55 +02:00
GalaxyGamingFRandClaude Fable 5.1 0817454371 fix(tools): drop the branch's own pull request in pr_overlap --branch
The --branch mode removed the branch's own open pull request only when its
head equalled the local branch exactly. Checking commits before pushing
left the branch ahead of its pull request, so the tool reported the user's
own pull request as overlapping. The filter is now a function that also
drops any pull request whose head is an ancestor of the branch.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01V9UU71SP1UKGR51Sowbgmq
2026-10-13 12:00:41 +02:00
MarcZX100 c7aca86c61 fix(tools): use the shared merge base for overlap checks 2026-10-13 06:01:10 +00:00
MarcZX100 2a91815210 fix(tools): parse paginated overlap API responses 2026-10-13 05:52:46 +00:00
Dean 9907993e5f Merge pull request #4473 from arcwiser/fix/pr-overlap-fetch-batches
fix(tools): batch pr_overlap fetch refspecs
2026-10-13 07:27:51 +13:00
MiniRML 53d10eac9a fix(tools): exclude cut helpers from NID accounting 2026-10-12 09:24:13 -07:00
Dean b8fff28bd0 Merge pull request #4330 from treuenten/claude/peaceful-darwin-etpdf0
fix(tools): follow Depends on chains in pr_overlap
2026-10-13 04:50:54 +13:00
Dean 993f80a081 Merge pull request #3912 from GalaxyGamingFR/fix/pr-overlap-wrapped-exports
fix(tools): ignore wrapped declarations in pr_overlap exports
2026-10-13 02:31:59 +13:00
arcwiser 441d392c35 fix(tools): batch pr_overlap fetch refspecs 2026-10-12 23:53:47 +11:00
Paritosh LahreandClaude Opus 5.5 0f0291e39b fix(tools): run pr_overlap on gh older than 2.48 (#4289)
Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-10-12 20:31:03 +13:00