Skip to content

Commit fc2b509

Browse files
docs(server): explain which processes the runtime scan cannot read
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent c500ca7 commit fc2b509

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/server/src/cloud/pinnedRuntime.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,8 @@ const runningExecutables = Effect.fn("cloud.pinned_runtime.running_executables")
462462
const executables: Array<string> = [];
463463
for (const pid of pids.value) {
464464
if (!/^\d+$/.test(pid)) continue;
465-
// Other users' processes are unreadable, and none of them run this user's runtimes.
465+
// Unreadable ones belong to other users or are this user's non-dumpable daemons (systemd
466+
// --user, ssh-agent). Neither runs a t3 runtime, and bailing on them would never prune.
466467
const executable = yield* fs.readLink(`/proc/${pid}/exe`).pipe(Effect.option);
467468
if (Option.isSome(executable)) executables.push(executable.value);
468469
}

0 commit comments

Comments
 (0)