Commit Graph
15 Commits
Author SHA1 Message Date
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
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
Adrià 8cd937e291 Merge pull request #5136 from nikowolf123/fix/ci-pr-overlap-main-commit
fix(ci): ignore the main commit in pr-overlap change checks
2026-10-15 02:43:30 +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
NikoandClaude Opus 5.5 42a78c27bc fix(ci): ignore the main commit in pr-overlap change checks
pr_overlap.py links each conflicting range to main at the commit it ran
on, so every push to main changes every non-empty report. The workflow
keeps a hash of each report to read the comments of changed reports
only, but with the commit in the hash every report counts as changed:
each run reads the comments of every pull request with an overlap and
rewrites its comment although only the commit differs. In one hour on
2026-10-13 it rewrote 107 existing overlap comments, against the 1000
requests per hour GITHUB_TOKEN has for the repository.

The hash and the comparison with the posted comment now replace the
commit in blob links with a fixed ref, so a report whose ranges, exports
and files are unchanged makes no request. Posted comments keep their
links pinned to the commit they were written at.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 21:31:49 +02: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 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_012zyXkUzTZGh3nBwNMtrLaW
2026-10-14 11:08:27 -07: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
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 <noreply@anthropic.com>
2026-10-12 20:31:03 +13: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 <noreply@anthropic.com>
2026-10-11 19:13:35 +09:00
darhebkf 357d4d3e8b fix(tools): check overlap against every open pull request 2026-10-09 13:49:20 +02:00