Skip to content

docs(v19, upgrading): the protocol-19 database switch as an ordered step, and the release page through next.4 - #39424

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-39394-wip
Dec 4, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-39394-wip

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4cxRh6Sbfo2Xm49JPx6

Requested by Elon · project thread

Fixes #39394

Clause-②: no
Metadata-protocol: none

维护者速读

  • 从 18.x 升级到 19 的客户在版本说明页和升级指南里,现在能按顺序看到"启动 19 之前先切换数据库协议"这一步;版本说明页也更新到了 19.0.0-next.4,补上了它的破坏性变更。
  • 属于"平台升级与迁移",替所有从 18.x 升级的客户解决:漏掉这一步时 19 的服务直接拒绝启动、而文档没写。
  • 只改文档,不改代码;若描述有误,客户最多照着说明多跑一次预览命令,可随时撤回本次文档修改。
  • 无

What changes

Docs only, two pages:

Command spelling and order were checked against packages/cli/src/commands/migrate/protocol.ts (flags --to, --apply, --yes, --database-url, --preset, --dev; examples --to 19 then --to 19 --apply --yes), against the boot guard in packages/cli/src/commands/serve.ts, and against the runtime section of upgrading.mdx. protocol.ts is absent from the 19.0.0-next.3 tree (ea6e312a) and present in 19.0.0-next.4 (779ff419), so the step is written as "from next.4".

Read first, by risk:

  1. content/docs/releases/v19/index.mdx "Coming from 18.x" step 5: the order a customer follows.
  2. The same page's "Forms, flows and printing" group: the customer-facing restatement of feat(spec)!: a view holds lists only; view-held forms are tombstoned #38957, fix(automation)!: published or stored flows with a durable-pause shape load with a warning; saves still refuse (#39282) #39306 and fix(service-print)!: the record print downloads the PDF and stores no attachment #39076.
  3. content/docs/upgrading.mdx "The loop" code block.

Two-minute verification: git grep -n "migrate protocol" -- content/docs/releases/v19/index.mdx content/docs/upgrading.mdx lists the new step on both pages (0 hits on the release page at origin/main).

Tests

No code changed. Docs gates derived by node scripts/pm/dispatch-gates.mjs --commands on head 4690676a: 52 ran with exit 0, 1 NOT MEASURED.

Gate readings (head 4690676)
  • 53 derived. 52 exited 0, among them check:release-notes, check:release-page-status, check-release-section-coverage.mjs --strict, check:doc-anchors, check:doc-authoring, check:docs-redirects, check:issue-citations, check:role-word, check:nul-bytes, @objectstack/spec check:docs, @objectstack/lint check:doc-formula-expressions / check:doc-security-posture and check:docs-transcript-drift. The last four ran after pnpm --filter '@objectstack/lint...' build.
  • NOT MEASURED: @objectstack/spec check:skill-examples. Its prerequisite was not met because the client SDK's dist is not built here. Its scan surface is skills/ and the client SDK, which this diff does not touch. CI runs it.
  • dispatch-gates --ran: 53 derived, 52 run, 1 NOT-MEASURED, 0 UNRUN.
  • overlap-check.mjs: clean against origin/main, exit 0.

Acceptance notes

Verification

  • git log ea6e312a..779ff419 --format='%h %s' | grep -E '^[0-9a-f]+ [a-z]+(\([^)]*\))?!:' lists 11 PRs, all now on the page (clone deepened to reach ea6e312a).
  • The @objectstack/spec / @objectstack/cli tags 19.0.0-next.3 and 19.0.0-next.4 point at ea6e312a and 779ff419 (git ls-remote --tags).

Generated by Claude Code

…tep, and the release page through next.4

The v19 release page's "Coming from 18.x" and upgrading.mdx "The loop" now
carry `os migrate protocol --to 19` (preview, then --apply --yes) before the
first 19 boot. The release page's status names 19.0.0-next.4, its
"after next.3" steps read "from next.4", and the pull requests titled with
`!` that first ship in next.4 are listed in the sections their changesets
classify into.

Claude-Session: https://claude.ai/code/session_016WV4cxRh6Sbfo2Xm49JPx6
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Dec 3, 2026
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation labels Dec 3, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4cxRh6Sbfo2Xm49JPx6

2026-12-03T23:14Z · PR-body guards red on head 4690676a (run 47225020408): check:closing-target-claim found no Claim: naming claude/issue-39394-wip; the first claim named a branch this project may not push and its correction was an amendment line, not a Claim:. Seat fix: #39394 comment 7395298609 restates the claim with this branch (same session). Not a flake in the code; the card state was missing. Re-running the failed job once.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4czfEjskBjZM6jhKWFR

2026-12-03T23:20Z · L1-a verdict: ACCEPT at head 4690676a42 (zone em-upgrade, card #39394)

席位核对

Checklist verdict. Shape: open, draft, base main, first line Fixes #39394, no closing keyword binds another card. Fixes is right: the card asks for the switch as an ordered step on both pages plus next.4 coverage on the release page, and this diff delivers all three. Clause-②: no · Metadata-protocol: none · Skills-docs: not owed. Docs only, two files, both named by the card; no published package touched, skip-changeset matches (l1-face changeset row ok).

Accepted deviation. l1-face flags releases-path: the diff touches content/docs/releases/v19/index.mdx. AGENTS.md's ownership table routes a factual error on a releases page to a dedicated docs-only PR; this is that PR, and the card's finding (QA #39390 F1b, #39391 D5) is that the page is factually behind the published 19.0.0-next.4.

Spot reads (sentence by sentence, against 779ff419 = @objectstack/cli@19.0.0-next.4's source tree and the PRs' own changesets):

Gates at 4690676a42. Lint & Repo Gates success, TypeScript Type Check success. Not yet all green: Test Core (1/12) and (2/12) in progress; PR-body guards (claim · duplicate · Part-of · single-writer path) failure, which the zone attributes to the first claim's branch name, fixed by claim 7395298609, and which re-runs on the next PR event. Landing condition: every check success or expected skip on the head that lands (true-green.md); this ACCEPT does not carry a red guard into the queue.

Out of scope, recorded: other "From the first 19 release after 19.0.0-next.3" sentences in upgrading.mdx outside "The loop" are left (claim scoped edits to that section) — the zone files the follow-up or folds it into the next release-page pass. Workarounds for #39392 / #39393 are deliberately not documented.

Pointer for #39394: ACCEPT → PR #39424 (this comment).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4cxRh6Sbfo2Xm49JPx6

2026-12-03T23:28Z · Landing (zone em-upgrade). L1 ACCEPT 7395432441 at head 4690676a; check-governed-merges.mjs --pr 39424: NOT governed, 188 changed lines. Checks on the head: every run success or skipped, except the superseded PR-body guards run of 23:12Z whose re-run on the body edit is success. Out-of-scope note from the L1 (the other "after 19.0.0-next.3" sentences in upgrading.mdx outside "The loop"): still true as written (next.4 is that release), so no card; dropped — indirect wording only.

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

Labels

documentation Improvements or additions to documentation size/m skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

2 participants