Repository navigation
Commit 011136c
committed
tooling(ui-wiring): CI jobs for the ui/ tree, skipped until it exists (objectstack#25697)
ci.yml's filter job gains three outputs: `ui` (ui/** and the root files
the ui jobs build from), `ui_consumers` (the seven packages objectui
installs from this tree: spec, client, core, formula, lint, sdui-parser,
types) and `ui_tree` (ui/package.json exists, from an unconditional step).
Four jobs, ported from objectui's ci.yml and lint.yml:
- Type Check UI: objectui's coverage guard, its check:* source gates and
root tsc programs, then `turbo run type-check` over the ui packages,
affected-only on pull_request / merge_group. Runs on `ui` OR
`ui_consumers`, so a spec change compiles the Console in its own PR.
- Test UI (n/16): objectui's vitest root, sharded by its own LPT
sequencer. N stays 16: by package the 1.3 max/mean bound admits at
most 4 legs (app-shell is 104.2 of 325.7 summed minutes); by file the
bound never binds and 16 legs carry 20.4 summed minutes each.
- Lint UI: objectui's lint job, with //#lint:root as its own step.
- Build & E2E UI: the Console build and Playwright chromium, on `ui` OR
`ui_consumers`.
Every job's `if:` is `!cancelled() && ui_tree != 'false' && <paths>`,
so with ui/ absent each one is skipped on every event, never failed and
never started. None is a required context or an aggregator member. The
.objectstack-pin plumbing is replaced by a turbo build of the seven
@objectstack packages; objectui root scripts run with
working-directory: ui, turbo runs from the root with directory filters.
check-expected-skips declares the four names as by-design skips.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RSDL3SFtJaKzcymvCD8RsU1 parent 29ffad5 commit 011136c
2 files changed
Lines changed: 694 additions & 1 deletion
0 commit comments