(error: unknown)
| 523 | // wedged the app into the crash screen whenever a CLI `executor daemon run` |
| 524 | // (or a daemon a prior run left behind) held the data dir. |
| 525 | const isScopeOwnershipConflict = (error: unknown): boolean => { |
| 526 | // oxlint-disable-next-line executor/no-instanceof-error, executor/no-unknown-error-message -- boundary: spawn-conflict failures arrive as plain Node errors from startSidecar; classified by message text |
| 527 | const message = error instanceof Error ? error.message : String(error); |
| 528 | return /already running|owns the current data directory/i.test(message); |
| 529 | }; |
| 530 | |
| 531 | const startWithCurrentSettings = async (): Promise<SidecarConnection | null> => { |
| 532 | // oxlint-disable-next-line executor/no-try-catch-or-throw -- boundary: bind failures surface as a user-facing dialog |
no outgoing calls
no test coverage detected