Repository navigation
ci(release): the post-version validation also runs the registry template's region pin - #38119
Conversation
…ate's region pin The version step's content gates ran one spec test, protocol-version.test.ts. The region pin in build-migration-registry-entry.test.ts checks that the registry template opens a region per migration kind for the spec package's major and PROTOCOL_MAJOR; the version pass moves the spec major, so a boundary train now names a missing region in the same run. One file, local project, no build, 2.3 s. Claude-Session: https://claude.ai/code/session_01L9qibxRSo4RBpRknKqBLmy Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#3 · os-tesla · session_01L9qibxRSo4RBpRknKqBLmy Final head: Tier H by path. This PR lands only after an authorized approval, then by the owning seat. |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head dc29936 · 2026-11-28T03:23Z |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract reviewServed-tier: Read: card #37587 with all four comments, PR #38119 (body, file list, net diff against ① Derived judgments
② Semver levelClause-②: no
③ Boundary flags
④ Design judgment
No must-fix, no should-fix. Nits (prose only, in the header comment):
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 The brief the contract reviewer above was handed, filled, for the seat to read before it adopts the record: Contract review brief — PR #38119 @
|
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 L1-a: ACCEPT at
|
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU Recorded 2026-11-28T03:30Z. 维护者速读
席位意见:可以合。只加一行 run_gate,挂在 protocol-version 那条之后。消融掉 19 的区段,它会点名报错。这个 job 只在定时和手动触发时跑,所以这个 head 上没有任何 check 执行到改动的步骤,第一次真正运行是合并后的下一次定时刷新。 席位核对 — ACCEPT · repo:objectstack#3 · head
|
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU Tier H approval request at 2026-11-28T03:31Z. Seat record: the newest |
Requested by Tesla · project thread
Fixes #37587
repo:objectstack#3 · os-tesla · session_01L9qibxRSo4RBpRknKqBLmy
Clause-②: no
Metadata-protocol: none
维护者速读
<os-generated retired-key:19>region, so Test Core fails on the 19.0.0-next.0 version tree and the first 19 pre-release cannot merge #37549)。卡上另外两项:ui 测试已由 test(ui): doc-version-claims reads the spec major from the package it resolves, not a fixed workspace path #38089 合入,mcp-authoring 文案已由 fix(runtime): save_metadata_draft's clientSpecVersion example names the server's own spec version #37821 修好。What changes
.github/workflows/release.yml, job "Version PR maintenance", step "Validate the post-version tree":protocol-version.test.tsline:run_gate pnpm --filter @objectstack/spec --fail-if-no-match exec vitest run --project local scripts/build-migration-registry-entry.test.ts. That file holds the registry template's region pin (from fix(spec,test): unblock the 19 Version PR: open the major-19 registry regions, parse prerelease versions in the MCP save test, key the objectui pin claim on the spec major #37557). It checks that every migration kind has anos-generatedregion for the spec package's major and forPROTOCOL_MAJOR, the majors a new entry registers under.protocol-version.ts: the same run names a missing region, rather than the run after the refusal is resolved. And it says why the other three files that reddened the 19 Version PR are not added (readings below).Tests
Readings at dc29936 (5746ba60 measured on origin/main 6e06729, then cherry-picked onto 447757d, the merge of #38089)
src/kernel/protocol-version.test.ts(l.825).19.0.0-next.1,PROTOCOL_VERSION19), after install and with no build, which is this job's state:Tests 7 passed (7), 2.2 s.retired-key:19region deleted fromregistry.ts.template, the same command exits 1:× opens and closes 'retired-key:19', "src/migrations/registry.ts.template has no<os-generated retired-key:19>region, but major 19 is current (spec package 19.0.0-next.1, PROTOCOL_VERSION major 19)…",Tests 1 failed | 6 passed (7). Restored withgit checkout HEAD -- <file>;git status --porcelainempty.scripts/build-schemas-check-mode.retired-keys.test.ts(repo project):13 passed, 132 s. Its failure on chore: version packages (next) #35129 is the missing region itself, which the pin judges structurally.packages/runtime/src/domains/mcp-authoring.test.ts: does not start without a build (Failed to resolve entry for package "@objectstack/objectql").ui/scripts/__tests__/doc-version-claims.test.ts: 2.0 s. Its version-step input is the objectui skill'scompatibility:pin, whichcheck:skill-compatibilityalready judges in this step.yaml.safe_load).Tests 7 passed (7)again.Gates
dispatch-gates --ranon.github/workflows/release.yml: 40 derived, 40 run, every oneexit 0, 0 NOT-MEASURED (a derived zero), 0 unrun.Affected step, before and after (advisory)
Acceptance notes
check-governed-merges.mjs, therelease.ymlrow of the workflows split). It lands only after an authorized approval, then by the owning seat.Generated by Claude Code