mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-17 21:54:30 +01:00
* Run large unit suites on Linux instead of failing with argument list too long A lane passed every unit file in one bash -c argument; Linux caps one argument at 128 KiB, so thousands of files failed with E2BIG. Split the file list into byte-bounded chunks run in sequence and read back as one run, and classify E2BIG as its own arg-limit cause. Fixes #4424 Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: pre-landing review fixes Put the failing fixture file last after sorting so the arg-limit test really checks a failure in the final chunk. Review-Finding: p1/specialist-batched#1 reader=testing Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs: note the Windows chunk size for split lane file lists Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --------- Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
5dcd76b4ea
commit
5b4fa9ea33
6 files changed
+139
-11
No files matched your search
+6
-1
@@ -428,7 +428,11 @@ Two stages with separate clocks, both printed:
|
||||
`workflow.yml/job`, unless `local` names that lane. `--explain` prints each test's provenance and every
|
||||
uncertain mapping (a planner-computed matrix without a `selection` manifest
|
||||
selects conservatively). Test files matching `serial_patterns` (default
|
||||
`**/*.serial.test.*`) run one process per file after the unit files. The
|
||||
`**/*.serial.test.*`) run one process per file after the unit files. A unit
|
||||
group whose quoted file list would pass the system's argument limits (Linux
|
||||
caps one argument at 128 KiB) runs as several runner processes in sequence,
|
||||
each under about 96 KB of file arguments (24 KB on Windows), read back as one run: counts add up,
|
||||
any failing chunk fails the lane, and they share the group's one `--timeout`. The
|
||||
runner and every guard run with the verified launch Bun first on PATH: the
|
||||
first of `$BUN_INSTALL/bin` and `~/.bun/bin` whose Bun satisfies gstack's and
|
||||
the project's `engines.bun` (the row prints `runtime: bun <v> from <dir>`),
|
||||
@@ -1858,6 +1862,7 @@ failure the branch caused carries `cause: "diff"` (`PREGATE_LANE_FAILED`,
|
||||
| Kind | Evidence |
|
||||
|---|---|
|
||||
| `missing-binary` | exit 127, `command not found`, a spawn `ENOENT`, a runner tool `not on PATH` (dart, flutter, cargo, a package manager, `python3`, or `pytest` when python3 cannot import it), Playwright's browsers not installed |
|
||||
| `arg-limit` | `E2BIG`, `Argument list too long`: a command line or environment over the system's limit. gstack splits a lane's file list to stay under it, so this is a gstack bug to report |
|
||||
| `network` | `ENOTFOUND`, `ECONNREFUSED`, `ECONNRESET`, `ETIMEDOUT`, `EAI_AGAIN`, `Could not resolve host`, `fetch failed`, a TLS handshake or certificate failure |
|
||||
| `quota` | `quota`, `429 Too Many Requests`, `rate limit`, `insufficient_quota` (a vCPU quota on the remote backend) |
|
||||
| `disk` | `ENOSPC`, `No space left on device`, `EDQUOT` |
|
||||
|
||||
Reference in new issue
Block a user