* Handle epoch mismatch (409 Conflict). A newer CC instance has replaced * this one — exit immediately.
()
| 667 | * this one — exit immediately. |
| 668 | */ |
| 669 | private handleEpochMismatch(): never { |
| 670 | logForDebugging('CCRClient: Epoch mismatch (409), shutting down', { |
| 671 | level: 'error', |
| 672 | }) |
| 673 | logForDiagnosticsNoPII('error', 'cli_worker_epoch_mismatch') |
| 674 | this.onEpochMismatch() |
| 675 | } |
| 676 | |
| 677 | /** Start periodic heartbeat. */ |
| 678 | private startHeartbeat(): void { |
no test coverage detected