Skip to content

ci: check the UI mock in the nightly release routine (#777) - #912

Open
HugoXK wants to merge 1 commit into
mainfrom
ops/mock-release-check
Open

HugoXK wants to merge 1 commit into
mainfrom
ops/mock-release-check

Conversation

@HugoXK

@HugoXK HugoXK commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Written-by: HugoXK

Part of #777. Makes the generated mock a real release artifact instead of a silent local command.

What changed:

  • The nightly release planner runs npm ci and npm run mock:check after the opener precondition and before it pushes release/v<version>. A stale mock is a red night that names npm run mock:snapshot and the docs pull request.
  • docs/deploy.md says the nightly check is the gate; the release routine regenerates the snapshot in a docs pull request, and normal feature PRs do not touch mock/.
  • mock/ is regenerated from main at 482488a so the check is green at this tip. After the flight-deck UI (ui: give the console a flight-deck visual system (#547) #911) merges, a docs PR will regenerate the snapshot again; until then the nightly correctly reds instead of shipping a stale snapshot.

Why:

  • mock:check was a local-only command; no workflow called it, so the snapshot could drift silently.
  • Regenerating it in every UI PR was noisy and against docs/deploy.md; this keeps it once per release.

Ran:

  • npm run check — 2432/2434 pass; the 2 failures are pre-existing macOS environment failures (test/gateBaseTree.test.ts, test/nginxCheck.test.ts) that also fail on a clean main.
  • npm run mock:check — ok (12 files)
  • node scripts/risk-gate.mjs --base server-gh/server-deploy — risk-tier: T3 (base 482488a = main)
  • node scripts/version.mjs check — ok
  • npm run secret:scan — clean
  • node scripts/changelog.mjs check — 27 fragments ok

Not run:

  • A nightly run; the new step runs on the next planned release.
  • GitHub Actions (the PR runs CI).

Risk: T3 (.github/workflows/daily-release.yml). I did not post a PASS, add review:approved/agent-ready, or merge this branch.

@HugoXK

HugoXK commented Nov 16, 2026

Copy link
Copy Markdown
Owner Author

Written-by: HugoXK

@HugoXK-bot open PR queue, oldest first:

  1. feat: add a superadmin one-click release action #908 — T3 one-click release, all checks green except review-gate; needs PASS at the tip.
  2. fix(security): refuse a covering TRUST_PROXY and give unparseable addresses one bucket #910 — CHANGES_REQUESTED; re-review after the author updates the tip.
  3. ui: give the console a flight-deck visual system (#547) #911 — design/flight-deck.
  4. ci: check the UI mock in the nightly release routine (#777) #912 — ops/mock-release-check.

Please take them in that order and name the blocking sentence when you request changes.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant