Skip to content

Commit 059c98f

Browse files
committed
tooling(cutover): four population declarations name the ui/ members (objectstack#25803)
Bill item 21(a): check:tier-file-adoption (ROOT_DIR_WATCH_HINTS), check:turbo-task-graph, check:workspace-manifest-cycles and the merge driver's reconcileGenerators (DECLARED_WATCH_HINTS) each hold their declared manifest population equal to the enumerator's live answer, and the enumerator now reaches the four ui/ workspace entries. Declarations only; no gate logic moves. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CUXv64KLMfYv3ia2sWi6te
1 parent 87bd93d commit 059c98f

4 files changed

Lines changed: 19 additions & 6 deletions

File tree

‎scripts/check-tier-file-adoption.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const REPO_ROOT = resolve(HERE, '..');
119119
* (`hintCovers`). */
120120
export const WORKSPACE_FILE = 'pnpm-workspace.yaml';
121121
export const READER_MODULE = 'scripts/nightly-tiers.mjs';
122-
export const ROOT_DIR_WATCH_HINTS = ['packages/**', 'apps/**', 'examples/**'];
122+
export const ROOT_DIR_WATCH_HINTS = ['packages/**', 'apps/**', 'examples/**', 'ui/**'];
123123

124124
/**
125125
* The exports of the reader module that TOUCH the switch. Importing one of

‎scripts/check-turbo-task-graph.mjs‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,11 @@ export const ROOT_FILE_WATCH_HINTS = ['turbo.json/**', 'package.json/**'];
211211
* `<package>#<task>` key inert, which is precisely what this gate judges --
212212
* derived no lead to this gate at all.
213213
*
214-
* ## Why three patterns and not eleven
214+
* ## Why seven patterns and not fifteen
215215
*
216-
* `pnpm-workspace.yaml` lists eleven member globs, nine of them under
217-
* `packages/`. `packages/**` + one glob for each of the two roots outside it
216+
* `pnpm-workspace.yaml` lists fifteen member entries, nine of them under
217+
* `packages/` and four for the objectui tree under `ui/`. `packages/**` + one
218+
* glob for each of the two other roots + the four `ui/` entries as written
218219
* covers every member manifest and nothing else; `--self-test` holds that
219220
* against the enumerator's live answer in BOTH directions, so a twelfth glob in
220221
* the workspace file reds here rather than going quiet.
@@ -223,6 +224,12 @@ export const DECLARED_WATCH_HINTS = [
223224
'packages/**/package.json',
224225
'apps/*/package.json',
225226
'examples/*/package.json',
227+
// The objectui tree under `ui/` (objectstack#25677): its root manifest is a
228+
// member (`ui`) beside the three member globs under it.
229+
'ui/package.json',
230+
'ui/packages/*/package.json',
231+
'ui/apps/*/package.json',
232+
'ui/examples/*/package.json',
226233
];
227234

228235
/**

‎scripts/check-workspace-manifest-cycles.mjs‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ export const DECLARED_WATCH_HINTS = [
118118
'packages/**/package.json',
119119
'apps/**/package.json',
120120
'examples/**/package.json',
121+
// The objectui tree under `ui/` (objectstack#25677): the `ui` root member and
122+
// every member below it.
123+
'ui/**/package.json',
121124
];
122125

123126
/**
@@ -788,8 +791,9 @@ export function selfTest() {
788791
ROOT_FILE_WATCH_HINTS.join(',') === 'pnpm-workspace.yaml/**',
789792
);
790793
t(
791-
'the member manifests are declared as full-path glob literals for all three roots',
792-
DECLARED_WATCH_HINTS.join(',') === 'packages/**/package.json,apps/**/package.json,examples/**/package.json',
794+
'the member manifests are declared as full-path glob literals for all four roots',
795+
DECLARED_WATCH_HINTS.join(',')
796+
=== 'packages/**/package.json,apps/**/package.json,examples/**/package.json,ui/**/package.json',
793797
);
794798

795799
// ── The MEMBER manifests, held against the enumerator's live answer ────────

‎scripts/git-merge-regen.mjs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ const DECLARED_WATCH_HINTS = [
155155
'packages/**/package.json',
156156
'apps/**/package.json',
157157
'examples/**/package.json',
158+
// The objectui tree under `ui/` (objectstack#25677), as check-workspace-manifest-cycles spells it.
159+
'ui/**/package.json',
158160
];
159161

160162
/**

0 commit comments

Comments
 (0)