()
| 786 | // generic plus a fresh correlation id and log the cause out-of-band so |
| 787 | // the model can't read internal context off `.message`. |
| 788 | const newCorrelationId = (): string => |
| 789 | Math.floor(Math.random() * 0x1_0000_0000) |
| 790 | .toString(16) |
| 791 | .padStart(8, "0"); |
| 792 | |
| 793 | const defaultResumeApprovalUrl = (executionId: string): string => |
| 794 | `/resume/${encodeURIComponent(executionId)}`; |
no test coverage detected