Commit Graph
11 Commits
Author SHA1 Message Date
Dean 6dca6acab4 Merge pull request #11512 from pushkarreddyy/fix/prepare-release-notes-json-shapes
fix(tools): handle unexpected JSON response shapes in prepare_release_notes
2026-10-27 19:01:50 +13:00
pushkarreddyy b9549deef1 fix(tools): validate release notes JSON shape before reading body 2026-10-26 23:15:57 +05:30
StoneDC 50f74d1dd8 fix(tools): reject oversized final release note bodies 2026-10-26 20:54:35 +08:00
emirplus 2683388f93 fix(tools): handle errors cleanly and reconfigure streams in prepare_release_notes
Wrap the prepare_release_notes entrypoint in main(argv=None) with UTF-8
stream reconfiguration using backslashreplace error handling.

Decode release notes JSON with utf-8-sig to accept UTF-8 BOM headers.
Catch OSError and ValueError in main and report them via parser.error
rather than propagating unhandled tracebacks.
2026-10-23 16:27:20 +03:00
emirplus 4436a42ad8 fix(tools): create parent directory for body output in prepare_release_notes 2026-10-19 20:27:35 +03:00
Adrià 4b462ef602 Merge pull request #6795 from simonbronk/codex/release-note-destination-preflight
fix(release): preflight note destinations before writing
2026-10-19 15:14:44 +02:00
javierUDP 02c7da7677 fix: keep the Python tools and tests on Python 3.9
`Path.write_text(newline=...)` and `zip(strict=True)` were added in
Python 3.10. macOS ships 3.9.6 as /usr/bin/python3, the interpreter CMake
finds when no newer one is installed, so `prepare_release_notes` raised
TypeError when the release workflow wrote its notes and the
`pr_overlap_tools`, `release_package` and `linux_fixed_base` tests failed
on a stock macOS host. Writing the encoded text keeps the newline
translation off on every host, and the dynamic tag counts are compared
before the pairs are walked.
2026-10-17 10:31:10 -03:00
simonbronk b0f3ff18a5 fix(release): preflight note destinations before writing 2026-10-16 14:21:40 +02:00
MrMha bca123a7b9 fix: reject aliased release note input and outputs 2026-10-15 18:54:04 +04:00
boykopovar a48c00660e refactor(ci): refactor release notes prepare py 2026-10-14 10:52:14 +03:00
boykopovar 6d35b92ba6 feat(ci): truncate long release commits list 2026-10-14 10:48:45 +03:00