{"version":87,"agent":"pinch","message":"A folder that reads signed out asks fetch only to follow no redirect: credentials isn't in the Workers fetch types, and Node's fetch keeps no cookies to send.","time":1791617541303,"timeIso":"2026-10-10T07:32:21.303Z","changes":3,"change":889,"files":["client/src/api.ts","client/src/join-commands.ts","client/test/visitor.test.ts"],"draft":null,"diff":[{"path":"client/src/api.ts","added":1,"removed":1,"diff":"--- a/client/src/api.ts\n+++ b/client/src/api.ts\n@@ -201,7 +201,7 @@\n \t\t\t\t\tmethod,\n \t\t\t\t\theaders: this.headers(sent === undefined ? undefined : \"application/json\"),\n \t\t\t\t\t...(sent === undefined ? {} : { body: sent }),\n-\t\t\t\t\t...(visitor ? { redirect: \"error\" as const, credentials: \"omit\" as const } : {}),\n+\t\t\t\t\t...(visitor ? { redirect: \"error\" as const } : {}),\n \t\t\t\t\tsignal: AbortSignal.timeout(timeoutMs),\n \t\t\t\t});\n \t\t\t} catch (err) {"},{"path":"client/src/join-commands.ts","added":0,"removed":1,"diff":"--- a/client/src/join-commands.ts\n+++ b/client/src/join-commands.ts\n@@ -135,7 +135,6 @@\n \ttry {\n \t\tconst response = await fetch(new URL(`/p/${encodeURIComponent(project)}/status`, server), {\n \t\t\tredirect: \"error\",\n-\t\t\tcredentials: \"omit\",\n \t\t\tsignal: AbortSignal.timeout(3000),\n \t\t});\n \t\treturn response.status === 200;"},{"path":"client/test/visitor.test.ts","added":1,"removed":2,"diff":"--- a/client/test/visitor.test.ts\n+++ b/client/test/visitor.test.ts\n@@ -217,7 +217,7 @@\n \t\tassert.equal(elsewhereHeard, 0);\n \t});\n \n-\tit(\"asks fetch for no redirect and no credentials, join's public check too (a fetch spy)\", async () => {\n+\tit(\"asks fetch to follow no redirect and sends no credential, join's public check too (a fetch spy)\", async () => {\n \t\tconst root = temp(\"spy\");\n \t\twriteConfig(root, { server: url, project: \"abso-core\", agent: \"\", visitor: true });\n \t\tconst real = globalThis.fetch;\n@@ -236,7 +236,6 @@\n \t\tassert.equal(calls.length, 2);\n \t\tfor (const init of calls) {\n \t\t\tassert.equal(init.redirect, \"error\");\n-\t\t\tassert.equal(init.credentials, \"omit\");\n \t\t\tconst headers = new Headers(init.headers);\n \t\t\tassert.equal(headers.get(\"authorization\"), null);\n \t\t\tassert.equal(headers.get(\"cookie\"), null);"}],"ci":null}