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 86e2083
Browse filesBrowse the repository at this point in the historyBrowse files
improve(worker): diagnose admission-deadline failures and widen daemon revalidation budget (#130435)
WorkerAdmissionDeadlineExceededError now carries the terminal diagnosis —
the last connection failure kind and detail, attempt count, and the
redacted endpoint — instead of a bare deadline sentence, and that text
flows through IPC, container stderr, the node launch journal, and the
gateway turn error. Credential material (raw, URL-encoded, JSON-escaped)
is scrubbed before truncation. A LAN partition was misdiagnosed as a
gateway admission wedge for a day because the old text was identical for
never-connected and never-answered (#129979). Container daemon
revalidation gets a 30s budget: a slammed-but-healthy OrbStack daemon
exceeded the old 5s under a 50-container burst; fail-closed semantics
unchanged.
Copy file name to clipboardExpand all lines: src/node-host/node-worker-supervisor.container.test.ts
+78-2Lines changed: 78 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,9 @@ if (process.connected || process.argv.includes("--internal-worker-ipc")) {
33
33
process.stderr.write("container worker unexpectedly received Node IPC");
34
34
process.exit(24);
35
35
}
36
-
if (descriptor.assignment.prompt === "wait") {
36
+
if (descriptor.assignment.prompt === "admission-failure") {
37
+
throw new Error("worker admission deadline exceeded after 9 attempts to gateway.example:443: connect failed: Opening handshake has timed out " + descriptor.admission.credential);
38
+
} else if (descriptor.assignment.prompt === "wait") {
0 commit comments