(params: {
req: Pick<DaemonRequest, 'flags' | 'meta'>;
logPath: string;
appBundleId?: string;
traceLogPath?: string;
})
| 36 | } |
| 37 | |
| 38 | export function buildAppleRunnerSessionOptions(params: { |
| 39 | req: Pick<DaemonRequest, 'flags' | 'meta'>; |
| 40 | logPath: string; |
| 41 | appBundleId?: string; |
| 42 | traceLogPath?: string; |
| 43 | }): AppleRunnerRequestOptions { |
| 44 | const { req, logPath, appBundleId, traceLogPath } = params; |
| 45 | return { |
| 46 | ...buildAppleRunnerRequestOptions({ req, logPath, traceLogPath }), |
| 47 | runnerLeaseContext: contextFromFlags( |
| 48 | logPath, |
| 49 | req.flags, |
| 50 | appBundleId, |
| 51 | traceLogPath, |
| 52 | req.meta?.requestId, |
| 53 | req.meta, |
| 54 | ).runnerLeaseContext, |
| 55 | }; |
| 56 | } |
| 57 | |
| 58 | export function createAppleRunnerCachePrewarmOnColdBoot(params: { |
| 59 | req: Pick<DaemonRequest, 'flags' | 'meta'>; |
no test coverage detected