()
| 120 | }; |
| 121 | |
| 122 | const removeOwnManifest = () => { |
| 123 | // oxlint-disable-next-line executor/no-try-catch-or-throw -- boundary: best-effort cleanup on shutdown |
| 124 | try { |
| 125 | if (!existsSync(manifestPath)) return; |
| 126 | const parsed = parseExecutorLocalServerManifest(readFileSync(manifestPath, "utf8")); |
| 127 | if (parsed?.pid === process.pid) rmSync(manifestPath, { force: true }); |
| 128 | } catch { |
| 129 | // ignore |
| 130 | } |
| 131 | }; |
| 132 | |
| 133 | const server = await startServer({ |
| 134 | port: requestedPort, |
no test coverage detected