Packet agents/rocko/work/queue-79/ (packet manifest b6b11e7b, 42 files, candidate manifest 16b12387), Rocko's BUILD-LOG and SESSIONS appends. Committed by Sage for Rocko, who has no credential. Co-Authored-By: Claude Opus 5.5 <[email protected]>
36 lines
3.0 KiB
Plaintext
36 lines
3.0 KiB
Plaintext
✔ resolveSeat: by name under --repo resolves the repo layout (2.906146ms)
|
||
✔ resolveSeat: by path resolves the fleet layout (0.779689ms)
|
||
✔ resolveSeat: refusals for missing dir, missing launch.sh, non-executable launch.sh, invalid name, and unknown layout (1.668958ms)
|
||
✔ tmuxContext: outside tmux, default socket, custom socket, and exec failure (1.375449ms)
|
||
✔ makeRegistration produces a record that validates; each shape violation throws SeatError (1.682596ms)
|
||
✔ writeRegistration/readRegistration: round trip, permissions, absence, and malformed records (2.811175ms)
|
||
✔ updateTask: changes task, taskSetBy and updatedAt only, and refuses appropriately (2.527075ms)
|
||
✔ CLI launch: registers, execs the fake launch script, and passes args through (47.092168ms)
|
||
✔ CLI launch: --harness lands in the record (44.521233ms)
|
||
✔ CLI launch: the launch script's own exit code passes through (47.042592ms)
|
||
✔ CLI launch: relaunching a seat rewrites the one registration record (108.56695ms)
|
||
✔ CLI launch: omitting --task records an empty string, not null (50.970252ms)
|
||
✔ CLI seat task: updates only the task after a launch, and refuses on an unlaunched seat (166.7263ms)
|
||
✔ CLI refusals: no args, unknown flag, missing config, already-registered env, and exec failure (253.281917ms)
|
||
✔ samePath: equal paths, symlinked dirs, distinct dirs, and non-strings (0.716742ms)
|
||
✔ resolveSetBy: explicit --by wins over the environment; absent or empty environment gives unknown; invalid explicit or environment values refuse with exit 4 (1.234669ms)
|
||
✔ validateRegistration/readRegistration: taskSetBy is optional; a record without it (written before #1511) still loads unchanged; an invalid one is refused; the version does not change (1.031888ms)
|
||
✔ updateTask: records setBy, preserves startedAt and every unrelated field, upgrades an old record in place only when the task is set, and replaces a previous attribution (1.777342ms)
|
||
✔ CLI seat task: --by beats MOSAIC_AGENT_NAME, the environment beats nothing, empty environment is unknown, invalid --by or environment refuses with exit 4 and leaves the record byte for byte (524.917291ms)
|
||
✔ family: exactly one launch.max key in the model name, else null (0.88077ms)
|
||
✔ sessionEnv passes only the allowlist, the repo's bin on PATH, and the run id (0.951983ms)
|
||
✔ newRun: short ids, 0700 directories, and a refusal when the socket path won't fit (2.668467ms)
|
||
✔ session file and launch log: 0600, the session file written once (1.657492ms)
|
||
✔ endReason maps the runner's exit codes; a signal is killed (0.191811ms)
|
||
✔ Registry mirrors to sessions.json; readSessions marks live entries; bad files refuse (1.892694ms)
|
||
✔ stopSession refuses an unknown run, reports a stale one, and won't signal a pid that isn't a runner (1.440688ms)
|
||
✔ a session runs under unshare as pid 1 of its namespace, claims, answers, and stops on mosaic stop (248.912611ms)
|
||
ℹ tests 27
|
||
ℹ suites 0
|
||
ℹ pass 27
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 1364.839999
|