mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 16:47:34 +00:00
Extract subprocess execution and process contracts into @orca/process-host with explicit public entry points, independent checks, and one Node 18 compatible CommonJS runtime. Migrate application consumers and integrate package builds, dependency selection, import enforcement, and runtime resource staging. Preserve daemon startup ownership and profile isolation, and qualify development rebuild recovery and concurrent output publication. Remove unnecessary aliases, test forwarding exports, and a duplicate output scan. Validation: full typechecks, changed-code quality, package and artifact checks, native Windows builds/types plus 306 runtime tests, and independent native reviews. Matched full E2E controls on original main and unchanged reviewed head both pass all 17 applicable tests (nine skips). Earlier intermittent E2E failures are documented in the PR; no assertions were weakened. The final combined-tree audit preserves both branches with no import-boundary violations.
19 lines
1.0 KiB
JSON
19 lines
1.0 KiB
JSON
{
|
|
// The main config excludes test files so Metro never compiles them into the release bundle, and
|
|
// vitest transpiles without typechecking — so until this config existed nothing typechecked a
|
|
// mobile test, and a type-level pin written in one proved nothing.
|
|
"extends": "./tsconfig.json",
|
|
"exclude": [
|
|
"node_modules",
|
|
// These four are Node-side, not React Native: they import the desktop main process or
|
|
// @orca/process-host, whose modules are written against @types/node. This program's libs
|
|
// are React Native's, where `setTimeout` answers a number rather than a NodeJS.Timeout, so
|
|
// pulling that graph in reports ~280 errors about the desktop rather than about mobile. Their
|
|
// own runtime coverage is vitest, which runs them under Node.
|
|
"src/tasks/agent-launch-mobile-replay.test.ts",
|
|
"src/test-support/rpc-recording/recorded-request-params.test.ts",
|
|
"src/tasks/mobile-agent-launch-architecture.test.ts",
|
|
"src/transport/mobile-relay-browser-cancel-budget.test.ts"
|
|
]
|
|
}
|