Skip to content

test(deploy): pass the large path list on stdin, not in the environment - #41

Merged
datlechin merged 1 commit into
mainfrom
fix/deploy-test-stdin
Oct 4, 2026
Merged

datlechin merged 1 commit into
mainfrom
fix/deploy-test-stdin

Conversation

@datlechin

Copy link
Copy Markdown
Member

#40's new test put a 190 KB path list in an environment variable. Linux caps a single environment string at 128 KB, so on CI proc_open failed with "Argument list too long" and main went red (the deploy was skipped). macOS has no such cap, so it passed locally. The list now goes in on stdin. The test still runs the script's own changed() under set -euo pipefail against a list larger than a pipe buffer.

Linux caps a single environment string at 128 KB, so the 190 KB list the
pipe-buffer test builds made proc_open fail with "Argument list too long"
on CI. macOS has no such cap, which is why it passed locally.
@datlechin
datlechin merged commit 0641605 into main Oct 4, 2026
5 checks passed
@datlechin
datlechin deleted the fix/deploy-test-stdin branch October 4, 2026 19:57
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