Skip to content

v0.1.484

Choose a tag to compare

@github-actions github-actions released this 14 Nov 09:10
0972b58
Fix the failed workflow "Screenshots" on main (#1915)

* fix: publish the screenshots of a large change

The publish job gave the section to python3 in an environment
variable. Linux refuses one value of more than 128 KB, so python3
failed with "Argument list too long" when many screens changed.
The job now writes the section to a file and reads it from there.

GitHub also refuses a pull request body of more than 65,535
characters. The job now lists at most 60 screens and gives the
number of the other screens with a link to the run.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix: publish the screenshots of a large change

The publish job gave the section to python3 in an environment
variable. Linux refuses one value of more than 128 KiB, so python3
failed with "Argument list too long" when many screens changed.
Both copies of set_section now write the section to a file, and
python3 reads it from there.

GitHub also refuses a pull request body of more than 65,535
characters. Python now removes table rows from the end until the
body fits. It then adds one line with the number of the hidden
screens and a link to the folder of the pull request on the branch
screenshots.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: mobius-toolkit[bot] <335179271+mobius-toolkit[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>