Files
Kristoffer Dalby 40f93d6e6c .github: run SSH exit-status tests on macOS
macOS is where #18256 is user-visible: its OpenSSH stops reading at EOF,
so a wrong frame order surfaces as exit 0, and /usr/bin/login -pq
discards the child's status before the frames matter. Run the exit-code
suites against the real macOS OpenSSH binary under sudo, as `runner`.

Lands here rather than with the frame-order fix because these suites go
through the incubator, so they need both the darwin login gate and
process-group teardown to pass.

Each test step is continue-on-error with a final aggregator, so one
failure doesn't mask the other. Preflight dumps uname, sw_vers, id,
ssh -V and the resolved login shell; test logs and the root-owned
incubator log upload as a 14-day artifact, so a future failure on this
runner is diagnosable from the artifact alone.

Also fix the path filter to name ssh-integrationtest.yml, so edits to
this workflow trigger it.

Updates #18256

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2026-07-27 13:18:55 +00:00
..