Skip to content

Commit c4472c8

Browse files
feat(metadata-protocol): the stored-form ceremony's write half, the --apply the next major's upgrade command runs (#38748)
<!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9SSdM6AYsxMukn8uhMeGEh7)_ Part of #37111 — PR 2 of 2 (the write half). PR 1 is #38613 (merged as `1d959b0910`). Two owed items stay, each with its reason in the table below, so this PR does not close the card. Clause-②: yes (widening) Metadata-protocol: none Skills-docs: none — stored-row ceremony, nothing an author writes changes ## 维护者速读 - 用户能看到什么变化:升级到下一个大版本时,升级命令会把数据库里按旧写法存的表单真正迁成表单行(搬移、合并、删除内部记录表单),公开表单的两扇门在迁移前后应答不变。 - 全有或全无:只要预检还有一行拦着,升级命令一行都不写,所有行逐字节不变;写入在一个事务里做完。不能回滚事务的库上,升级命令在写任何东西之前就拒绝,点名驱动并告诉运维怎么做(换支持事务的库跑,或留在当前版本);`os migrate stored-forms` 在这种库上也会提前说明升级会被拒。 - 独立的 `os migrate stored-forms` 仍然只读,没有 `--apply`(裁决 7142585849)。 - 要你做什么:本 PR 是 Tier H 的 draft,审核后按受管流程批准。你 2026-11-30 的裁决(7277149723)在本 PR 按规则全量落地:今天没有任何一扇门服务的表单,无论绑在哪个包,升级时都原地不动;ADR-0159 D7 单列一条写明「没有门服务」的含义。 - **需要你在批准时定**(席位 L2 7280142300 上报,不评级):上面这条拒绝意味着「默认驱动不能回滚事务、又有要搬的存量表单」的部署拿不到这个大版本,除非换库。批准本 PR 即接受这一点;否则请指示别的做法。 - 风险:写入走仓储底层(不经保存门),所以每条写入都由两门前后钉子和 ablation 守着;Tier H,draft 不转 ready。 - 卡上还剩:两条欠单写明原因留着(见下表);L2 记录 7277980228 与其 delta 7280142300、L1-b delta 7280063801 的各项已在本 PR 修好(见下)。 ## What changes - **`applyStoredFormsOf(protocol, { actor })`** (`protocol-stored-form-apply.ts`, exported for the major's upgrade command only). It runs the census and acts on it: - **All or nothing.** If the precheck counts any row, it writes nothing; every stored row stays byte-equal. - **Order.** Each destination `form` row is written and read back at its own address. Only then are the old rows deleted or re-saved: - a view item row is deleted; - a container is re-saved without the forms that left it (through the `form` write door's own member removal), its lists byte-equal; - a container left with nothing is deleted. - **One transaction.** The `.custom` pairs the moves land in are ensured first, before it, and stay after a rollback (an empty pair changes no answer; the next run reuses it). The registry is healed after the commit. - **Refused where the database cannot roll back.** On an engine whose default driver cannot roll a transaction back, a run that would write or take a row throws before anything is written (no pair is ensured), naming the driver and the operator's choice: run against a database whose driver supports transactions, or stay on the current release. A run with nothing to write is not refused. - **Idempotent.** A second run writes nothing. - **What a moved row carries.** Its stored body, without the provenance a container's expansion wears from the shipping package. A declared override is written as its pair's own row (the store's runtime intent, as the save door gives it). - **Planner readings owed by PR 1:** - N4 and N16: the fold reads a withdrawal the `view` list or another pair's layer reads today, so it does not name the form newly closed. - N14: the pair's own item needs no `basedOn`. - N5: the refusal names in words why no pair id can be derived. - **The census and `--apply` agree:** - **A sealed destination holds the upgrade.** Every destination but a declared override is written as an edit of the item a package ships at the name, and the store seals a `form` a managed package ships (ADR-0131 D6). The census now reads that seal the way the run's write meets it: such a move, or a kept `form` row the run writes because it carries a withdrawal, holds the upgrade (cause `app_author`), naming the shipping package, instead of planning a write the run then refuses inside its transaction. - **A form no door serves today is left in place by the upgrade**, whatever package its row is bound to (maintainer ruling record 7277149723). Every plan that would move a row asks the effective `form` read whether it lists a form of the name at the address the plan is made at; where it does not, the move is `left_in_place` with reason `served_by_no_door`: nothing of it moves, nothing is written, and it is not counted. A hold the plan takes part in still stands. ADR-0159 D7 states the rule as its own bullet; `os migrate stored-forms` prints the reason. `StoredFormLeftReason` (an exported output union) gains `served_by_no_door`: the widening the `Clause-②` arm declares. - **Census pins forced by the new writers:** - `protocol.view-expansion-reconcile-call-sites.test.ts` records the three writes, which use the `module callers` route, healed by `healStoredFormRows`. - `protocol.object-registry-write-through-spelling.test.ts` records the write-through's tenth caller. - Both files are in the File surface by claim amendment 3 (7276366326). - **Docs.** `content/docs/deployment/stored-forms-upgrade.mdx` gains "What the upgrade command writes", the L1 nit's wording for the fold, the served-today rule for every address, the left-in-place sentence, the pairs created before the transaction, the refusal on a database that cannot roll back, and a clearing-table row for a sealed destination. - **A rest test's budget.** The first served `view` read in a worker loads `@objectstack/lint` lazily (`metadata-diagnostics.ts`), about 1s on an idle box and past 5s on a loaded CI runner (Test Core 8/12 at `5ed2329e`). In `public-form-two-type-withdrawal.test.ts` that read was the `/meta/form` audience test's first `/meta` read. The describe now takes the load once in `beforeAll`; the test's own reads measure 55ms. The same file's base and head measured alike for that test (1431–1544ms at the merge base, 845–1113ms at the head), so the timeout was not this PR's change to the read. ## Owed by PR 2 (from #38613), reconciled | Item | Status | |---|---| | `pair_form` byte-equal pin (ruling 7250977204), destination drops `overrides` | done at `68b146c3` — rest "the pair's own item (ruling 7250977204)…" | | …and seed N11's case | done at `d8c26159` — a form no door serves today is left in place by the upgrade (maintainer ruling of 2026-11-30): planner, engine and rest pins (red first; ablation turns all three red); ADR-0159 D7 sentence; one PR 1 engine pin that planned such a member as a move now reads it left in place | | N4 | done at `4c77a1e5` — planner "N4: a `view` row a `form` row outranks…" (red first; ablation turns exactly it red) | | N5 | done at `ae532d45` — planner "N5: where no pair id can be derived…" (red first) | | N13 / L1-b item 1 | done at `e5dd21b2` — engine "N13: the pair door's refusals and the draft read, through the real protocol" (the earlier pair's 409 read as that pair, the other owner's 422, a positive control, the draft read) | | N14 | done at `4c77a1e5` — planner "N14: …" (red first; ablation) | | M3 through both doors | done at `3093ce7e` — rest "M3 through both doors" (two shapes) | | N16 | done at `4c77a1e5` — planner "a second pair's override that withdraws the form…" (red first; ablation) | | ③ a pair held as booted code | stays — not built this round; not measured | | L1 nit (fold wording) | done at `a5985f41` — the page's `kept` and `moves` rows | | Both-doors pin for a row served at another address | done at `3093ce7e` — rest "a row the read serves at another address than the package it is bound to…" (switched off and open) | | Ruling 7265816895 step 5 | done at `e5dd21b2` — engine "a held row: applyStoredForms writes nothing at any address" (every stored row byte-equal; every address's served read equal before and after); rest "all or nothing" for the two doors at one address | | Step 6 (clearing-table row for the contested slot) | done in PR 1 (`1d959b0910`); unchanged here | | Step 7 (a store that enforces one row per slot) | stays — not built; the engine pins hold the contested slot before any write | | N32 | done at `e5dd21b2` — engine "S14 over the real read…" (the first S14 shape); the second shape's engine half is not built separately | | N33 | done at `e5dd21b2` — engine "N33: a container member kept as stored beside a sibling member that moves" | | N29 | done at `e5dd21b2` — engine "the third-address shape…" | | List-only labeling note | done at `a5985f41`; re-read after M1 and replaced at `9ecc15b5` by the served-today rule for every address (L2 N2) | ## Last round's finding, fixed here - **A destination the store seals** (done at `bedc74f7`): planner pin and controls, rest pin through `listStoredFormsOf` and `--apply` (red first: the census planned a move); ablating the census read turns the planner, engine and rest pins red. One PR 1 engine pin planned such a row as a move the run could not write; it now reads the hold. ## L2 record 7277980228 (FAIL at `4a67c9f2`), fixed here | Item | Commit | Pins (red first; ablation) | |---|---|---| | M1 — the left-in-place rule for every plan that would move a row | `906d10a8` | planner "a form no door serves today is left in place by the upgrade, whatever package its row is bound to" (4 shapes + 4 controls) and "a hold stands where no door serves the row today"; rest "…whatever package its row is bound to: …" (3 shapes, both doors 404 before and after). Red on `4a67c9f2`: planner 4, rest 3. Ablating the census read at every plan: planner 5, engine 1, rest 4 red. | | S2 — a kept row the run writes reads the seal | `d61a32a4` | planner "a kept `form` row the run writes … reads the seal too" + 2 controls; rest "the census and the run agree where the store seals a kept row the run writes". Red on `906d10a8`: planner 1, rest 1. Ablation: exactly those two red. | | S3 — refuse `--apply` on an engine that cannot roll back | `85c7eebd` | rest "on a database that cannot roll back a transaction, --apply is refused before anything is written" (the refusal names the driver and what to do; no pair ensured; rows byte-equal; doors unchanged) + a control (nothing to write is not refused). Red on `d61a32a4`; ablation turns exactly it red. No undo. | | S1 — the ADR D7 sentence | `9ecc15b5` | its own bullet: what "no door serves" means, apart from a withdrawn form and an internal record form, what "its rows stay as stored" covers, cites `7277149723` | | N1 — pairs before the transaction | `9ecc15b5` | the page and the module header | | N2 — the list-only paragraph | `9ecc15b5` | replaced by the served-today rule for every address | | N3 — `Clause-②: yes (widening)` | `9ecc15b5` | this body and the changeset | ## L1-b delta 7280063801 and L2 delta 7280142300, fixed here | Item | Commit | Pins (red first; ablation) | |---|---|---| | L1-b must-fix 1 / L2 S5 — what the environment's address reads | `bf56df4e` (pin), `7831394d` (D7 and page) | Measured, then reported as a fork and accepted: a form stored with no package is served by both doors where the read seats it, under a package that ships only a list of the name included, so the census reads every such slot at the environment's address. Rest "a package-less form at the environment's own address is served today where the read seats it" (0, 1 and 2 list-shipping packages: both doors serve it before, it moves, both doors answer the same after). Ablating to "the environment only": the 1- and 2-package pins and one engine pin red, the 0-package control green. | | L2 S4 — an unserved form does not hold at the pair door or a sealed destination | `11338180` | planner "a form no door serves today is left in place before a hold its move would take" (pair door; sealed destination). Red on the previous head: 2. Ablation: exactly those 2 red. | | L2 N5 — a row another address serves and moves | `7831394d` | the D7 sentence: such a row goes with that move | | L2 N6 — the report names a database where the run will be refused | `74b1cfc8` (pin made load-free at `5f0b99fe` | cli "the census report says where the upgrade's run will be refused" + 2 controls (`runRefused` in `--json`). Ablation: exactly the first red. | | L2 ③ — refusing a deployment that cannot roll back | — | escalated to the maintainer by the seat, decided at the Tier H approval; named in the summary above. Nothing built. | ## Verification Head `5f0b99fe`. - **This round** (L1-b delta 7280063801, L2 delta 7280142300), at the head's tree: the planner file 106/106 (with the two census pin files, 131/131), engine 38/38, rest 94/94, cli `stored-forms.test.ts` 3/3. Derived gates: the same 109 commands; 108 exit 0 on the first run and `check:test-source-alias` exit 1 on the new cli test (it reached the stack's dynamic imports); the test now mocks those packages, and that gate exits 0 at the head; `dispatch-gates --ran` on the final record: 109 run, 0 NOT-MEASURED. `overlap-check` at the head's tree: clean against `origin/main` (`95a49adb80`); no open pull shares a file. The change set is 13 paths: the 12 before plus the cli command's own test file. Previous round, at `9ecc15b5`: - **That round** (L2 record 7277980228), at the head's tree: the planner file 104/104 (with the two census pin files, 129/129), engine 38/38, rest 91/91; metadata-protocol type-check clean. Derived gates: `dispatch-gates --commands` derived 109 commands (the same list as last round); all 109 exit 0, each run with `< /dev/null`; `dispatch-gates --ran`: 109 run, 0 NOT-MEASURED. `overlap-check` at the head's tree: clean against `origin/main` (`8426fa0c89`); no open pull shares a file. Earlier, at `4a67c9f2`: - **This round** (the sealed destination, the rest test's budget, the left-in-place rule), at the head's tree: - The three changed test files: planner 92/92, engine 38/38, rest 85/85; metadata-protocol and CLI type-check clean. - **Red first:** the sealed-destination planner pin and rest pin failed on the old source (the census planned a move); the left-in-place planner pin and rest pin failed on the old source (the census planned a move). - **Ablations**, each with `scripts/ablation-replace.mjs`, restored to `HEAD`: - The census read of the store's seal: the planner pin, the PR 1 engine pin it now reads, and the rest pin. - The census read of the forms served today: the planner pin, the PR 1 engine pin it now reads, and the rest pin. - The rest audience test measured 55ms with the load taken in the hook (1974ms before, in the same file run). - **Derived gates at `d8c26159`:** `dispatch-gates --commands` derived 109 commands; all 109 exit 0, each run with `< /dev/null`. `dispatch-gates --ran`: 109 run, 0 NOT-MEASURED. The changeset commit after it changes no path in the change set. - **`overlap-check`** at `4a67c9f2`: clean against `origin/main` (`db2273d5c4`); no open pull shares a file. - **Earlier rounds** (head `5ed2329e`): 97 derived gates, all exit 0; the ablations listed below each turned exactly their own pins red: - Ignoring the precheck: exactly the 10 all-or-nothing pins (9 engine, 1 rest). - Keeping the read's provenance on the moved body: the container withdrawal pin. - Keeping an emptied container: the same pin, through its second run. - Judging a declared override's write as an edit of the shipped item: the base-ships-a-`form`-item pin. - Dropping the folded row's switch: the three fold pins. - N4, N16 and N14 each: exactly its own planner pin. - Reading a row only at the package it is bound to: the two "another address" pins. - Planning the pair's override at the pair's own address: the two M3 pins. - **Not measured locally, CI owns:** the CLI integration tier, the type-check lanes, and the dogfood and live-database jobs the derivation names as CI-only. ## Deviations - **File surface.** The two census pin files and the ADR file were outside the claim; claim amendment 3 (7276366326) names them. The rounds after the claim add no path but the cli command's own test file (`stored-forms.test.ts`). The census pins are forced (each new stored-row writer is recorded there); the ADR file carries the D7 sentence of the 2026-11-30 ruling. - **Two PR 1 engine pins change their expected plan.** Each planned a row as a move that the rules of this round do not move: one into a destination the store seals (now a hold), one a form no door serves today (now left in place). Their reads of today are unchanged. - **Changeset.** It names `@objectstack/metadata-protocol` and `@objectstack/cli` (the CLI prints the new left-in-place reason); every other change is tests and docs. - **No `protocol-stored-form-apply.test.ts`.** The write half is pinned over the real protocol in `objectql` and through both doors in `rest`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01ADHkmQrGTjSRSiwWSe6AhK <!-- signed: repo:objectstack#3 · os-steve · session_01ADHkmQrGTjSRSiwWSe6AhK --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 94b3463 commit c4472c8

13 files changed

Lines changed: 1748 additions & 31 deletions
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
'@objectstack/metadata-protocol': patch
3+
'@objectstack/cli': patch
4+
---
5+
6+
feat(metadata-protocol): the stored-form ceremony's write half, the `--apply` the next major's upgrade command runs (ADR-0159 D7)
7+
8+
Clause-②: yes (widening)
9+
Metadata-protocol: none
10+
11+
`applyStoredFormsOf(protocol, { actor })` runs the census `os migrate stored-forms` prints and acts on it, all or nothing with the switch: when the precheck counts any row, it writes nothing and every stored row stays byte-equal. Otherwise it ensures the `.custom` pairs the moves land in (they stay if the run fails; an empty pair changes no answer and the next run reuses it), then, in one transaction, writes each form that is kept with a carried withdrawal or moved as a `form` row at its destination, with its body as stored (a folded row's withdrawal switches the kept form off, its link kept; a declared override is written as its pair's own row), reads each one back, and only then deletes or re-saves the old rows: a view item row is deleted, a stored container is re-saved without the forms that left it (its lists and the forms it keeps byte-equal), and a container left with nothing is deleted. Internal record forms are removed the same way, with their bodies in the result. Forms left in place and drafts are not touched; a second run moves nothing. On a database whose default driver cannot roll a transaction back, a run that would write or take a row is refused before anything is written, naming the driver and what to do (run against a database whose driver supports transactions, or stay on the current release). It is exported for the major's upgrade command only; `os migrate stored-forms` stays read-only.
12+
13+
The census gains three readings: a withdrawal in a `view` row a `form` row outranks at its place, and one in a second pair's declared override, are read today, so the fold does not name the form newly closed; a row bound to a package that ships no form of the name moves into the pair as its own item where the base records no version (that item declares no `basedOn`); and where no pair id can be derived from a base, the refusal names why in words. Two more keep the census and `--apply` in step: a move, or a kept row that carries a withdrawal, whose destination row the store seals (a managed package ships the form's name as a `form` item, and the destination is not a declared override) holds the upgrade, naming that package, instead of failing the run; and a form no door serves today is left in place by the upgrade, whatever package its row is bound to (`served_by_no_door`, a new member of the exported `StoredFormLeftReason`), which `os migrate stored-forms` prints; such a form does not hold the upgrade at the pair door or at a sealed destination either. On a database that cannot roll back, `os migrate stored-forms` says the upgrade's run will be refused (`runRefused` in `--json`).
14+
15+
The operations page `content/docs/deployment/stored-forms-upgrade.mdx` says what the upgrade command writes.

‎content/docs/deployment/stored-forms-upgrade.mdx‎

Lines changed: 52 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ switch, and the deployment stays on the release it is running.
1414

1515
`os migrate stored-forms` shows you that outcome before you upgrade. It writes
1616
nothing, and it has no `--apply`: the move is reached only from the upgrade
17-
command.
17+
command ([below](#what-the-upgrade-command-writes)).
1818

1919
```bash
2020
os migrate stored-forms
@@ -35,12 +35,21 @@ package of your own, or the environment itself when no package ships it.
3535

3636
| Outcome | What the upgrade does |
3737
|---|---|
38-
| **kept** | The form is already stored as a form. Older rows of the same form fold into it. |
39-
| **moves** | The row moves to a form row, with its body as written: into the package's paired `.custom` package as a declared override for a read-only package, into the package itself for a writable one, or into the environment. An override already stored in a `.custom` package keeps its package and the version it is based on. A row bound to a read-only package that ships no form of that name, or an override of a package that ships none, moves into that package's `.custom` package as a form of its own, with no override declared; its public address answers as it does today. Where the server today serves such a row at one other package's address, it moves as a row of that package does, into that package's `.custom` package as a declared override. Older rows of the same form fold into it. |
38+
| **kept** | The form is already stored as a form. The rows the server serves behind it at that package fold into it. |
39+
| **moves** | The row moves to a form row, with its body as written: into the package's paired `.custom` package as a declared override for a read-only package, into the package itself for a writable one, or into the environment. An override already stored in a `.custom` package keeps its package and the version it is based on. A row bound to a read-only package that ships no form of that name, or an override of a package that ships none, moves into that package's `.custom` package as a form of its own, with no override declared; its public address answers as it does today. Where the server today serves such a row at one other package's address, it moves as a row of that package does, into that package's `.custom` package as a declared override. The rows the server serves behind the moved row at that package fold into it. |
4040
| **will be removed** | The row is an internal record form: a create or edit form with no public link that no action opens, over nothing that has a link. New and Edit follow the object's field groups instead, and the report says whether the object declares any. A row bound to no package is read at every package that ships its form: it is removed only when it is an internal record form at each of them, and moves at each of them otherwise. An older row behind the removed one goes with it, unless another package serves that row: the report then names it as not removed, with what happens to it there. |
41-
| **left in place** | Nothing moves. The row served for the name carries no form (a list stored over it, alone or with older form rows behind it), or an internal record form is served ahead of a row with a public link and is not removed because of it. Every row of the name stays as stored, and the address keeps answering as it does today. Where another package serves that row with a public link and would move it, the row holds the upgrade at every one of those packages instead: both rows stay. Both rows stay as stored at every other package too: where either stands behind a row another package would move or remove, that move or removal holds the upgrade instead of folding or removing it. When the row served is one whose form content cannot be read, the form waits on that row, which holds the upgrade (below). |
41+
| **left in place** | Nothing moves. The row served for the name carries no form (a list stored over it, alone or with older form rows behind it), or an internal record form is served ahead of a row with a public link and is not removed because of it. Every row of the name stays as stored, and the address keeps answering as it does today. Where another package serves that row with a public link and would move it, the row holds the upgrade at every one of those packages instead: both rows stay. Both rows stay as stored at every other package too: where either stands behind a row another package would move or remove, that move or removal holds the upgrade instead of folding or removing it. When the row served is one whose form content cannot be read, the form waits on that row, which holds the upgrade (below). A form no door serves today is left in place by the upgrade too, whatever package its row is bound to: the server serves no form of that name at the address the report names, so nothing of it moves, its rows stay as stored there, and the address keeps answering as it does today. A form that is switched off is not one of these: the server serves it closed, and it moves with its switch. |
4242
| **holds the upgrade** | The row cannot be moved. The report repeats the reason and the action. |
4343

44+
For each form, the report asks the server whether it serves a form of that
45+
name today at the address the report names it at: a package, or the
46+
environment. For a form stored with no package, the environment's address
47+
covers every place the server serves it, under a package that ships only a
48+
list of that name included. A form it does not serve there is **left in
49+
place** where the table would move it, and also where the move would hold the
50+
upgrade because its `.custom` package cannot be ensured or its destination is
51+
sealed: the upgrade never moves a form into service.
52+
4453
A list stored behind the row served for a form is not part of it: the upgrade
4554
leaves it as stored, and the report says so. When a row is read at more than
4655
one package, the report names it at each. Where the server today serves one
@@ -73,6 +82,44 @@ A row that declares a public link, or that stands over a form that declares
7382
one, is never offered for deletion. Deleting such a row would open a form
7483
that is closed today.
7584

85+
## What the upgrade command writes
86+
87+
The major's upgrade command runs the same check first, and writes only when
88+
no row holds the upgrade. If one row holds it, nothing is written: every
89+
stored row stays byte for byte as it is, both public doors answer as they do
90+
today, and the deployment stays on the release it is running.
91+
92+
Otherwise, the `.custom` packages the moves land in are created first,
93+
through the one path that creates them, before any row is written. They stay
94+
if the run fails: an empty `.custom` package changes no answer, and the next
95+
run reuses it. Then, in one transaction:
96+
97+
1. Each form that moves is written as a form row at its destination, with its
98+
body as stored. A form whose folded row switched it off is written switched
99+
off, its link kept. Each written row is read back before anything else
100+
changes.
101+
2. Then the old rows go: a view item row is deleted; a stored view container
102+
is saved again without the form it held, its lists and any form it still
103+
keeps byte for byte as they were. A container left with nothing in it is
104+
deleted.
105+
3. Each internal record form listed as **will be removed** is deleted the same
106+
way, and the report carries its body.
107+
108+
If any step fails, the transaction rolls back and every stored row stays as
109+
it was.
110+
111+
The upgrade command writes only on a database that can roll a transaction
112+
back. Where the database's driver cannot, the command refuses before it
113+
changes anything (no `.custom` package is created either) and names the
114+
driver. Run the upgrade against a database whose driver supports
115+
transactions, or stay on the release you are running. `os migrate
116+
stored-forms` still reports what the upgrade would move, and says on such a
117+
database that the upgrade's run will be refused. A run with nothing
118+
to move or remove is not refused.
119+
120+
A form left in place is not touched, nor is a draft. Run the command again and
121+
it finds nothing left to move.
122+
76123
## Clearing a row that holds the upgrade
77124

78125
| Cause | Who can clear it | What to do |
@@ -82,6 +129,7 @@ that is closed today.
82129
| The app declares no namespace, or an invalid one; its version is not SemVer; or the package belongs to several apps and its namespace picks none | The app's author | The deployment stays on the release it is running until the app ships a version without the cause. The row keeps working as it does today meanwhile. |
83130
| The package is a kernel package, which has no `.custom` package in this version | The platform maintainers | Report it before upgrading. |
84131
| Two rows would land in one slot of an app's `.custom` package, or one row that several packages serve would not be treated alike by all of them | No one, on this release | No exit from it was measured: the deployment stays on the release it is running, and every address keeps answering as it does today. Where the row is read at two packages of one app that would both move it, the app shipping the form from one of those packages only lets it be read at that package alone. Where the row waits on another hold of its own, it takes that hold's row above. |
132+
| Another package ships a `form` item under the form's name, so the row would be written over a managed package's item, which is sealed | The author of the package that ships it | No exit from it was measured: the deployment stays on the release it is running, and the row keeps working as it does today. |
85133
| The stored view's form content cannot be read | The administrator | Save the view again with its form content repaired (a `form` or `formViews` entry that is an object), then run the check again. On the release you are running, both public doors answer for the row as they do today. On the next major its links close, and that server's start-up log names each such row and points to this command. |
86134

87135
## Also listed

0 commit comments

Comments
 (0)