Skip to content

Commit dc29936

Browse files
committed
ci(release): the post-version validation also runs the registry template'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>
1 parent 447757d commit dc29936

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,30 @@ jobs:
530530
# NEW major. ONE file, 5 s — reachable
531531
# without the whole spec suite, which
532532
# this comment used to say it was not.
533+
# build-migration-registry-entry.test.ts
534+
# the registry template's region pin: an
535+
# `os-generated` region per migration kind
536+
# for the spec package's major AND for
537+
# PROTOCOL_MAJOR — the majors a new entry
538+
# registers under. The version pass moves
539+
# the spec major, so on a boundary train
540+
# this is the first tree where the new
541+
# major is the package's own. The refusal
542+
# of a moved protocol-version.ts below
543+
# already stops that train; this names a
544+
# missing region in that same run, rather
545+
# than on the run after the refusal is
546+
# resolved. ONE file, local project, no
547+
# build, 2.3 s measured.
548+
# NOT the three files that reddened the
549+
# 19 Version PR: the retired-keys
550+
# check-mode test is the region gap
551+
# itself, judged here by this pin
552+
# structurally, at 132 s; the runtime
553+
# mcp-authoring test needs a build; and
554+
# ui doc-version-claims reads the skill
555+
# pin check:skill-compatibility already
556+
# judges above.
533557
# check:spec-changes, check:upgrade-guide
534558
# the two projections DERIVED from
535559
# PROTOCOL_MAJOR (2-3 s each). Before the
@@ -823,6 +847,7 @@ jobs:
823847
run_gate pnpm --filter create-objectstack --fail-if-no-match test
824848
run_gate pnpm --filter @objectstack/spec --fail-if-no-match check:template-manifests
825849
run_gate pnpm --filter @objectstack/spec --fail-if-no-match exec vitest run --project local src/kernel/protocol-version.test.ts
850+
run_gate pnpm --filter @objectstack/spec --fail-if-no-match exec vitest run --project local scripts/build-migration-registry-entry.test.ts
826851
run_gate pnpm --filter @objectstack/spec --fail-if-no-match check:spec-changes
827852
run_gate pnpm --filter @objectstack/spec --fail-if-no-match check:upgrade-guide
828853

0 commit comments

Comments
 (0)