MCPcopy
hub / github.com/codeaashu/claude-code / handleEpochMismatch

Method handleEpochMismatch

src/cli/transports/ccrClient.ts:669–675  ·  view source on GitHub ↗

* Handle epoch mismatch (409 Conflict). A newer CC instance has replaced * this one — exit immediately.

()

Source from the content-addressed store, hash-verified

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 {

Callers 2

requestMethod · 0.95
getWithRetryMethod · 0.95

Calls 2

logForDebuggingFunction · 0.85
logForDiagnosticsNoPIIFunction · 0.85

Tested by

no test coverage detected