Skip to content

Commit c610020

Browse files
ci(required-contexts): register Temporal Conformance (live PG + MySQL) as a required context again (#38331)
Part of #38087 (item 3's repo half; the ruleset entry stays the maintainer's, and the card keeps the follow-up nits N4/N5) Clause-②: no Metadata-protocol: none Rule-change: ruled Ruling-ref: 「设为必过」 on 「要不要把真库测试(PG+MySQL)设为合并必过?」 — the maintainer, on the decision card in the o1-F area thread, 2026-11-28T10:59:46Z; recorded on #38087 comment 7238262118. **Tier H** (`AGENTS.md`, `.github/workflows/ci.yml`; `.claude/**` rides along). Draft until an approval from GOVERNED_APPROVERS. The ruling of record is #38087 comment 7238262118: the `REQUIRED_CONTEXTS` row merges first, then the maintainer adds `Temporal Conformance (live PG + MySQL)` to the `main` ruleset the same day. This PR does not edit the ruleset. ## 维护者速读 - 用户能看到什么变化:用户无感。改 SQL 驱动、知识库等相关文件的 PR,真库测试从此成为合并必过:在合并队列里没过就进不了主干;其他 PR 跳过这一项,照常合并。 - 为什么做:落实你在「要不要把真库测试(PG+MySQL)设为合并必过?」上选的「设为必过」。观察期里 23 个相关 PR 跑了 38 次,没有偶发失败;唯一一次红是真问题,却因为不是必过照样合进主干,主干红了约 6 小时。 - 出错会怎样:本次只改登记表和说明文字,不改任何检查本身。若这一项将来出现偶发失败,会把相关 PR 弹出队列;从 Rulesets 删掉这一项、再撤回本次改动即可恢复。 - 要你做什么:合并当天请在 Rulesets 加上 `Temporal Conformance (live PG + MySQL)`,否则检查会报设置不一致。 ## What changes - `scripts/check-required-contexts.mjs` - One `REQUIRED_CONTEXTS` row: `ci.yml`, `temporal-conformance`, `Temporal Conformance (live PG + MySQL)`. Its `authorized` names ruling 7238262118 and the queue reading 7237905765. Its `carries` names the driver-sql suite against both live servers plus the non-SQL temporal backends, and says the `if:` skips the job on `pull_request` and runs it on a `merge_group` entry only when the diff hits `temporal_live`. Same row shape as the `Dogfood Regression Gate` row (#31133). - The #22998 tombstone had only this context left. It is now a short history paragraph and two `Returned:` lines, Dogfood's and this one (ruling 7146156389 put the leg on the queue; ruling 7238262118 re-enrolled the row). - Both `statesTheSet` surfaces' `mustName` gain `Temporal Conformance (live PG + MySQL)`. The two history comments read `11→12 by #38087`. - Self-test: battery (3) gains the rename fixture this battery first carried: the job name dropping its `(live PG + MySQL)` suffix ⇒ red, naming `temporal-conformance` and the context. The 2026-08-18 ruleset-snapshot comment now says both contexts #22998 dropped are pinned again; the assertion stays derived. - `AGENTS.md` (merge-queue rule): the required-set list names `Temporal Conformance (live PG + MySQL)`. The three count words ("eleven contexts block", "those eleven" twice) are deleted under the volatile-counts rule, which pays for the added name: 78708 → 78704 bytes against the 78712 ceiling, line count unchanged. No ceiling raised. - `.claude/skills/pm-dispatch/references/readings-ci.md`: the seat's required-set list gains the name and drops its count word; the line about the unpinned count word now states that the word is deleted. 4900 → 4896 bytes against the 4900 ceiling. - `docs/agents/multi-agent-discipline.md`: "outside those eleven" becomes "outside the required set". The two-speeds paragraph no longer calls the queue leg advisory: a red there ejects the entry. - `.github/workflows/ci.yml`: comments only. THE TWO SPEEDS said the context is not in the required set and its queue red lands on `main`; it now says it is required again and names both returns. The `temporal-conformance` header and its `if:` comment say the name is pinned again and that a skip publishes `skipped`, which the ruleset counts as passing. No job, `if:`, timeout or step changed. Not changed, because the row does not make them false: - `scripts/check-aggregator-roster.mjs`: the job aggregates nothing (`needs: filter` only). - `scripts/pm/check-expected-skips.mjs`: the frozen fixture tree and the derived roster (see Acceptance notes). - The dated readings in `docs/audits/gate-census-2026-09.md` and `cross-repo-issue-closer.yml`. ## Tests - `node scripts/check-required-contexts.mjs --self-test`: 192 assertions pass (190 before), including the new rename fixture. - `node scripts/check-required-contexts.mjs`: `12 required context name(s) pinned across 3 workflow(s)`, last line `ci.yml:temporal-conformance → 'Temporal Conformance (live PG + MySQL)'`. ## Acceptance notes - **The settings half reads the row as missing, as expected.** `NODE_OPTIONS=--use-env-proxy node scripts/check-required-contexts.mjs --verify-required-set` (exit 0, report-only): `11 live required context(s) on main, 1 registered-but-not-required, 0 required-but-unpinned`, direction A naming `Temporal Conformance (live PG + MySQL)`. That is this PR's repo half landing first. It clears when the maintainer adds the context to the ruleset on the merge day. Until then the `Live required-set sweep` adds one warning annotation and pages nobody. Nothing here works around it. - **Until the ruleset edit, a red on this leg still does not eject a queue entry.** `AGENTS.md` and the docs already describe the state after the edit, the convention of the `Dogfood Regression Gate`, `Test UI` and `Live E2E UI` rows. - `check-expected-skips`'s derived reason for this job says "answered by the merge-queue build", which is true only on an entry that hits `temporal_live`; it hedges with "plus 2 further condition(s) the recogniser does not read". Noted on #38087 in the previous round; not filed (the area is closing). ## Verification - Read first: `scripts/check-required-contexts.mjs` — the new `REQUIRED_CONTEXTS` row and the rewritten tombstone block above it; then the `AGENTS.md` merge-queue paragraph. - Two-minute check: `node scripts/check-required-contexts.mjs` should print `12 required context name(s)` and end with `ci.yml:temporal-conformance → 'Temporal Conformance (live PG + MySQL)'`. <details><summary>local gates: 82 derived, 77 exit 0, 5 NOT MEASURED (heads 4eceaab and e4f2798)</summary> - `dispatch-gates --commands` derived 82 families at `4eceaabb0c`; `--ran` at `e4f279813e`: `82 derived famil(ies) accounted for — 77 run, 5 NOT-MEASURED (5 DERIVED from a recorded exit 3)`. Each exit code was captured before any pipe. - The 5 NOT MEASURED families exit 3 PREREQUISITE NOT MET: they read built `packages/*` output (their refusal: "Run pnpm build first"). This diff touches no package, and no whole-workspace build was run in this shared container; CI's `Lint & Repo Gates` runs them. Declared narrowing. - The no-merge check: the derivation reported the tree 2 commits behind `origin/main` with none of them touching what it derives from, so `main` was not merged. `overlap-check`: `VERDICT clean exit 0` (`origin/main` 4997cae and #38286, which shares `ci.yml`, both merge cleanly). - `e4f279813e` changed one line of `readings-ci.md` after the first run started, so the 20 families derived for that file alone were run again on `e4f279813e` (all exit 0), and `check:pm-dispatch-gates` was run again there: `✓ dispatch-gates self-test (fast tier): 2385 cases pass`, exit 0. ``` node scripts/check-adr-links.mjs :: exit 0 node scripts/check-adr-links.mjs --self-test :: exit 0 node scripts/check-closing-keyword-parity.mjs :: exit 0 node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0 node scripts/check-comment-mask-corpus.mjs :: exit 0 node scripts/check-declaration-mirrors.mjs :: exit 0 node scripts/check-declaration-mirrors.mjs --self-test :: exit 0 node scripts/check-dts-emitted.mjs --self-test :: exit 0 node scripts/check-platform-checklist-watchdog.mjs :: exit 0 node scripts/check-platform-checklist-watchdog.mjs --self-test :: exit 0 node scripts/check-release-section-coverage.mjs :: exit 0 node scripts/check-release-section-coverage.mjs --strict :: exit 0 node scripts/check-self-test-wired.mjs :: exit 0 node scripts/check-self-test-wired.mjs --self-test :: exit 0 node scripts/check-self-test-workflow-commands.mjs :: exit 0 node scripts/check-self-test-workflow-commands.mjs --self-test :: exit 0 node scripts/check-step-collectors.mjs :: exit 0 node scripts/check-step-collectors.mjs --self-test :: exit 0 node scripts/check-whole-set-label-write.mjs :: exit 0 node scripts/check-whole-set-label-write.mjs --self-test :: exit 0 node scripts/ci/assert-turbo-remote-cache.mjs --self-test :: exit 0 node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0 node scripts/ci/prune-turbo-cache.mjs --self-test :: exit 0 node scripts/ci/scheduled-full-run.mjs --self-test :: exit 0 node scripts/docs-audit/check-drift-comment.mjs :: exit 0 node scripts/pm/bare-root-worklist.mjs --self-test :: exit 0 node scripts/pm/board-snapshot.mjs --self-test :: exit 0 node scripts/pm/check-harness-current.mjs --self-test :: exit 0 node scripts/render-release-coverage-anchor.mjs --self-test :: exit 0 pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 3 pnpm check:adr-anchors :: exit 0 pnpm check:agent-test-spelling :: exit 0 pnpm check:aggregator-roster :: exit 0 pnpm check:bash32-floor :: exit 0 pnpm check:ci-filter-parity :: exit 0 pnpm check:cli-command-ids :: exit 0 pnpm check:cross-package-test-inputs :: exit 0 pnpm check:declared-population-live :: exit 0 pnpm check:doc-authoring :: exit 0 pnpm check:docs-audit-scope :: exit 0 pnpm check:driver-memory-census :: exit 0 pnpm check:dts-closure :: exit 3 pnpm check:dual-build-cjs-loads :: exit 3 pnpm check:entry-guard :: exit 0 pnpm check:fetch-history :: exit 0 pnpm check:gitlink-declared :: exit 0 pnpm check:lean-entry-closure :: exit 3 pnpm check:node-version :: exit 0 pnpm check:nul-bytes :: exit 0 pnpm check:parse-guard :: exit 0 pnpm check:platform-checklist :: exit 0 pnpm check:pm-close-cards :: exit 0 pnpm check:pm-expected-skips :: exit 0 pnpm check:pm-fleet-write-dispatch :: exit 0 pnpm check:pm-fleet-write-execute :: exit 0 pnpm check:pm-fleet-write-validate :: exit 0 pnpm check:pm-governed-merges :: exit 0 pnpm check:pm-governed-prose :: exit 0 pnpm check:pm-issue-transfer :: exit 0 pnpm check:pm-post-stamped :: exit 0 pnpm check:pm-record-recognisers :: exit 0 pnpm check:pm-settings-deny-roster :: exit 0 pnpm check:pm-skill-id-lint :: exit 0 pnpm check:pm-skill-ratchet :: exit 0 pnpm check:pnpm-acquisition :: exit 0 pnpm check:pnpm-filter-targets :: exit 0 pnpm check:pnpm-flag-spellings :: exit 0 pnpm check:ratchet-remedy-authority :: exit 0 pnpm check:refd-timer-probe :: exit 0 pnpm check:required-contexts :: exit 0 pnpm check:scripts-symbol-anchors :: exit 0 pnpm check:shard-attestation :: exit 0 pnpm check:skill-frame-sync :: exit 0 pnpm check:sourcemap-no-sources-content :: exit 3 pnpm check:stall-guard-budget :: exit 0 pnpm check:stall-guard-headroom :: exit 0 pnpm check:type-check-coverage :: exit 0 pnpm check:type-check-debt :: exit 0 pnpm check:watch-hint-literal :: exit 0 pnpm check:workflow-status-functions :: exit 0 pnpm check:workflow-step-name-quoting :: exit 0 pnpm check:pm-dispatch-gates :: exit 0 ``` Rerun on `e4f279813e` (the families `readings-ci.md` derives): ``` node scripts/check-closing-keyword-parity.mjs :: exit 0 node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0 node scripts/check-comment-mask-corpus.mjs :: exit 0 node scripts/pm/check-harness-current.mjs --self-test :: exit 0 pnpm check:adr-anchors :: exit 0 pnpm check:agent-test-spelling :: exit 0 pnpm check:cross-package-test-inputs :: exit 0 pnpm check:doc-authoring :: exit 0 pnpm check:driver-memory-census :: exit 0 pnpm check:gitlink-declared :: exit 0 pnpm check:nul-bytes :: exit 0 pnpm check:pm-governed-merges :: exit 0 pnpm check:pm-record-recognisers :: exit 0 pnpm check:pm-settings-deny-roster :: exit 0 pnpm check:pm-skill-id-lint :: exit 0 pnpm check:pm-skill-ratchet :: exit 0 pnpm check:refd-timer-probe :: exit 0 pnpm check:required-contexts :: exit 0 pnpm check:skill-frame-sync :: exit 0 pnpm check:watch-hint-literal :: exit 0 ``` </details> --- _Generated by [Claude Code](https://claude.ai/code/session_016WV4cxRDKprCtjpEdtiPFW)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent ff69bca commit c610020

5 files changed

Lines changed: 71 additions & 49 deletions

File tree

‎.claude/skills/pm-dispatch/references/readings-ci.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222
- 并发输出的相邻不等于因果:先查 `turbo.json` 依赖边,⛔ 不只看 tail。
2323
- turbo 一败多包同印 `ELIFECYCLE Command failed`:权威读数是 `Failed:` 行与该包自己的 `##[error]`。
2424
- 公开发出的诊断被推翻时,更正发在同样公开的位置,据它开的 PR 撤回 draft、解绑 `Fixes`。
25-
- required checks 的名单是每仓事实,objectstack 十一个:
25+
- required checks 的名单是每仓事实,objectstack:
2626
`TypeScript Type Check` · `Lint & Repo Gates` · `Test Core` · `Build Core` · `Lint UI` · `Test UI` ·
27-
`Governed Surface Queue Guard` · `Type Check UI` · `Build & E2E UI` · `Live E2E UI` · `Dogfood Regression Gate`。
27+
`Governed Surface Queue Guard` · `Type Check UI` · `Build & E2E UI` · `Live E2E UI` · `Dogfood Regression Gate` ·
28+
`Temporal Conformance (live PG + MySQL)`。
2829
- ⭐ 本表的 `mustName` 声明 `statesTheSet` ⇒ 必须逐字等于注册表,加注册行不跟改本表即红。
29-
- ⇒ 门绿即名单逐字齐全的读数;⛔ 但数量词未钉:实测 七→六 照绿,只能手跟改。
30+
- ⇒ 门绿即名单逐字齐全;数量词门不钉,本表已删。
3031
- ⛔ 聚合命令同样不作判定:`check:type-check-debt` 可在包级 typecheck 绿时红。
3132
- `check:i18n` 以 PREREQUISITE NOT MET(workspace CLI 未 build)退 3,不是漂移。
3233
- 退出码是字段字面值:判据取门禁印的判定行,⛔ 不取码 —— 同一脚本里一个码可两义。

‎.github/workflows/ci.yml‎

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ concurrency:
136136
# in their `if:` — `dogfood-verify` and `ui-published-artifacts` — and
137137
# `temporal-conformance`, which since ruling record 7146156389 (#37095)
138138
# also runs on a `merge_group` entry whose diff hits the filter's
139-
# `temporal_live` paths (never on `pull_request`). It is NOT in the required
140-
# set, so that queue run is advisory: a red does not eject the entry, it
141-
# lands and shows on `main`. Nothing is deleted: the jobs moved off the per-PR
139+
# `temporal_live` paths (never on `pull_request`). It is in the required set
140+
# again (ruling record 7238262118), so a red on that queue run ejects the
141+
# entry instead of landing on `main`. Nothing is deleted: the jobs moved off the per-PR
142142
# path, `ui-published-artifacts` never had one (#26717). A red in one of them is a main-red
143143
# for the owning lane, and the publish lane reads the full battery before its
144144
# approval (release.yml's `full-battery` job,
@@ -147,7 +147,9 @@ concurrency:
147147
# `core` output, which is 'true' on `merge_group` (letter C was not ruled).
148148
# The queue enforces only the ruleset's required set. `Dogfood Regression
149149
# Gate` left it by #22998 and rejoined it by the #30461 follow-up ruling
150-
# (ruling record 6669982756); check:required-contexts pins its row.
150+
# (ruling record 6669982756); `Temporal Conformance (live PG + MySQL)` left it
151+
# by #22998 and rejoined it by ruling record 7238262118 (#38087).
152+
# check:required-contexts pins both rows.
151153
#
152154
# Spelled as a DENY-list of the per-PR events on purpose — the filter
153155
# contract's half 1 below, applied to events: a trigger added to `on:` later
@@ -2538,16 +2540,19 @@ jobs:
25382540
# driver-memory, driver-mongodb, service-analytics) — the other backends the
25392541
# temporal conformance matrix holds to one standard. Its NAME still says
25402542
# "live PG + MySQL" on purpose: it was a required check until #22998 moved
2541-
# the job to the full battery, and its readers (the scheduled run's red card,
2542-
# merge-queue triage history, every instruction that names it) find it by
2543-
# that literal — renaming it is a contract change, not a tidy-up.
2543+
# the job to the full battery, and is one again since ruling record
2544+
# 7238262118 (#38087), pinned by `check:required-contexts`; its readers (the
2545+
# ruleset, the scheduled run's red card, merge-queue triage history, every
2546+
# instruction that names it) find it by that literal — renaming it is a
2547+
# contract change, not a tidy-up.
25442548
temporal-conformance:
25452549
name: Temporal Conformance (live PG + MySQL)
25462550
needs: filter
25472551
# See THE FILTER CONTRACT on the filter job's outputs (#4928). Full battery
25482552
# (see THE TWO SPEEDS above `jobs:`, #22998), plus the merge queue when the
25492553
# entry's diff hits the `temporal_live` paths ([#37095], ruling record
2550-
# 7146156389). Never on pull_request.
2554+
# 7146156389). Never on pull_request. A skip publishes the required
2555+
# context as `skipped`, which the ruleset counts as passing.
25512556
if: ${{ !cancelled() && needs.filter.outputs.core != 'false' && github.event_name != 'pull_request' && (github.event_name != 'merge_group' || needs.filter.outputs.temporal_live != 'false') }}
25522557
runs-on: ubuntu-latest
25532558
timeout-minutes: 30

‎AGENTS.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -507,12 +507,12 @@ Even inside your own worktree, operate defensively:
507507

508508
**Green means the gate-carrying jobs' `conclusion` is `success`** — not "no failure yet"; `in_progress` is not a
509509
pass, and arming a red PR hides it ([why](docs/agents/multi-agent-discipline.md#arming-a-red-pr-hides-it)). Always
510-
read *two* things: the queue branch **and** `origin/main`. And **the queue enforces only the required set** —
511-
eleven contexts block: `Lint & Repo Gates` (all `check:*` gates), `TypeScript Type Check`, `Test Core`, `Build Core`,
512-
`Governed Surface Queue Guard`, `Lint UI`, `Type Check UI`, `Test UI`, `Build & E2E UI`, `Live E2E UI` and
513-
`Dogfood Regression Gate`; a check outside those eleven is advisory ([why that
510+
read *two* things: the queue branch **and** `origin/main`. And **the queue enforces only the required set**:
511+
`Lint & Repo Gates` (all `check:*` gates), `TypeScript Type Check`, `Test Core`, `Build Core`,
512+
`Governed Surface Queue Guard`, `Lint UI`, `Type Check UI`, `Test UI`, `Build & E2E UI`, `Live E2E UI`,
513+
`Dogfood Regression Gate` and `Temporal Conformance (live PG + MySQL)`; any other check is advisory ([why that
514514
matters](docs/agents/multi-agent-discipline.md#advisory-checks-ride-through)). A required context is matched by
515-
check-run name, so a rename detaches its gate silently — treat those eleven names as contract. **Two speeds** —
515+
check-run name, so a rename detaches its gate silently — treat those names as contract. **Two speeds** —
516516
PR runs carry the fast set, queue runs add the dogfood shards; `main`'s scheduled runs carry the full battery, and a
517517
push run carries it by running the main-only jobs and borrowing the rest from the green queue runs of its commits
518518
([detail](docs/agents/multi-agent-discipline.md#two-speeds-which-runs-carry-which-battery)). **Main-red:** a

‎docs/agents/multi-agent-discipline.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Arming a red PR does not queue it, it hides it:
125125

126126
← [`AGENTS.md` › Multi-agent working discipline](../../AGENTS.md#multi-agent-working-discipline)
127127

128-
A check outside those eleven is advisory and rides through, and an advisory red
128+
A check outside the required set is advisory and rides through, and an advisory red
129129
that lands rides `main`'s merge ref into every later PR until stanched.
130130

131131
## Two speeds: which runs carry which battery
@@ -138,8 +138,8 @@ A check outside those eleven is advisory and rides through, and an advisory red
138138
any approval. Queue runs also carry the three `Dogfood Regression Gate` shards (ruling record
139139
6663883327), so a dogfood red shows on the queue build; `Dogfood Verify CLI` and
140140
`UI Published Artifacts` stay full-battery only. One exception: Temporal Conformance also runs on a queue
141-
entry whose diff hits `ci.yml`'s `temporal_live` paths (ruling record 7146156389); it is not a required
142-
context, so that run is advisory and a red lands on `main`. The `Dogfood Regression
141+
entry whose diff hits `ci.yml`'s `temporal_live` paths (ruling record 7146156389), and it is a required
142+
context again (ruling record 7238262118), so a red there ejects the entry. The `Dogfood Regression
143143
Gate` context is in the required set again (ruling record 6669982756), so a dogfood red ejects the entry.
144144

145145
**A push run borrows what the queue ran** (#31519). Every commit the queue lands was tested there on the same

‎scripts/check-required-contexts.mjs‎

Lines changed: 46 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -371,25 +371,15 @@ const UNATTRIBUTED_BATTERY = '(no battery open)';
371371
* is a property of the workflow, so the workflow is where it is read from: the
372372
* job's own step list, one grep away and never stale (#9103).
373373
*
374-
* ⛔ TOMBSTONE — `Temporal Conformance (live PG + MySQL)`
375-
* (ci.yml:temporal-conformance), dropped by the
376-
* #22998 ruling (two-speed CI; ruling record 6120820653 on #22991): its leg
377-
* moved to the FULL BATTERY — `main`'s push, scheduled and dispatch runs — off
378-
* the PR and queue builds' fast set, and the context left the
379-
* required set. Since ruling record 7146156389 (#37095) the leg also runs on a
380-
* `merge_group` entry whose diff hits ci.yml's `temporal_live` filter paths
381-
* (never on `pull_request`); it is still no required context, so that queue run
382-
* is advisory and its red lands on `main` — whether it rejoins the set is the
383-
* maintainer's call, made in the ruleset. The order is the #9325 two-step: the registry and the
384-
* instruction surfaces drop the row in the PR, and the maintainer removes the
385-
* context from the ruleset in the same sitting as the merge; until then
386-
* `--verify-required-set` reports it in direction B (required, pinned by no
387-
* row), report-only, which is the sitting's own reminder. Prose and not a
388-
* RETIRED_CONTEXT_NAMES row, for the reason the `Build Docs` / `Console Pin
389-
* Gate` tombstone above gives: the name is not dead — the job still publishes
390-
* this check-run on every full-battery run and on such a queue entry, and the instruction files name
391-
* where it runs.
392-
* Returned: `Dogfood Regression Gate` (ci.yml:dogfood-gate) left with it by #22998 and is back since #30461 (letter B 6663883327 put its shards on `merge_group`; letter A 6669982756 re-enrolled the row below).
374+
* The #22998 ruling (two-speed CI; ruling record 6120820653 on #22991) dropped
375+
* two contexts whose legs it moved to the FULL BATTERY — `main`'s push,
376+
* scheduled and dispatch runs — off the PR and queue builds' fast set, in the
377+
* #9325 two-step (the registry and the instruction surfaces dropped the rows;
378+
* the ruleset edit was the maintainer's). Both are back, each
379+
* once its leg ran on `merge_group` again, the row landing first and the
380+
* ruleset edit after it:
381+
* Returned: `Dogfood Regression Gate` (ci.yml:dogfood-gate) left by #22998 and is back since #30461 (letter B 6663883327 put its shards on `merge_group`; letter A 6669982756 re-enrolled the row below).
382+
* Returned: `Temporal Conformance (live PG + MySQL)` (ci.yml:temporal-conformance) left by #22998 and is back since #38087 (ruling 7146156389 put its leg on a `merge_group` entry that hits the `temporal_live` paths; ruling 7238262118 re-enrolled the row below).
393383
*/
394384
export const REQUIRED_CONTEXTS = [
395385
{
@@ -507,6 +497,18 @@ export const REQUIRED_CONTEXTS = [
507497
'the sharded dogfood matrix, `Dogfood Regression Gate (k/3)`, read through the aggregate by check:shard-attestation, ' +
508498
'and the `Dogfood Verify CLI` leg, which its `if:` skips on merge_group and pull_request',
509499
},
500+
{
501+
workflow: 'ci.yml',
502+
job: 'temporal-conformance',
503+
context: 'Temporal Conformance (live PG + MySQL)',
504+
authorized:
505+
'#38087 ruling 7238262118, maintainer 「设为必过」 2026-11-28T10:59Z — after the queue reading 7237905765 ' +
506+
'(38 runs over 23 entries, zero flakes) met the step-3 condition of ruling 7135915693 (#36614); this row is the ' +
507+
'repo half and merges first, the ruleset entry is the maintainer\'s, the same day (#9325)',
508+
carries:
509+
'the driver-sql suite against live PostgreSQL and MySQL servers plus the non-SQL temporal backends; its `if:` ' +
510+
'skips it on pull_request and runs it on a merge_group entry only when the diff hits the `temporal_live` paths',
511+
},
510512
];
511513

512514
/**
@@ -623,10 +625,12 @@ export const INSTRUCTION_SURFACES = [
623625
// contexts moved to the full battery). Then 5→7 by #25853 (the `ui/`
624626
// import's `Lint UI` and `Build & E2E UI`), 7→8 with `Type Check UI`
625627
// once bill item 49 closed (#25856), 8→9 with the `Test UI` aggregate
626-
// (#26460), 9→10 with `Live E2E UI` (#27154), and 10→11 with `Dogfood
627-
// Regression Gate` back (#30461). The full set is pinned here so the
628-
// corrected sentence cannot rot back — a rename in ANY of the eleven
629-
// reddens this gate instead.
628+
// (#26460), 9→10 with `Live E2E UI` (#27154), 10→11 with `Dogfood
629+
// Regression Gate` back (#30461), and 11→12 with `Temporal Conformance
630+
// (live PG + MySQL)` back (#38087), when the sentence also dropped its
631+
// count word (AGENTS.md's volatile-counts rule). The full set is pinned
632+
// here so the corrected sentence cannot rot back — a rename in ANY of the
633+
// twelve reddens this gate instead.
630634
file: 'AGENTS.md',
631635
statesTheSet: true,
632636
mustName: [
@@ -641,6 +645,7 @@ export const INSTRUCTION_SURFACES = [
641645
'Test UI',
642646
'Live E2E UI',
643647
'Dogfood Regression Gate',
648+
'Temporal Conformance (live PG + MySQL)',
644649
],
645650
},
646651
{
@@ -675,6 +680,7 @@ export const INSTRUCTION_SURFACES = [
675680
'Test UI',
676681
'Live E2E UI',
677682
'Dogfood Regression Gate',
683+
'Temporal Conformance (live PG + MySQL)',
678684
],
679685
},
680686
{
@@ -696,7 +702,7 @@ export const INSTRUCTION_SURFACES = [
696702
* of the six surfaces have one; `AGENTS.md` does not, because a repo-root FILE
697703
* has no separator to be found by — so an AGENTS.md card derived this gate not
698704
* at all, while that surface is the one carrying `mustName` for every
699-
* required context (widened 2→6 by #9677, 6→7 by #17798, 7→5 by #22998, 5→7 by #25853, 7→8, 8→9 by #26460, 9→10 by #27154, 10→11 by #30461). Editing the merge-queue
705+
* required context (widened 2→6 by #9677, 6→7 by #17798, 7→5 by #22998, 5→7 by #25853, 7→8, 8→9 by #26460, 9→10 by #27154, 10→11 by #30461, 11→12 by #38087). Editing the merge-queue
700706
* paragraph there is precisely how this gate goes red, and it was reachable
701707
* only by judgment.
702708
*
@@ -2026,6 +2032,17 @@ async function selfTest() {
20262032
renamedDogfood.problems.some((p) => p.includes("job 'dogfood-gate'") && p.includes("'Dogfood Regression Gate'")),
20272033
'growing a suffix on the bare `Dogfood Regression Gate` name ⇒ red, naming the aggregate job and the required context',
20282034
);
2035+
// The fixture this battery first carried, back with its row (#38087): the
2036+
// job's name dropping its "(live PG + MySQL)" suffix is a rename too.
2037+
const renamedTemporal = fixture('rename Temporal Conformance', 'ci.yml', (s) =>
2038+
s.replace(' name: Temporal Conformance (live PG + MySQL)\n', ' name: Temporal Conformance\n'),
2039+
);
2040+
assert(
2041+
renamedTemporal.problems.some(
2042+
(p) => p.includes("job 'temporal-conformance'") && p.includes("'Temporal Conformance (live PG + MySQL)'"),
2043+
),
2044+
'dropping the "(live PG + MySQL)" suffix from the temporal-conformance job name ⇒ red, naming the job and the required context',
2045+
);
20292046

20302047
// ── (2) the job disappearing entirely ─────────────────────────────────────
20312048
// Re-pointed from `console-pin` to `temporal-conformance` when #9533 dropped
@@ -2834,12 +2851,11 @@ async function selfTest() {
28342851
assert(snapshot.strict === false, 'strict_required_status_checks_policy is read, not assumed');
28352852
assert(snapshot.enforcing.length === 1 && !snapshot.noEnforcingRuleset, 'one active ruleset covers the default branch');
28362853
// Direction B against the checked-in registry, derived for the same reason
2837-
// as direction A below: the 2026-08-18 reading still carries
2838-
// `Temporal Conformance (live PG + MySQL)`, which #22998 dropped from the
2839-
// registry, so the snapshot reports it as required-and-unpinned — exactly
2840-
// the reading the maintainer's settings half of that two-step clears.
2841-
// (`Dogfood Regression Gate`, dropped with it, is pinned again since
2842-
// #30461 and so no longer reads as unpinned here.)
2854+
// as direction A below: the 2026-08-18 reading carries the two contexts
2855+
// #22998 later dropped from the registry, and both are pinned again
2856+
// (`Dogfood Regression Gate` since #30461, `Temporal Conformance (live PG +
2857+
// MySQL)` since #38087), so the snapshot reads as unpinned nothing the
2858+
// registry knows.
28432859
const pinned = new Set(REQUIRED_CONTEXTS.map((e) => e.context));
28442860
const unpinnedNames = snapshot.unpinned.map((e) => e.context ?? e).sort();
28452861
assert(

0 commit comments

Comments
 (0)