Repository navigation
feat(app-ci): uix-check: true runs the project's uix-check (One View's checks) as the first check - #40
Merged
Conversation
…w's checks) as the first check @beplus/uix (0.66.0 and later) ships a `uix-check` bin: the View checks uix.view-on-uix, view-definition, filter-coverage, filter-one-home and single-copy, against the product profile (guidelines/uix.md) and a uix-ratchet.json that may only go down. With `uix-check: true`, app-ci.yml puts it first in the checks, as a caller runs `npm run check:i18n`: counted, annotated and in the summary like every other check. It runs in the working directory, from the project's own node_modules/.bin (never npx, which asks the registry when the bin is missing), with --root at the repository. A project without the bin fails at once, saying why. With pr-gate, guidelines/ and uix-ratchet.json run the checks too: no Rush project holds them. Off by default; no caller changes. Co-Authored-By: Igor Lamos <igor@be.plus>
igorlamos
approved these changes
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
@beplus/uix(0.66.0 and later) ships auix-checkbin. It runs One View's checks against the product profile (guidelines/uix.md) and auix-ratchet.jsonthat may only go down:uix.view-on-uixuix.view-definitionuix.filter-coverageuix.filter-one-homeuix.single-copyWith
uix-check: true,app-ci.ymlruns it as the first check, the way a caller runsnpm run check:i18n: counted, annotated on failure, and listed in the summary like every other check.How it runs
node_modules/.bin/uix-check --root "$GITHUB_WORKSPACE"in the working directory (the project's folder), so it uses the bin of the project's own@beplus/uix.--rootis the repository root, where all three estates keepguidelines/uix.mdanduix-ratchet.json.npx --no-install uix-checklocally without the bin: it went to the registry for a package nameduix-checkand hung, which in CI would stall the job until it times out. A project without the bin now fails the check at once, with an annotation naming the cause.pr-gate, a change underguidelines/or touix-ratchet.jsonalso runs the checks. No Rush project holds those files, so the project's impact alone would miss a ratchet change.Tested
No workflow in this repository tests
app-ci.yml, so this PR has no CI. I extracted the changed steps withyqand ran them locally:gate-paths;test/pr-gate/run.shstill passes.Releases as v2.22.0: #36's gate fix already shipped in v2.21.0.