Skip to content

QA run · upgrade:18.6.0-to-19.0.0-next.3 (2/2) · ea6e312a · 2026-12-01 · 0 PASS / 2 PARTIAL / 0 FAIL #38920

Done

Description

@objectstack-fleet

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: latest is 18.6.0 and next is 19.0.0-next.3, for both @objectstack/runtime and create-objectstack.
  • Commits: 18 at 958ee035; 19 at ea6e312a (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 bulkActions fixed it.
  • The cloned permission set: listed for a viewAllFields review, 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

(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.json fails os build after 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 .custom package declares no protocol range, with no remedy.

(c) Defects, with reproductions

  • C1, already filed as cli: os migrate meta --write writes 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. --write writes 0 of 10 on the stock exportsOf wiring while its output says "Applied 10 mechanical change(s)".
  • C2, new: --write rolls 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 in src).
    • 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 the selection additions; so it restores all 6 files.
    • The protocol-range rewrite is lost with them.
  • C3: os migrate meta --stored gives 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, --json included.
    • The runtime serves the row marked invalid.
  • C4, minor: on 19, os validate passes a manifest still declaring '^18' (warning only), but os dev with 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 build then stops on an access-matrix gate nobody mentions (B2).
  • --stored reports 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 validate refuse '^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

  1. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    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:

    The record closes completed. Retests of the extracted cards are owed when each lands; the RC rerun of this test is listed on #38907.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions