Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: GitHub PR sync fails behind TLS-inspecting proxy since nightly 20261006.2752 #31067

ClosedHarry1620(GitHub profile, opens in a new tab)wants to merge 5 commits intomain fromrefs/pull/31067/headopened View on GitHub

Showing 4 changed files with 62 additions and 0 deletions (loading 1).

x
0 of 4 viewed, 4 left
13 additions and 0 deletionsapps/desktop/src/backend/DesktopBackendConfiguration.test.tsModified
View file
@@ -389,6 +389,7 @@
let legacyCleanupCount = 0;
const linuxAppRoot = "/home/test/.t3/wsl-runtime/1.2.3-x64";
const resolvedPath = "/home/test/.local/bin:/usr/bin:/bin";
+ const certificateEnv = { NODE_EXTRA_CA_CERTS: "/home/test/corporate CA.pem" };
​
return withPackagedWslHarness(
@@ -410,6 +411,7 @@
observedProbeRoots.push(root);
return { ok: true, resolvedPath };
+ readCertificateEnvironment: () => certificateEnv,
ensureNodePty: () => {
throw new Error("the staged runtime must not probe for node-pty");
@@ -439,6 +441,7 @@
"--exec",
"env",
`PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${resolvedPath}`,
+ `NODE_EXTRA_CA_CERTS=${certificateEnv.NODE_EXTRA_CA_CERTS}`,
`${linuxAppRoot}/t3`,
"--bootstrap-fd",
"0",
@@ -615,6 +618,11 @@
const linuxAppRoot = "/tmp/t3 code's launch";
const linuxEntryPath = `${linuxAppRoot}/apps/server/dist/bin.mjs`;