Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 45 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -732,10 +732,12 @@ jobs:
# - `content/docs/ui/pages.mdx`, where the per-element data
# binding section of the old data-source guide landed. Two Test
# UI pins read its fences and its block table (objectstack#27145).
# And, a class of its own outside that count: each root
# `docs/adr/` file a ui test reads, named verbatim (objectstack#37935,
# the row at the end of this list). `check:ci-filter-parity` derives
# those rows from the ui tests and holds them to them both ways.
# And, a class of its own outside that count: each file outside ui/
# that a ui test reads, named verbatim (objectstack#37935, #38133;
# the group at the end of this list). `check:ci-filter-parity`
# derives those rows from the ui tests and holds them to them both
# ways, and pins this whole step's input and every ui job's `if:`
# (objectstack#38132).
ui:
- 'ui/**'
- 'pnpm-lock.yaml'
Expand Down Expand Up @@ -773,18 +775,47 @@ jobs:
# confined to a pnpm bump matched no list here, so the ui jobs
# skipped on the PR and in the queue alike.
- 'package.json'
# The ADR files under the root `docs/adr/` that a ui test reads
# (#37935), each named verbatim. Today one: Test UI's
# The root path walker, which ui/scripts/select-affected-tests.mjs
# imports at run time (`loadPathWalker`) to place every ui test:
# select-affected-tests.test.ts asserts on it. A read inside an
# imported ui module, which the gate's ui-test scan does not see,
# so it is named here rather than in the group below.
- 'scripts/check-cross-package-test-inputs.mjs'
# ── UI TEST READS OUTSIDE ui/ ───────────────────────────────
# Each file outside ui/ that a ui test reads, named verbatim
# (#37935, #38133). A diff confined to one could break the test
# that reads it while starting no ui job, on the PR or in the
# queue (this list reads the queue diff too). Named files rather
# than a subtree: a subtree row would start the whole ui battery
# on every edit beside the one file a test reads, and `ui_consumers`
# already covers the seven packages it names.
# `check:ci-filter-parity` derives the readers from the ui tests
# and holds every row below this heading to them, both ways. A
# read deliberately left unscheduled is a `ui-read trade-off:`
# line naming the file and why, never a missing row.
#
# studioMenuPlacement.test.ts holds ADR-0084's type-to-group
# table equal to the Studio menu code, so an edit confined to
# that ADR could break the pin while starting no ui job, on the
# PR or in the queue (this list reads the queue diff too). Named
# files rather than `docs/adr/**`: no other ui test reads under
# the root `docs/adr/` (the ui tree's own ADRs are `ui/**`), and
# a subtree row would start the whole ui battery on every ADR
# edit. `check:ci-filter-parity` derives the readers from the ui
# tests themselves and holds this group to them, both ways.
# table equal to the Studio menu code.
- 'docs/adr/0084-application-builder-information-architecture.md'
# quick-reference-commands-4149.test.ts holds the root
# CONTRIBUTING.md's UI Workspace commands to the ui scripts.
- 'CONTRIBUTING.md'
# identityImportFields.endpointColumns-34536.test.ts holds the
# identity import dialog's columns to what the endpoint reads.
- 'packages/plugins/plugin-auth/src/admin-import-users.ts'
# The ui shard planner and selector tests import the shard
# count from the root roster reader, which imports invoked-as.
- 'scripts/ci-shard-matrix.mjs'
- 'scripts/invoked-as.mjs'
# metadata-form-option-names.test.ts loads the platform zh-CN
# forms pack through `new URL(literal, import.meta.url)` and holds
# the Console's option maps equal to it.
- 'packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts'
# ui-read trade-off: packages/mcp/src/skill-md.ts -- the
# Console's objectstack-skill.test.ts imports it to pin the
# "Download skill" mirror; the server half of that drift pin
# runs in Test Core on every packages/mcp change, and a
# mirror-only diff starts it through the `crosspkg` row (#31017).
# The seven packages objectui installs from this tree (the set its
# `.objectstack-pin` used to pack). A change here compiles, builds
# and tests the Console in the same PR — the check the retired Spec
Expand Down
Loading
Loading