Skip to content

Commit 89c5abb

Browse files
committed
chore(gates): register packages/replay-port in the layering model, ownership table, and build
Ranked spine rank 1 (with the engines it composes), a replay-port ownership policy forbidding src/daemon|providers|compat, the workspace dep + typecheck build entry, and the regenerated lockfile. Part of #2663
1 parent d6277f9 commit 89c5abb

4 files changed

Lines changed: 20 additions & 1 deletion

File tree

‎package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
"check:unit": "pnpm test:unit && pnpm check:tmpdir-leaks && pnpm test:smoke",
172172
"check": "pnpm check:tooling && pnpm check:fallow && pnpm check:unit",
173173
"prepack": "pnpm check:mcp-metadata && pnpm package:npm",
174-
"typecheck": "tsc -b packages/xml packages/kernel packages/contracts packages/device-selection packages/host-kit packages/capture-kit packages/managed-allocation packages/provision-kit packages/platform-apple packages/platform-android packages/platform-harmonyos packages/platform-vega packages/platform-linux packages/platform-web packages/ad-script packages/selectors packages/command-registry packages/session-journal packages/ad-replay packages/maestro packages/replay-test packages/provider-webdriver packages/provider-limrun && tsc -p tsconfig.json && tsc -p examples/sdk/tsconfig.json",
174+
"typecheck": "tsc -b packages/xml packages/kernel packages/contracts packages/device-selection packages/host-kit packages/capture-kit packages/managed-allocation packages/provision-kit packages/platform-apple packages/platform-android packages/platform-harmonyos packages/platform-vega packages/platform-linux packages/platform-web packages/ad-script packages/selectors packages/command-registry packages/session-journal packages/ad-replay packages/maestro packages/replay-port packages/replay-test packages/provider-webdriver packages/provider-limrun && tsc -p tsconfig.json && tsc -p examples/sdk/tsconfig.json",
175175
"test-app:install": "pnpm install --dir examples/test-app",
176176
"test-app:start": "pnpm --dir examples/test-app start",
177177
"test-app:ios": "pnpm --dir examples/test-app ios",
@@ -297,6 +297,7 @@
297297
"@agent-device/provider-limrun": "workspace:*",
298298
"@agent-device/provider-webdriver": "workspace:*",
299299
"@agent-device/provision-kit": "workspace:*",
300+
"@agent-device/replay-port": "workspace:*",
300301
"@agent-device/replay-test": "workspace:*",
301302
"@agent-device/selectors": "workspace:*",
302303
"@agent-device/session-journal": "workspace:*",

‎pnpm-lock.yaml‎

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎scripts/layering/architecture-ownership.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ export const LOGICAL_MODULE_POLICIES = [
142142
'packages/ad-replay/',
143143
],
144144
},
145+
{
146+
name: 'replay-port',
147+
roots: ['packages/replay-port/src/'],
148+
forbiddenTargetRoots: ['src/daemon/', 'src/providers/', 'src/compat/'],
149+
},
145150
{
146151
name: 'daemon-replay',
147152
roots: ['src/daemon/replay/'],

‎scripts/layering/model.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const TARGET_DAG_RANK = new Map([
5050
['contracts', 1],
5151
['device-selection', 1],
5252
['maestro', 1],
53+
['replay-port', 1],
5354
['replay-test', 1],
5455
['screenshot-diff', 1],
5556
['selectors', 1],

0 commit comments

Comments
 (0)