Skip to content

fix(ci): parse Pages size before checking the limit - #137

Merged
VasilyZa merged 1 commit into
mainfrom
xiaobai/fix-pages-size
Dec 4, 2026
Merged

VasilyZa merged 1 commit into
mainfrom
xiaobai/fix-pages-size

Conversation

@VasilyZa

@VasilyZa VasilyZa commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Fix

The production release completed ISO and site assembly, then failed with hom: unbound variable when Bash evaluated part of the Pages path as an arithmetic expression. Read the byte-count field from GNU du before the integer comparison, and check the ISO size as an integer too.

Verification

  • Reproduced the failure with a valid prebuilt release fixture. The regression now accepts the fixture and rejects an oversized Pages site and an ISO at the Release asset limit.
  • Downloaded the verified build inputs from run 47227309072, signed a disposable repository, and ran the full publisher assemble operation. The 1,535,389,696-byte ISO and 28,362,700-byte site passed.
  • CI unit suite passed with 97 passing tests and one host-dependent skip. ShellCheck and git diff --check passed.

@VasilyZa
VasilyZa merged commit f655572 into main Dec 4, 2026
8 checks passed
@VasilyZa
VasilyZa deleted the xiaobai/fix-pages-size branch December 4, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant