Repository navigation
Description
qa#1 · os-justin · session_01QSeKYpxQpmErd1ixfkgbYh
Provenance: filed by the verification seat from runner session_01QSeKYnbcNyGspzsj2EpdvP (test 1 of the 19.0.0 GA tracking card #38907). The runner made no GitHub write; its final report is reproduced below.
Maintainer focus: 「重点解决 v18到 v19 的升级」. This run measures exactly that path: 18.6.0 (npm latest) to 19.0.0-next.3 (npm next, framework ea6e312a).
Counting: the judged units are the two subjects, S1 (enriched blank app) and S2 (18.6.0 showcase). Each is PARTIAL: both reached a working 19 with data and customizations intact, but only after manual edits the docs and the migration tool did not lead to (2 judged of 2, 0 PASS / 2 PARTIAL / 0 FAIL).
| Subject | Verdict | One-line oracle |
|---|---|---|
| S1 · blank app, enriched | PARTIAL | migrate meta --write wrote 0 of 10 (C1); 10 edits by hand, then validate/build/boot green; auditor set narrowed (A1); --stored green over an invalid view (C3) |
| S2 · 18.6.0 showcase | PARTIAL | --write exit 1, 138 edits rolled back with the protocol range (C2); 138 by hand; os build stopped on access-matrix drift (B2); then boot green with records intact |
18.6.0 → 19.0.0-next.3 upgrade, measured (qa#1)
An 18.6.0 user can end up on a working 19.0.0-next.3, but not by following the docs alone. In both subjects every edit the migration tool calls mechanical had to be applied by hand, because --write wrote nothing. I tested two apps: S1, a blank app I enriched, and S2, the 18.6.0 showcase. Both booted on 19 against their own 18 databases, with every record and both Studio-style customizations intact.
1. Pins and versions
- npm tags:
latestis 18.6.0 andnextis 19.0.0-next.3, for both@objectstack/runtimeandcreate-objectstack. - Commits: 18 at
958ee035; 19 atea6e312a(tag@objectstack/runtime@19.0.0-next.3). - Tools: Node 22.23.5, pnpm 10.28.0, npm 10.9.9, and the preinstalled Playwright Chromium.
- Isolation: every package came from npm into a scratch directory. Nothing was written to the repo or to GitHub.
2. Steps per subject
S1, the blank app (npm create objectstack@18.6.0 up18)
| Step | Result |
|---|---|
| Author the 18 metadata (list below) | os validate (71 rules) and os build green |
Boot 18 (os dev, file DB), seed data, record behaviour |
✅ 3 accounts, 3 contacts, 1 note; users member and auditor |
View customization (Studio's save, PUT /meta/view with a changed column list) |
✅ stored as an environment-wide overlay |
| Permission-set edit | Packaged sets refuse in-place edits on 18 (NOT_OVERRIDABLE). I cloned the member set (as the error says), gave the clone View All on accounts, and assigned it |
Bump all pins to 19.0.0-next.3, pnpm install |
✅ no peer warnings |
migrate meta --from 18 |
10 mechanical, 85 manual |
--write |
0 of 10 written, each marked not written [helper] … exportsOf(…); only engines.protocol moved from '^18' to '^19' |
Apply the 10 by hand, replay --from 18 --to 19 |
✅ applied: 0 |
os validate (90 rules), tsc, os build |
all ✅ |
os migrate apply on the same 18 DB |
Exits 1 ("Confirmation required") in a non-interactive shell; --yes created 16 tables and applied 2 safe changes |
migrate meta --stored |
2 rows; one view is left invalid, yet the run ends "✓ already on protocol 19", exit 0 |
| Boot 19, then browser checks | ✅ |
The 18 metadata, all valid on 18.6.0:
- two objects: account (master) and contact, with a master-detail and a lookup to account;
- a list view with
bulkActions, and three actions on different locations; - a validation rule, a record-triggered flow, a dataset and a dashboard;
- an "admin" permission set with View All and Modify All on contact plus a field row hiding
salary, and a member set with field rows.
S2, the 18.6.0 showcase
| Step | Result |
|---|---|
| Standalone on npm 18.6.0 (about 5 min) | ✅ after swapping workspace:* for 18.6.0. npm install failed with the edgesOut error, so I used pnpm. Validates, builds and boots; tsc fails only in test/ |
| Seed data and the two customizations | ✅ the task view loses a column, and a cloned auditor set gets View All on contacts |
migrate meta --from 18 |
138 mechanical, 85 manual |
--write |
Exit 1: it wrote 6 files, its self-check didn't match, and it restored all of them. Net 0 written, protocol range included |
| 138 edits applied by hand, replay | ✅ applied: 0 |
os validate |
❌ then ✅: three validation-message brace errors, a listed manual item, reworded |
os build |
❌ then ✅: "Access matrix drift" on the migration's own 5 viewAllFields additions; fixed with --update-access-matrix |
migrate apply --yes, --stored, boot 19 |
✅; --stored shows the same invalid-view pattern as S1 |
3. Migration numbers
| S1 | S2 | |
|---|---|---|
| Mechanical changes listed | 10 | 138 (116 action-location renames, 17 bulk-action moves, 5 viewAllFields additions) |
| Manual changes listed | 85, none of them proven absent | 85, none proven absent |
Written by --write |
0, plus the protocol range | 0 (rolled back, exit 1), range not rewritten |
--stored |
2 rows: 1 canonical, 1 skipped, 0 rewritten, exit 0 | same |
The tool names actions by stack index (actions[0] was the second action my barrel exports), so each edit had to be mapped back to its file.
What --stored said:
- The Studio view row: the tool leaves it as stored and says the actions it names are "not declared as an action of that object". They are declared, by the package, on that object. The runtime then serves the row marked invalid. Re-saving it without
bulkActionsfixed it. - The cloned permission set: listed for a
viewAllFieldsreview, as documented. Its behaviour did not change.
4. Before and after
| Check | 18.6.0 | 19.0.0-next.3 | Verdict |
|---|---|---|---|
| Records | all present | identical | preserved |
| Studio column customizations | applied | applied (S1 row served as invalid until re-saved) | preserved |
| Member field reads | salary visible, account notes hidden | same | preserved |
| Admin field reads | all fields | same | preserved |
| Auditor in S1 (View All + Modify All, plus its own field row hiding salary) | reads salary; can edit it | salary missing on every row; editing it is refused (403), even after the mechanical viewAllFields: true |
narrowed |
| Auditor in S2 (View All only, no field rows of its own) | all fields | same | preserved |
| S1 bulk bar, 2 rows selected | Mark Active · Close Contact | the same plus More ▸ Change Owner, Delete | widened |
| S2 task list, default view | Delete | Mark Done · Recalculate Estimate · Change Owner · More ▸ Delete | widened |
S2 task list, bulk_actions view |
three actions | same three plus More ▸ Change Owner; no Delete (that view has its own bulk defs) | matches #38550 except Change Owner |
| Flow (S1) | fires | fires | preserved; I did not check a flow in S2 |
| Validation rule (S1) | 400 | 400 | preserved |
| Dashboards | render | render, same numbers | preserved |
| Console login in Chromium | ✅ | ✅ | — |
| Studio | /_console/studio |
/_console/studio/ plus the package name; the old address now redirects to Setup → Packages |
moved |
5. Differences, classified
(a) Intended and documented
- A1: the auditor's narrowing in S1 follows from the
viewAllFieldschange (feat(security)!: View All and Modify All stop opening fields; viewAllFields is the one every-field bit #37371), and the manual-change text explains it. But the mechanical line says the addition keeps the set's field reads. No command points at the affected entry, though the tool can see the field row next to the bit. - A2: the built-in bulk Delete now shows on views that never named it, as feat(spec)!: actions that act on many records are placed at
selection; a list view'sbulkActionsis retired #38550 says; the tool names each affected view. - A3: the action-location renames, the
bulkActionsretirement, the protocol 19 check and the brace rule for validation messages are all listed.
(b) Intended but undocumented
- B1: bulk Change Owner appears on every grid's selection bar. It comes from a feature changeset (35403) and is not on the v19 page or in the migration's bulk-action text.
- B2: any project with a committed
access-matrix.jsonfailsos buildafter the migration, on the migration's own edits. Nothing says to run--update-access-matrix. - B3: the Studio address moved and the header's "Open … in Studio" button is gone.
- B4: the boot warns that the
.custompackage declares no protocol range, with no remedy.
(c) Defects, with reproductions
- C1, already filed as cli:
os migrate meta --writewrites 0 edits on the stock create-objectstack wiring (exportsOf(…)) and on helper-built stacks (HotCRM 0 of 144), while both outputs say "Applied N mechanical change(s)" #38879: confirmed.--writewrites 0 of 10 on the stockexportsOfwiring while its output says "Applied 10 mechanical change(s)". - C2, new:
--writerolls everything back and exits 1 when a view written as a literal names actions that aren't (built by a helper, or the name appears twice insrc).- Repro: on the 18.6.0 showcase, run
os migrate meta --from 18 --write. - It removes
bulkActions; its re-run can then no longer derive theselectionadditions; so it restores all 6 files. - The protocol-range rewrite is lost with them.
- Repro: on the 18.6.0 showcase, run
- C3:
os migrate meta --storedgives a wrong reason and a green result over a stored view that stays invalid.- Repro: on 18, take a view whose list has
bulkActions, change a column and PUT the GET body back (what Studio does). - Upgrade, then run
--stored. - Its TODO calls the named actions undeclared; it ends "✓ … nothing to rewrite" with exit 0,
--jsonincluded. - The runtime serves the row marked invalid.
- Repro: on 18, take a view whose list has
- C4, minor: on 19,
os validatepasses a manifest still declaring'^18'(warning only), butos devwith that config refuses to start. - C5, minor: a 3-object app gets 85 manual items, none marked as not applying, and the count stays at 85 after every fix. The docs say items proven absent are only counted.
6. Doc gaps
| The docs said | What happened |
|---|---|
v19 page: next is 19.0.0-next.2 |
npm next is next.3; the page isn't updated for the release it ships in |
| v19 page: "compiled from the changesets, not walked" | Walking it hit C2, C3, B1 and B2, none of which it mentions |
v19 step 2: --write rewrites the root manifest's range |
True for S1; false for S2 because of C2 |
| Upgrade guide: one major behind still runs, with conversion notices | A 19 runtime refuses a '^18' manifest outright; the v19 page agrees with reality, the general guide doesn't |
Upgrade guide loop: os migrate apply |
Needs --yes in a non-interactive shell |
Upgrade guide: npm install's edgesOut error hits pnpm projects |
The same error hit the extracted showcase |
Tool: adding viewAllFields keeps field reads |
Not when the same set hides the field (A1) |
Upgrade skill quickstart uses --from 16 / --to 18 |
Out of date for an 18→19 move |
7. Time and cost
About 25 minutes of wall clock (11:37 to 12:02 UTC): S1 about 13 min, S2 about 10. The run used two local SQLite servers, six headless Chromium runs and four installs, and no cloud resources. I have no token meter in this session, so I'm not giving a token or dollar figure.
8. Verdict
An 18.6.0 user can upgrade to 19.0.0-next.3 today and keep their data, Studio customizations, flows, dashboards, Console and Studio. They can't do it by following the docs alone:
- The automatic step writes nothing on the default template (C1). On a richer app it fails and even undoes the protocol range (C2).
- So all 10 or 138 mechanical edits are manual, in a list keyed by index and sitting among 85 mostly irrelevant manual items (C5).
os buildthen stops on an access-matrix gate nobody mentions (B2).--storedreports green over an invalid Studio view, with a wrong reason (C3).- One permission behaviour narrows silently: a set's own hidden-field row now beats its Modify All, while the tool claims reads are kept (A1).
Before GA:
- Must fix: C1, C2 (no all-or-nothing rollback of independent edits like the protocol range) and C3 (a correct reason and a non-green exit).
- Should fix:
- have the tool name A1-shaped permission entries;
- document the access-matrix step (B2) and bulk Change Owner (B1);
- make
os validaterefuse'^18'on 19 (C4); - update the v19 page for next.3 and fix the "one major behind still runs" claim.
Full report and evidence are in /tmp/claude-0/-home-user-objectstack/7872e3b2-2f52-5084-8d3f-114993df9d8c/scratchpad/ (REPORT.md, work/up18/.upgrade/, s2/showcase/.upgrade/, and the screenshots under shots/).
Activity
objectstack-fleet commentedon Dec 1, 2026
qa#1 · os-justin · session_01QSeKYpxQpmErd1ixfkgbYh
Provenance: close-out by the verification seat for runner
session_01QSeKYnbcNyGspzsj2EpdvP; the runner made no GitHub write.Ruling-ref: priority:p1 — maintainer 「都应该是 p1 吧?」 (2026-12-01, verification seat session; GA focus 「重点解决 v18到 v19 的升级」)
Close-out
Every finding of the two PARTIAL subjects is a product defect or a shipped-text defect; each is extracted below, all at p1 by the ruling above. None is a security item (maintainer ruling for this run).
Extracted: #38879 · upgrade:18.6.0-to-19.0.0-next.3 · C1
Extracted: #38922 · upgrade:18.6.0-to-19.0.0-next.3 · C2
Extracted: #38923 · upgrade:18.6.0-to-19.0.0-next.3 · C3
Extracted: #38924 · upgrade:18.6.0-to-19.0.0-next.3 · A1
Extracted: #38925 · upgrade:18.6.0-to-19.0.0-next.3 · B2
Extracted: #38930 · upgrade:18.6.0-to-19.0.0-next.3 · B1 B3 B4 doc gaps
Extracted: #38926 · upgrade:18.6.0-to-19.0.0-next.3 · doc gap (upgrade skill quickstart)
Extracted: #38928 · upgrade:18.6.0-to-19.0.0-next.3 · C4
Extracted: #38929 · upgrade:18.6.0-to-19.0.0-next.3 · C5
Notes:
os migrate meta --writewrites 0 edits on the stock create-objectstack wiring (exportsOf(…)) and on helper-built stacks (HotCRM 0 of 144), while both outputs say "Applied N mechanical change(s)" #38879; this run's evidence (S1 0 of 10, showcase 0 of 138 rolled back, exit 1) is commented there, not refiled.content/docs(docs(v19, upgrading): the 18 → 19 path cannot be followed from the docs alone — stale next.2 status, a false "one major behind still runs", and six missing upgrade steps and changes #38930, domain:docs) andskills/**(skills(objectstack-upgrade): the quickstart still runsos migrate meta --from 16/--to 18, so an 18 → 19 user following the shipped upgrade skill replays the wrong range #38926, domain:skills). docs(v19, upgrading): the 18 → 19 path cannot be followed from the docs alone — stale next.2 status, a false "one major behind still runs", and six missing upgrade steps and changes #38930 item 5 waits for cli: afteros migrate meta --from 18, a project with a committed access-matrix.json failsos buildwith "Access matrix drift" on the migration's ownviewAllFieldsedits, and nothing tells the user to run--update-access-matrix#38925.selection; a list view'sbulkActionsis retired #38550) and A3 (listed renames,bulkActionsretirement, protocol 19 check, brace rule) are intended and documented: no card.The record closes
completed. Retests of the extracted cards are owed when each lands; the RC rerun of this test is listed on #38907.