()
| 436 | // generic plus a fresh correlation id and log the cause out-of-band so |
| 437 | // the model can't read internal context off `.message`. |
| 438 | const newCorrelationId = (): string => |
| 439 | Math.floor(Math.random() * 0x1_0000_0000) |
| 440 | .toString(16) |
| 441 | .padStart(8, "0"); |
| 442 | |
| 443 | const defaultResumeApprovalUrl = (executionId: string): string => |
| 444 | `/resume/${encodeURIComponent(executionId)}`; |
no test coverage detected