(host: string)
| 52 | }); |
| 53 | |
| 54 | async function boot(host: string): Promise<RunningServer> { |
| 55 | const r = await startServer({ |
| 56 | serviceOverrides: [fixedTokenAuth()], |
| 57 | host, |
| 58 | port: 0, |
| 59 | lockPath: host === '0.0.0.0' ? join(tmpDir, `lock-${host}`) : lockPath, |
| 60 | logger: pino({ level: 'silent' }), |
| 61 | coreProcessOptions: { homeDir: bridgeHome }, |
| 62 | debugEndpoints: true, |
| 63 | // M6.3: acknowledge the lack of a TLS proxy so the 0.0.0.0 bind is allowed |
| 64 | // (loopback ignores this — the gate only fires for non-loopback). |
| 65 | insecureNoTls: true, |
| 66 | }); |
| 67 | running.push(r); |
| 68 | return r; |
| 69 | } |
| 70 | |
| 71 | /** Probe a debug route on `127.0.0.1:<port>` regardless of the bound host. */ |
| 72 | async function probeDebug(r: RunningServer): Promise<number> { |
no test coverage detected