Skip to content

Commit 9018747

Browse files
committed
tooling(cutover): check:cross-package-test-inputs recognises ui/ and retires its awaiting-import entry (objectstack#25803)
Bill item 21(a): turbo.json declares ui/ inputs on type-check and lint, and once git tracks ui/ the awaiting-import excuse is void by design (the map's note: the import commit decides). ui joins RECOGNISED_TOP_LEVEL_DIRECTORIES; the map is empty and its pin says so. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CUXv64KLMfYv3ia2sWi6te
1 parent 7ba9ffd commit 9018747

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

‎scripts/check-cross-package-test-inputs.mjs‎

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,6 +1410,11 @@ export const RECOGNISED_TOP_LEVEL_DIRECTORIES = Object.freeze([
14101410
// input. No test names it flat today; the entry closes the hole the sentence
14111411
// above promises rather than waiting for one to be written.
14121412
'.claude',
1413+
// The objectui tree, imported under `ui/` at the cutover (objectstack#25677):
1414+
// turbo.json's `type-check` and `lint` tasks declare its repo-root inputs
1415+
// re-rooted there, and it left TOP_LEVEL_DIRECTORIES_AWAITING_IMPORT with the
1416+
// import commit, as that map's own note required.
1417+
'ui',
14131418
]);
14141419

14151420
/**
@@ -1443,13 +1448,11 @@ export const TOP_LEVEL_DIRECTORIES_PENDING = Object.freeze({
14431448
* `RECOGNISED_TOP_LEVEL_DIRECTORIES` or `TOP_LEVEL_DIRECTORIES_PENDING` like any
14441449
* other, so the import commit decides how this collector treats it.
14451450
*
1446-
* `ui`: the objectui tree, imported under `ui/` (objectstack#25677). turbo.json's
1447-
* `type-check` and `lint` tasks carry objectui's repo-root inputs re-rooted there.
1448-
* Retire the entry with the import.
1451+
* Empty: its one entry, `ui` (the objectui tree, objectstack#25677), was retired
1452+
* by the import commit into RECOGNISED_TOP_LEVEL_DIRECTORIES. Kept, with its
1453+
* battery, for the next tree declared ahead of its arrival.
14491454
*/
1450-
export const TOP_LEVEL_DIRECTORIES_AWAITING_IMPORT = Object.freeze({
1451-
ui: 'the objectui import (objectstack#25677): turbo.json declares its type-check and lint inputs ahead of the tree',
1452-
});
1455+
export const TOP_LEVEL_DIRECTORIES_AWAITING_IMPORT = Object.freeze({});
14531456

14541457
/** Repo-root FILES declared as `$TURBO_ROOT$` inputs -- the fourth shape, pinned, not collected. */
14551458
export const TURBO_ROOT_FILE_INPUTS = Object.freeze(['sdui.manifest.json']);
@@ -4385,7 +4388,8 @@ function selfTest() {
43854388
'an awaiting-import name git already tracks is NOT excused here (it must be recognised or pending)',
43864389
[...awaitingImport].every((name) => !live.directories.has(name) || recognised.has(name) || pending.has(name)),
43874390
);
4388-
ok('the awaiting-import map holds exactly the measured arrivals', [...awaitingImport].sort().join() === 'ui');
4391+
// Empty since the cutover moved `ui` into RECOGNISED_TOP_LEVEL_DIRECTORIES.
4392+
ok('the awaiting-import map holds exactly the measured arrivals', [...awaitingImport].sort().join() === '');
43894393
ok(
43904394
'every awaiting-import entry carries a reason',
43914395
Object.values(TOP_LEVEL_DIRECTORIES_AWAITING_IMPORT).every((r) => typeof r === 'string' && r.length > 0),

0 commit comments

Comments
 (0)