Commit Graph
63 Commits
Author SHA1 Message Date
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
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
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
Claude fd0d55ce21 fix(tools): follow Depends on chains in pr_overlap
pr_overlap only skipped a pair when one pull request named the other
directly. In a stack where #3 depends on #2 and #2 on #1, #1 and #3 were
reported as overlapping, and two pull requests built on the same #1 were
reported for the files and exports both inherit from it. Dependencies are
now followed through open pull requests, and what a shared dependency adds
is left out of the same-file and same-export columns.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0189deyapHNNqKQJboZBJQei
2026-10-12 06:10:56 +00:00
GalaxyGamingFRandClaude Fable 5.1 08169eae25 fix(tools): ignore wrapped declarations in pr_overlap exports
exports() only checked whether the matching line ended with a semicolon, so a
prototype wrapped over several lines was counted as an implemented export and
two PRs adding the same forward declaration were flagged as overlapping. It now
joins the following added lines up to the first semicolon or brace and treats
the match as a declaration when the semicolon comes first.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01V9UU71SP1UKGR51Sowbgmq
2026-10-11 12:03:55 -07:00
MrMha 14bbb1e00f fix(pr-overlap): bound explicit dependency declarations 2026-10-11 18:21:44 +04:00
Adrià 02030f8a62 Merge pull request #3427 from AchrafReyani/fix/pr-overlap-fetch-head-sha
fix(tools): fetch each open pull request by the head commit the API reports
2026-10-11 12:35:24 +02:00
Adrià f0c6cf27b2 Merge pull request #3408 from GalaxyGamingFR/fix/pr-overlap-template-placeholder
fix(tools): read Depends on through the template placeholder in pr_overlap
2026-10-11 12:13:59 +02:00
Achraf ReyaniandClaude Opus 5.5 2b234efff3 fix(tools): fetch each open pull request by the head commit the API reports
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 19:13:35 +09:00
Adrià Franch 52a5b4869a fix(tools): drop unused depends lookup in open_prs 2026-10-11 12:01:08 +02:00
GalaxyGamingFRandClaude Fable 5.1 26e0b30df3 fix(tools): ignore PR template placeholder when reading dependencies
The PR template's untouched "Depends on: <!-- #PR, or none -->" line
matched the checklist regex, so prose such as "Depends on #1400" was never
consulted and the declared dependency was lost. HTML comments are now
stripped and the prose form is used when the checklist line is blank. An
explicit "Depends on: none" still takes precedence.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01V9UU71SP1UKGR51Sowbgmq
2026-10-11 12:01:08 +02:00