nixbot

builds

failed agent-deck-1.16.17 checks.aarch64-darwin.pkgs-agent-deck · build #5739 · raw

1Using versionCheckHook
unpackPhase
2unpacking source archive /nix/store/ijiwwpqrlly0wbkvd5ig69v1d1fflp4c-source3source root is source
buildPhase
4Building subPackage ./cmd/agent-deck
checkPhase
5--- FAIL: TestCodexAcceptanceGuardAcceptsFreshComposerThread (10.35s)6 codex_fresh_composer_send_test.go:48: pane process never held the writer lock (live thread "")72026/09/26 09:18:01 WARN codex_hook_status_unreadable instance=partial path=/private/tmp/nix-1q0yCv/TestWriteCodexHookStatus_PartialPriorFailsClosed564607517/001/.local/share/agent-deck/hooks/partial.json bytes=108Codex notify hook installed successfully.9Config: /private/tmp/nix-1q0yCv/TestCodexHooksInstallUninstall1831650325/001/.codex/config.toml10Codex notify hook removed successfully.11Codex notify hook upgraded successfully.12Config: /private/tmp/nix-1q0yCv/TestCodexHooksInstall_UpgradesLegacyTableWithoutMarkers1135651764/001/.codex/config.toml13Codex notify hook upgraded successfully.14Config: /private/tmp/nix-1q0yCv/TestCodexHooksInstall_UpgradesLegacyMarkerBlock3442215695/001/.codex/config.toml15--- FAIL: TestCoreRegistryMatchesLegacyHandlers (15.18s)16 core_cli_test.go:271: "session restart alpha --force" differs17 exit legacy=1 registry=118 --- legacy stdout ---19 20 --- registry stdout ---21 22 --- legacy stderr ---23 Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49014) could not be identified, so anything it started is unaccounted for; nothing was signalled)24 unverifiable: pid=49014 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH25 Nothing was started and nothing was signalled.26 Inspect: agent-deck session ownership inspect b29468a4-179041428227 Reap and clear: agent-deck session ownership reconcile b29468a4-179041428228 29 --- registry stderr ---30 Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49054) could not be identified, so anything it started is unaccounted for; nothing was signalled)31 unverifiable: pid=49054 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH32 Nothing was started and nothing was signalled.33 Inspect: agent-deck session ownership inspect b29468a4-179041428234 Reap and clear: agent-deck session ownership reconcile b29468a4-179041428235 core_cli_test.go:266: "session restart alpha --force --json": exit 1, stdout "{\n \"code\": \"INVALID_OPERATION\",\n \"error\": \"failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49054) could not be identified, so anything it started is unaccounted for; nothing was signalled)\\n unverifiable: pid=49054 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \\\"sysctl\\\": executable file not found in $PATH\\nNothing was started and nothing was signalled.\\nInspect: agent-deck session ownership inspect b29468a4-1790414282\\nReap and clear: agent-deck session ownership reconcile b29468a4-1790414282\",\n \"success\": false\n}\n", want success containing "\"success\": true" (stderr "")36 core_cli_test.go:271: "session restart alpha --force --json" differs37 exit legacy=1 registry=138 --- legacy stdout ---39 {40 "code": "INVALID_OPERATION",41 "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49014) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=49014 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect b29468a4-1790414282\nReap and clear: agent-deck session ownership reconcile b29468a4-1790414282",42 "success": false43 }44 45 --- registry stdout ---46 {47 "code": "INVALID_OPERATION",48 "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49054) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=49054 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect b29468a4-1790414282\nReap and clear: agent-deck session ownership reconcile b29468a4-1790414282",49 "success": false50 }51 52 --- legacy stderr ---53 54 --- registry stderr ---55 core_cli_test.go:271: "session restart beta --env FOO=bar --json" differs56 exit legacy=1 registry=157 --- legacy stdout ---58 {59 "code": "INVALID_OPERATION",60 "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49104) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=49104 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect be97b1b3-1790414282\nReap and clear: agent-deck session ownership reconcile be97b1b3-1790414282",61 "success": false62 }63 64 --- registry stdout ---65 {66 "code": "INVALID_OPERATION",67 "error": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49140) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=49140 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect be97b1b3-1790414282\nReap and clear: agent-deck session ownership reconcile be97b1b3-1790414282",68 "success": false69 }70 71 --- legacy stderr ---72 73 --- registry stderr ---74 core_cli_test.go:271: "session restart --all --json" differs75 exit legacy=1 registry=176 --- legacy stdout ---77 {78 "abandoned": 0,79 "auth_deaths": 0,80 "auth_tripped": false,81 "failed": 3,82 "restarted": 0,83 "sessions": [84 {85 "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49014) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=49014 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect b29468a4-1790414282\nReap and clear: agent-deck session ownership reconcile b29468a4-1790414282",86 "id": "b29468a4-1790414282",87 "success": false,88 "title": "alpha"89 },90 {91 "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49104) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=49104 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect be97b1b3-1790414282\nReap and clear: agent-deck session ownership reconcile be97b1b3-1790414282",92 "id": "be97b1b3-1790414282",93 "success": false,94 "title": "beta"95 },96 {97 "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49176) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=49176 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect c71421ef-1790414282\nReap and clear: agent-deck session ownership reconcile c71421ef-1790414282",98 "id": "c71421ef-1790414282",99 "success": false,100 "title": "gamma"101 }102 ],103 "skipped_auth": 0,104 "success": false,105 "total": 3,106 "trip_message": ""107 }108 109 --- registry stdout ---110 {111 "abandoned": 0,112 "auth_deaths": 0,113 "auth_tripped": false,114 "failed": 3,115 "restarted": 0,116 "sessions": [117 {118 "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49054) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=49054 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect b29468a4-1790414282\nReap and clear: agent-deck session ownership reconcile b29468a4-1790414282",119 "id": "b29468a4-1790414282",120 "success": false,121 "title": "alpha"122 },123 {124 "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49140) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=49140 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect be97b1b3-1790414282\nReap and clear: agent-deck session ownership reconcile be97b1b3-1790414282",125 "id": "be97b1b3-1790414282",126 "success": false,127 "title": "beta"128 },129 {130 "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49212) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=49212 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect c71421ef-1790414282\nReap and clear: agent-deck session ownership reconcile c71421ef-1790414282",131 "id": "c71421ef-1790414282",132 "success": false,133 "title": "gamma"134 }135 ],136 "skipped_auth": 0,137 "success": false,138 "total": 3,139 "trip_message": ""140 }141 142 --- legacy stderr ---143 144 --- registry stderr ---145 core_cli_test.go:271: "session restart --all" differs146 exit legacy=1 registry=1147 --- legacy stdout ---148 Restarting alpha...149 Restarting beta...150 Restarting gamma...151 Restarted 0/3 sessions (3 failed)152 153 --- registry stdout ---154 Restarting alpha...155 Restarting beta...156 Restarting gamma...157 Restarted 0/3 sessions (3 failed)158 159 --- legacy stderr ---160 Error: failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49014) could not be identified, so anything it started is unaccounted for; nothing was signalled)161 unverifiable: pid=49014 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH162 Nothing was started and nothing was signalled.163 Inspect: agent-deck session ownership inspect b29468a4-1790414282164 Reap and clear: agent-deck session ownership reconcile b29468a4-1790414282165 Error: failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49104) could not be identified, so anything it started is unaccounted for; nothing was signalled)166 unverifiable: pid=49104 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH167 Nothing was started and nothing was signalled.168 Inspect: agent-deck session ownership inspect be97b1b3-1790414282169 Reap and clear: agent-deck session ownership reconcile be97b1b3-1790414282170 Error: failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49176) could not be identified, so anything it started is unaccounted for; nothing was signalled)171 unverifiable: pid=49176 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH172 Nothing was started and nothing was signalled.173 Inspect: agent-deck session ownership inspect c71421ef-1790414282174 Reap and clear: agent-deck session ownership reconcile c71421ef-1790414282175 176 --- registry stderr ---177 Error: failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49054) could not be identified, so anything it started is unaccounted for; nothing was signalled)178 unverifiable: pid=49054 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH179 Nothing was started and nothing was signalled.180 Inspect: agent-deck session ownership inspect b29468a4-1790414282181 Reap and clear: agent-deck session ownership reconcile b29468a4-1790414282182 Error: failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49140) could not be identified, so anything it started is unaccounted for; nothing was signalled)183 unverifiable: pid=49140 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH184 Nothing was started and nothing was signalled.185 Inspect: agent-deck session ownership inspect be97b1b3-1790414282186 Reap and clear: agent-deck session ownership reconcile be97b1b3-1790414282187 Error: failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 49212) could not be identified, so anything it started is unaccounted for; nothing was signalled)188 unverifiable: pid=49212 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH189 Nothing was started and nothing was signalled.190 Inspect: agent-deck session ownership inspect c71421ef-1790414282191 Reap and clear: agent-deck session ownership reconcile c71421ef-1790414282192--- FAIL: TestDaemonEnvelopesMatchArgv (3.71s)193 daemon_cmd_test.go:199: start (daemon CLI): ok=false, want true194 {195 "schema": "agent-deck/session.start/v1",196 "request_id": "d81477c4911f5632",197 "ok": false,198 "data": null,199 "warnings": [],200 "revision": null,201 "error": {202 "code": "INVALID_OPERATION",203 "message": "failed to start session: start refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50021) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=50021 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 89669f73-1790414299\nReap and clear: agent-deck session ownership reconcile 89669f73-1790414299"204 }205 }206 daemon_cmd_test.go:224: start: envelopes differ207 argv: {"data":{"group":"work","id":"89669f73-1790414299","status":"started","title":"alpha","tmux":"agentdeck_alpha_6d68878c"},"ok":true,"request_id":"\u003cID\u003e","revision":null,"schema":"agent-deck/session.start/v1","warnings":[]}208 daemon: {"data":null,"error":{"code":"INVALID_OPERATION","message":"failed to start session: start refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50021) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=50021 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 89669f73-1790414299\nReap and clear: agent-deck session ownership reconcile 89669f73-1790414299"},"ok":false,"request_id":"\u003cID\u003e","revision":null,"schema":"agent-deck/session.start/v1","warnings":[]}209 daemon_cmd_test.go:199: restart fresh session is skipped (argv): ok=false, want true210 {211 "schema": "agent-deck/session.restart/v1",212 "request_id": "f4452bccb232ab0c",213 "ok": false,214 "data": null,215 "warnings": [],216 "revision": null,217 "error": {218 "code": "INVALID_OPERATION",219 "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50021) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=50021 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 89669f73-1790414299\nReap and clear: agent-deck session ownership reconcile 89669f73-1790414299"220 }221 }222 daemon_cmd_test.go:199: restart fresh session is skipped (daemon CLI): ok=false, want true223 {224 "schema": "agent-deck/session.restart/v1",225 "request_id": "f9d823605c1e5c1a",226 "ok": false,227 "data": null,228 "warnings": [],229 "revision": null,230 "error": {231 "code": "INVALID_OPERATION",232 "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50021) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=50021 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 89669f73-1790414299\nReap and clear: agent-deck session ownership reconcile 89669f73-1790414299"233 }234 }235 daemon_cmd_test.go:199: restart --force (argv): ok=false, want true236 {237 "schema": "agent-deck/session.restart/v1",238 "request_id": "cfafe6f9ae27e7ea",239 "ok": false,240 "data": null,241 "warnings": [],242 "revision": null,243 "error": {244 "code": "INVALID_OPERATION",245 "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50021) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=50021 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 89669f73-1790414299\nReap and clear: agent-deck session ownership reconcile 89669f73-1790414299"246 }247 }248 daemon_cmd_test.go:199: restart --force (daemon CLI): ok=false, want true249 {250 "schema": "agent-deck/session.restart/v1",251 "request_id": "295b56915c510852",252 "ok": false,253 "data": null,254 "warnings": [],255 "revision": null,256 "error": {257 "code": "INVALID_OPERATION",258 "message": "failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50021) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=50021 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 89669f73-1790414299\nReap and clear: agent-deck session ownership reconcile 89669f73-1790414299"259 }260 }261 daemon_cmd_test.go:199: restart --all (argv): ok=false, want true262 {263 "schema": "agent-deck/session.restart/v1",264 "request_id": "01b2fce99ce33abe",265 "ok": false,266 "data": null,267 "warnings": [],268 "revision": null,269 "error": {270 "code": "NO_ACTIVE_SESSIONS",271 "message": "no active sessions to restart"272 }273 }274 daemon_cmd_test.go:199: restart --all (daemon CLI): ok=false, want true275 {276 "schema": "agent-deck/session.restart/v1",277 "request_id": "81446fae4e425cf1",278 "ok": false,279 "data": null,280 "warnings": [],281 "revision": null,282 "error": {283 "code": "NO_ACTIVE_SESSIONS",284 "message": "no active sessions to restart"285 }286 }287 daemon_cmd_test.go:199: stop (argv): ok=false, want true288 {289 "schema": "agent-deck/session.stop/v1",290 "request_id": "2c8874a646dbee2b",291 "ok": false,292 "data": null,293 "warnings": [],294 "revision": null,295 "error": {296 "code": "NOT_RUNNING",297 "message": "session 'alpha' is not running"298 }299 }300 daemon_cmd_test.go:199: stop setup session start alpha --json=envelope: ok=false, want true301 {302 "schema": "agent-deck/session.start/v1",303 "request_id": "846d183ecde94ad2",304 "ok": false,305 "data": null,306 "warnings": [],307 "revision": null,308 "error": {309 "code": "INVALID_OPERATION",310 "message": "failed to start session: start refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50021) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=50021 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 89669f73-1790414299\nReap and clear: agent-deck session ownership reconcile 89669f73-1790414299"311 }312 }313 daemon_cmd_test.go:199: stop (daemon CLI): ok=false, want true314 {315 "schema": "agent-deck/session.stop/v1",316 "request_id": "50f23a63e723668a",317 "ok": false,318 "data": null,319 "warnings": [],320 "revision": null,321 "error": {322 "code": "NOT_RUNNING",323 "message": "session 'alpha' is not running"324 }325 }326--- FAIL: TestDaemonRestartAllReturnsCompletedResult (8.16s)327 daemon_cmd_test.go:281: restart --all returned exit 1, result {OK:true Data:{All:{Total:5 Restarted:0 Failed:5 SkippedAuth:0 AuthDeaths:0 Abandoned:0 AuthTripped:false TripMessage: Sessions:[{ID:44274119-1790414302 Title:alpha Success:0x73f1732719c9 Error:failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50210) could not be identified, so anything it started is unaccounted for; nothing was signalled)328 unverifiable: pid=50210 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH329 Nothing was started and nothing was signalled.330 Inspect: agent-deck session ownership inspect 44274119-1790414302331 Reap and clear: agent-deck session ownership reconcile 44274119-1790414302 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false} {ID:848f61a8-1790414302 Title:beta Success:0x73f1732719d0 Error:failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50248) could not be identified, so anything it started is unaccounted for; nothing was signalled)332 unverifiable: pid=50248 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH333 Nothing was started and nothing was signalled.334 Inspect: agent-deck session ownership inspect 848f61a8-1790414302335 Reap and clear: agent-deck session ownership reconcile 848f61a8-1790414302 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false} {ID:4e26d553-1790414302 Title:gamma Success:0x73f1732719d6 Error:failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50284) could not be identified, so anything it started is unaccounted for; nothing was signalled)336 unverifiable: pid=50284 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH337 Nothing was started and nothing was signalled.338 Inspect: agent-deck session ownership inspect 4e26d553-1790414302339 Reap and clear: agent-deck session ownership reconcile 4e26d553-1790414302 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false} {ID:61b12e11-1790414302 Title:delta Success:0x73f1732719dc Error:failed to restart session 'delta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50320) could not be identified, so anything it started is unaccounted for; nothing was signalled)340 unverifiable: pid=50320 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH341 Nothing was started and nothing was signalled.342 Inspect: agent-deck session ownership inspect 61b12e11-1790414302343 Reap and clear: agent-deck session ownership reconcile 61b12e11-1790414302 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false} {ID:d21b1f1f-1790414302 Title:epsilon Success:0x73f1732719e7 Error:failed to restart session 'epsilon': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50356) could not be identified, so anything it started is unaccounted for; nothing was signalled)344 unverifiable: pid=50356 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH345 Nothing was started and nothing was signalled.346 Inspect: agent-deck session ownership inspect d21b1f1f-1790414302347 Reap and clear: agent-deck session ownership reconcile d21b1f1f-1790414302 SpawnFailure:<nil> Warning: Skipped:false Reason: AuthDeath:false}]}}}: {348 "schema": "agent-deck/session.restart/v1",349 "request_id": "185bb4d8aeb6e267",350 "ok": true,351 "data": {352 "all": {353 "total": 5,354 "restarted": 0,355 "failed": 5,356 "skipped_auth": 0,357 "auth_deaths": 0,358 "abandoned": 0,359 "auth_tripped": false,360 "trip_message": "",361 "sessions": [362 {363 "id": "44274119-1790414302",364 "title": "alpha",365 "success": false,366 "error": "failed to restart session 'alpha': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50210) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=50210 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 44274119-1790414302\nReap and clear: agent-deck session ownership reconcile 44274119-1790414302"367 },368 {369 "id": "848f61a8-1790414302",370 "title": "beta",371 "success": false,372 "error": "failed to restart session 'beta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50248) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=50248 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 848f61a8-1790414302\nReap and clear: agent-deck session ownership reconcile 848f61a8-1790414302"373 },374 {375 "id": "4e26d553-1790414302",376 "title": "gamma",377 "success": false,378 "error": "failed to restart session 'gamma': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50284) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=50284 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 4e26d553-1790414302\nReap and clear: agent-deck session ownership reconcile 4e26d553-1790414302"379 },380 {381 "id": "61b12e11-1790414302",382 "title": "delta",383 "success": false,384 "error": "failed to restart session 'delta': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50320) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=50320 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect 61b12e11-1790414302\nReap and clear: agent-deck session ownership reconcile 61b12e11-1790414302"385 },386 {387 "id": "d21b1f1f-1790414302",388 "title": "epsilon",389 "success": false,390 "error": "failed to restart session 'epsilon': restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 50356) could not be identified, so anything it started is unaccounted for; nothing was signalled)\n unverifiable: pid=50356 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: \"sysctl\": executable file not found in $PATH\nNothing was started and nothing was signalled.\nInspect: agent-deck session ownership inspect d21b1f1f-1790414302\nReap and clear: agent-deck session ownership reconcile d21b1f1f-1790414302"391 }392 ]393 }394 },395 "warnings": [],396 "revision": null397 }398 399agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-1q0yCv/TestEventProfileUsesStorageFallbackForMissingInference2496637110/001/.claude-ghost" would select profile "ghost", which does not exist; falling back to profile "work" instead of creating it. Known profiles: none yet. Pass -p/--profile or set AGENTDECK_PROFILE explicitly to pick a different profile, run `agent-deck profile create ghost` if you intend to create it, or unset CLAUDE_CONFIG_DIR to use the default profile.400Gemini hooks installed successfully.401Config: /private/tmp/nix-1q0yCv/TestGeminiHooksInstallUninstall1413378490/001/.gemini/settings.json402Gemini hooks removed successfully.403--- FAIL: TestStorageBytesGoldens (1.88s)404 goldens_storage_test.go:81: agent-deck session start golden-sess-shell --no-wait (exit 0):405 stdout:406 ✓ Started session: storage bytes shell407 408 stderr:409 goldens_storage_test.go:85: agent-deck session stop golden-sess-shell (exit 0):410 stdout:411 ✓ Stopped session: storage bytes shell412 413 stderr:414 goldens_storage_test.go:89: agent-deck session restart golden-sess-shell (exit 1):415 stdout:416 417 stderr:418 Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 51208) could not be identified, so anything it started is unaccounted for; nothing was signalled)419 unverifiable: pid=51208 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH420 Nothing was started and nothing was signalled.421 Inspect: agent-deck session ownership inspect golden-sess-shell422 Reap and clear: agent-deck session ownership reconcile golden-sess-shell423 goldens_storage_test.go:89: agent-deck session restart golden-sess-shell: exit 1424 stdout:425 426 stderr:427 Error: failed to restart session: restart refused: this session still owns processes from an earlier spawn (the spawn's pane process (pid 51208) could not be identified, so anything it started is unaccounted for; nothing was signalled)428 unverifiable: pid=51208 start= uid=0 role=leader — identity could not be read at spawn: process identity is unreadable: read kern.boottime: exec: "sysctl": executable file not found in $PATH429 Nothing was started and nothing was signalled.430 Inspect: agent-deck session ownership inspect golden-sess-shell431 Reap and clear: agent-deck session ownership reconcile golden-sess-shell432✓ Reordered group 'Beta': position 1 → 0433✓ Reordered group 'Beta': position 1 → 2434✓ Reordered group 'Gamma': position 2 → 0435✓ Reordered group 'Alpha': position 0 → 0436✓ Reordered group 'Gamma': position 2 → 2437✓ Reordered group 'Alpha': position 0 → 2438Removing worktree at ~/wt-1576...439 ✓ Worktree removed440swept 1 stale inbox event(s) for removed session441442✓ Finished: session 'wt-finish-1576' removed, worktree cleaned up443remote-agent: probe: storage gone444remote-agent: binary upgraded (running v1.16.17); exiting so the controller reconnects445remote-agent: probe produced no listing (Error: database is locked)446remote-agent: probe produced no listing ([])447remote-agent: no input for 300ms, exiting448449═══ Remote: offline (a@offline) ═══450 – Skipped: agent-deck not found on remote or host unreachable451452═══ Remote: offline (a@offline) ═══453 ✗ Failed: stub: no platform454A remote sweep is already running on this controller (pid 47761, started 9:19AM); waiting for it...455456═══ Remote: lab (a@lab) ═══457 – Skipped: sweep already in progress, remote lab is being updated by 47761458459═══ Remote: other (a@other) ═══460 ✓ Up to date (v1.16.0)461462═══ Remote: lab (a@lab) ═══463 ✓ Up to date (v1.16.0)464465═══ Remote: other (a@other) ═══466 ✓ Up to date (v1.16.0)467Warning: the session restarted, but its new tmux name could not be recorded: record restart outcome for tmux session "agentdeck_cli-restart-target_acd902ae": record restart outcome for "0582261a-1790414392": instance row not found468 The session is running; agent-deck may show it as errored until the name is saved.469Warning: output freshness timeout (300ms) — response may be stale470Warning: output freshness timeout (300ms) — response may be stale471Warning: output freshness timeout (300ms) — response may be stale472Launch agent re-registration deferred: a remote sweep (pid 12345, started 09:21:18) is still running473Imported 2 channel(s)474 C0AABSF5GKD -> si-bugs/watcher.toml475 C1BBCDF6HLE -> feat-req/watcher.toml476477Note: Set the ntfy topic in each watcher.toml (all Slack channels478share one ntfy topic from the Cloudflare Worker).479Clients written to: /private/tmp/nix-1q0yCv/TestImportChannels_EndToEnd3297481465/002/clients.json480Imported 1 channel(s)481 C0AABSF5GKD -> si-bugs/watcher.toml482483Note: Set the ntfy topic in each watcher.toml (all Slack channels484share one ntfy topic from the Cloudflare Worker).485Clients written to: /private/tmp/nix-1q0yCv/TestImportChannels_Idempotent917175465/002/clients.json486Imported 1 channel(s)487 C0AABSF5GKD -> si-bugs/watcher.toml488489Note: Set the ntfy topic in each watcher.toml (all Slack channels490share one ntfy topic from the Cloudflare Worker).491Clients written to: /private/tmp/nix-1q0yCv/TestImportChannels_Idempotent917175465/002/clients.json492Imported 0 channel(s)493Clients written to: /private/tmp/nix-1q0yCv/TestImportChannels_EmptyChannels2207933406/002/clients.json494Installed skill: watcher-creator -> /private/tmp/nix-1q0yCv/TestWatcherInstallSkill2664593370/001/xdg-config/agent-deck/skills/pool/watcher-creator495Installed skill: watcher-creator -> /private/tmp/nix-1q0yCv/TestWatcherInstallSkill_DirMode1475358540/001/xdg-config/agent-deck/skills/pool/watcher-creator496Created watcher: create-topic-ntfy (type: ntfy)497Created watcher: create-topic-slack (type: slack)498Installed skill: watcher-creator -> /private/tmp/nix-1q0yCv/TestXDGTask6_WatcherInstallSkillUsesConfiguredPoolPath2216048021/001/xdg-config/agent-deck/skills/pool/watcher-creator499FAIL500FAIL github.com/asheshgoplani/agent-deck/cmd/agent-deck 227.015s501FAIL