refactor(runtime): expose shared admission and artifact boundaries (CL26)

This commit is contained in:
Boki 2026-10-28 14:02:03 -04:00
parent 2165a2efa8
commit b4589d5af1
49 changed files with 1790 additions and 1565 deletions

View file

@ -92,12 +92,12 @@ export class NativeBacktestWorker {
retainedRequest &&
this.workerUrl &&
realpathSync(fileURLToPath(this.workerUrl)) !==
realpathSync(fileURLToPath(canonicalWorkerUrl))
realpathSync(fileURLToPath(canonicalWorkerUrl()))
) {
throw new Error('Retained strategy execution requires the canonical bundled worker');
}
const workerUrl = retainedRequest
? canonicalWorkerUrl
? canonicalWorkerUrl()
: (this.workerUrl ??
new URL(
import.meta.url.endsWith('.ts') ? './native-worker.ts' : './native-worker.js',