You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 86dee15
Browse filesBrowse the repository at this point in the historyBrowse files
return`${pid===undefined ? 'The runtime is owned by its host process.' : `The runtime is owned by host process ${pid}.`} Close it there with the handle returned by startAgentDevice(). If the host has exited, use daemon stop or ensureDaemon() for this state directory to recover its abandoned registration.`;
300
+
return`${pid===undefined ? 'The runtime is owned by its host process.' : `The runtime is owned by host process ${pid}.`} Close it there with the handle returned by startAgentDevice(). Recovery with daemon stop or ensureDaemon() for this state directory retires the abandoned registration only when the recorded host lifetime has provably exited.`;
return`Nothing was signaled. Check what owns that process, then repair the record: stop it by its own means and remove ${shellQuoteIfNeeded(`${paths.baseDir}/daemon.json`)} so a daemon can register again.`;
89
84
}
90
-
if(record==='embedded'){
91
-
return'Stop it without --clean, which drains it through its own close, or let the host that started it close it.';
92
-
}
93
-
return'Stop it without --clean, which asks the running process to leave and reports what it answers.';
Copy file name to clipboardExpand all lines: src/host.test.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -320,7 +320,7 @@ test('an outside stop refuses and the host keeps serving until its owner closes
320
320
).rejects.toMatchObject({
321
321
details: {
322
322
reason: 'daemon-owner-embedded',
323
-
hint: `The runtime is owned by host process ${process.pid}. Close it there with the handle returned by startAgentDevice(). If the host has exited, use daemon stop or ensureDaemon() for this state directory to recover its abandoned registration.`,
323
+
hint: `The runtime is owned by host process ${process.pid}. Close it there with the handle returned by startAgentDevice(). Recovery with daemon stop or ensureDaemon() for this state directory retires the abandoned registration only when the recorded host lifetime has provably exited.`,
0 commit comments