Files
metal2vulkan/scripts
Anees Iqbal 6ab8b5da26 matrix: a job's script travels in its environment, not on its command line
The UHD 630 leg's harness job has failed in three matrices (0bd215eee3 among them, job
m3-max-45587) with "bash: -c: line 49: unexpected EOF while looking for matching `''" before any
row ran. The Windows host starts a job's command through a command line cut at 8,191
characters. The harness leg's script carries every leg's per-row limits and grew from 3,271
bytes at aaf4d16993 (last good UHD harness run) to 12,837 at 0bd215eee3 and 16,075 at
b2e33dba6d. Byte 8,191 of the 0bd215eee3 script falls on its line 49, the line bash named.

The script now goes in the job's environment (M2V_JOB, read and unset before it runs), and the
command line is a fixed one-liner, on every node. A Windows variable holds 32,767 characters.

Verified: the 0bd215eee3 and b2e33dba6d scripts parse with bash -n on macOS (so the script itself
is whole); a test job on the mini with an 18,627-byte script in M2V_JOB, against the same script
as the argument (control), is in the landing message.
2026-11-18 03:39:53 -08:00
..