Skip to content

Commit 775035d

Browse files
committed
chore(gates): publish provider-webdriver/providers, drop a stale approval
The provider vocabulary needs a door of its own so a consumer asking whether a string names a known cloud provider does not load the WebDriver runtime. `src/providers.ts` has no imports, so the subpath points straight at it and costs the package nothing. R11's recorded export surface for the package grows by exactly that entry; the assertion is sorted so the list stays order-independent. Separately, `APPROVED_OVER_CEILING` still named `packages/command-registry/src/planned-operations.ts` from #2198. The merge-base carries that entry now, so the row is stale and the gate's own staleness check fails on it. Verified red on a clean `8299d5b` checkout with none of this branch applied; removing the row is what the gate asks for. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Jqfa11D8QsCMuL17SsLvDz
1 parent 03a9c42 commit 775035d

3 files changed

Lines changed: 9 additions & 14 deletions

File tree

‎packages/provider-webdriver/package.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
".": {
1515
"types": "./src/index.ts",
1616
"default": "./src/index.ts"
17+
},
18+
"./providers": {
19+
"types": "./src/providers.ts",
20+
"default": "./src/providers.ts"
1721
}
1822
}
1923
}

‎scripts/__tests__/eager-closure-budgets.ts‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -126,16 +126,7 @@ export const NEW_ENTRY_CEILINGS: Readonly<Record<EntryCategory, number>> = Objec
126126
*/
127127
export const APPROVED_OVER_CEILING: Readonly<
128128
Record<string, { issue: string; reason: string; owner: string }>
129-
> = Object.freeze({
130-
'packages/command-registry/src/planned-operations.ts': {
131-
issue: '#2198',
132-
reason:
133-
'Flattens the required runtime operations of the remaining batch steps from the registry, ' +
134-
'so its closure is the registry entry itself plus the operation-name vocabulary; a lighter ' +
135-
'closure would mean a second copy of the descriptors.',
136-
owner: 'thymikee',
137-
},
138-
});
129+
> = Object.freeze({});
139130

140131
/** The category is a function of the path, never a hand-written column. */
141132
export function entryCategoryOf(entryFile: string): EntryCategory {

‎scripts/layering/package-boundaries.test.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -656,10 +656,10 @@ test('the real tree parses, declares, and passes R11', () => {
656656
(pkg) => pkg.name === '@agent-device/provider-webdriver',
657657
);
658658
assert.ok(providerWebDriverPackage, 'provider-webdriver package must exist');
659-
assert.deepEqual(
660-
[...providerWebDriverPackage.exportTargets.keys()],
661-
['@agent-device/provider-webdriver'],
662-
);
659+
assert.deepEqual([...providerWebDriverPackage.exportTargets.keys()].sort(), [
660+
'@agent-device/provider-webdriver',
661+
'@agent-device/provider-webdriver/providers',
662+
]);
663663
assert.deepEqual([...providerWebDriverPackage.workspaceDependencies].sort(), [
664664
'@agent-device/capture-kit',
665665
'@agent-device/contracts',

0 commit comments

Comments
 (0)