Files
gstack/lib/pregate
Garry Tanandcapy-ai[bot] 654ad4b6fe Stop /ship failing on test files under hidden folders like .github (GST-2640) (#4348)
* Run /ship test lanes on test files under hidden folders like .github (GST-2640)

Bun reads a bare relative path as a name filter that skips hidden folders, so the pregate lane ran nothing for .github/scripts tests and failed. Pass every relative test path to bun test as ./<path>.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* Add ./ to test paths for bun runners that pass flags before test, and cover the remaining callers

The lanes check now also anchors paths when the runner is written as bun --no-env-file test {files}, the form gstack's own docs show. New tests cover the base-red select, the CI carry per-file command and the remote-gate command a small machine records.

Review-Finding: p1/red-team#1 reader=red-team
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>
2026-11-13 23:46:15 +00:00
..