You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dd6401f
Browse filesBrowse the repository at this point in the historyBrowse files
kind: 'edits a file the ui/scripts/__tests__ suite reads (ui package source, the ui apps, the objectui skill bundle, or ui/scripts itself)',
1054
+
matches: 'ui-scripts-suite-input',
1055
+
gates: [
1056
+
{
1057
+
name: 'pnpm --dir ui exec vitest run scripts/',
1058
+
ciJob: 'Test UI',
1059
+
ciRunner: 'pnpm --dir ui exec vitest run',
1060
+
why: "the 178 test files under ui/scripts/__tests__ belong to no package and run only in CI's 16 Test UI shards, where the affected-test selector adds them to every run, so no package suite and no check family covers them: they pin turbo build inputs, the skill-examples floor, the SchemaRenderer channel keys and the other facts a change under ui package source, the ui apps, skills/objectui or ui/scripts moves. The whole suite, never a subset: about a minute locally. It needs the seven @objectstack packages Test UI builds first, or about twenty files red on an import of a missing dist — build them exactly as the job does: pnpm exec turbo run build --filter=@objectstack/spec... --filter=@objectstack/client... --filter=@objectstack/core... --filter=@objectstack/formula... --filter=@objectstack/lint... --filter=@objectstack/sdui-parser... --filter=@objectstack/types... . Positional filter, no bare `--`, from the repo root: ui/scripts/vitest-invocation-guard.mjs refuses every other spelling",
1061
+
},
1062
+
],
1063
+
},
1016
1064
];
1017
1065
1066
+
/**
1067
+
* The roots whose change the `ui/scripts/__tests__` suite can see (#26318), in CI's own `paths:` language
1068
+
* — the engine matches them with `triggerListCovers`, the reader of every workflow trigger. They are the
1069
+
* card's four, as written there: ui package SOURCE (any depth below `ui/packages`, so a nested package
1070
+
* counts), the ui apps, the objectui skill bundle the suite reads through `ui/scripts/skill-bundle-root.mjs`,
1071
+
* and the suite's own tree. The bare `src` directory form is listed beside its subtree because a dispatch
1072
+
* surface is often given as that directory, and the trigger language reads a directory only through a
1073
+
* pattern's literal prefix.
1074
+
*/
1075
+
exportconstUI_SCRIPTS_SUITE_ROOTS=Object.freeze([
1076
+
'ui/packages/**/src',
1077
+
'ui/packages/**/src/**',
1078
+
'ui/apps/**',
1079
+
'skills/objectui/**',
1080
+
'ui/scripts/**',
1081
+
]);
1082
+
1018
1083
/**
1019
1084
* The globs that MANDATE a model tier for any card whose file surface touches
1020
1085
* them, as DATA. This is the one list in this file besides CHANGE_KIND_GATES,
for (const { kind, hits, gates } of changeKindGates(paths, resolveInvocation, kinds)) {
11115
11175
lines.push(` ${kind}: ${hits.join(', ')}`);
11116
-
for (const { name, why, command } of gates) {
11176
+
for (const { name, why, command, ciJob, ciRunner } of gates) {
11117
11177
lines.push(
11118
11178
command
11119
11179
? ` - ${command} — ${why}`
11120
-
: ` - ⚠ ${name}: STALE — no workflow runs a gate under this name. It was renamed or retired; fix CHANGE_KIND_GATES in this script.`,
11180
+
: ciJob
11181
+
? ` - ⚠ ${name}: STALE — no workflow job named '${ciJob}…' runs '${ciRunner}' any more. The job was renamed or retired; fix CHANGE_KIND_GATES in this script.`
11182
+
: ` - ⚠ ${name}: STALE — no workflow runs a gate under this name. It was renamed or retired; fix CHANGE_KIND_GATES in this script.`,
11121
11183
);
11122
11184
}
11123
11185
}
@@ -14545,7 +14607,8 @@ function derive(paths, { showResidue = false, mode = 'human', runRecord = [], si
14545
14607
// `--commands` list and the `--json` document are readings of these same
14546
14608
// rows: the card this section answers is about two renderings of one
14547
14609
// derivation drifting apart, so a second traversal here would reintroduce it.
0 commit comments