Skip to content

QA run · smoke:npm-18.6.0 (23/23) · 958ee035 · 2026-11-18 · 21 PASS / 0 PARTIAL / 2 FAIL / 0 BLOCKED / 0 NOT-RUN #35181

Closed

Description

@objectstack-fleet

qa#1 · os-justin · session_01QSeKYpxQpmErd1ixfkgbYh

The post-release npm smoke of the published 18.6.0 (checklist-test §6, #34632 D2-A signal ①). The maintainer said, verbatim: 「18.6 已经发布了」. The shape is copied from #33900. Filed by the seat from runner session_01QSeKYkqMoHzmQFEoB3xZqK's report (Sonnet, effort high, nominal $4.09); the runner made no GitHub write.

ENVIRONMENT

  • Subject: @objectstack/*@18.6.0 and create-objectstack@18.6.0 from npm. Published 2026-11-18T05:50:28Z (npm view @objectstack/spec time). The 18.5.0 version was 2026-11-15T13:02Z.
  • Dist-tags: latest = 18.6.0, next = 18.5.0. See O-F1.
  • Release commit: 958ee03594968c651db1bc40ecb05bfe72f94b2d ("chore: version packages (chore: version packages #33849)", 2026-11-18T04:44Z), tag @objectstack/spec@18.6.0.
  • Previous release commit: b914e724, an ancestor of 958ee035. 547 commits lie between them.
  • Install: everything under test came from the registry into the scratchpad s1/ and s2/ directories, outside the repo. There was no workspace build and no link:.
  • Docs: the checkout was used only to read docs and history with git show 958ee035:PATH.
  • Main: read at 55020c331b (2026-11-18T09:11Z).
  • Tools: Node v22.23.5, npm 10.9.9, pnpm 10.28.0 in the scaffolds, PostgreSQL 16.15 (a local cluster on port 41119), Chromium through Playwright.
  • Ports: 41100–41105 and 41119–41123, one file DB per cell. All were free at the end and the pg cluster was stopped.
  • Runners: the run was 09:30–~09:50Z. S1 (me) ran A, B, C, E and F. One helper subagent, S2, ran D in parallel and did not touch the repo or GitHub.
  • pg data dir: postgres cannot read root-only scratchpad paths, so the cluster data dir was /tmp/smoke186pg (a deviation from the scratchpad rule).

A. NEW USER ONBOARDING (docs at 958ee03: getting-started/your-first-project.mdx)

  • A1 PASS. npm create objectstack@18.6.0 my-app -- --skip-skills exited 0 in 11 s with the banner "Create ObjectStack v18.6.0".
    • It installed with pnpm and wrote no .claude dir.
    • All 9 @objectstack pins in package.json are exactly 18.6.0.
    • cli, spec and runtime resolve 18.6.0, and the console resolves as @objectstack+console@18.6.0.
    • The lock holds 59 @objectstack/*@18.6.0 package entries (the 18.5.0 record counted 60 entries by a differently scoped grep) and no other version.
  • A2 PASS. npx -y create-objectstack@18.6.0 skillapp (skills on): "Installing AI skills … from @objectstack/skills@18.6.0", "Found 12 skills".
    • .claude/skills holds 12 skills, and skills-lock.json is written.
    • diff -rq against node_modules/@objectstack/skills/dist/skills differs only by the catalog README.md.
    • Automation self-check: my first attempt piped the scaffolder into head, which killed it with SIGPIPE before the skills step. The rerun was clean.
  • A3 PASS. npx os validate exit 0, "Running author-time rules (71)" (68 on 18.5.0), "Validation passed (139ms)".
    • It reports 1 object, 2 fields, 1 app, 1 view and 3 plugins.
  • A4 PASS. npx os dev --ui -p 41100 answered discovery in 10 s with "Server is ready".
    • Driver is SqlDriver(better-sqlite3) on .objectstack/data/objectstack.db, with the dev admin seeded.
    • 0 WARN/ERROR/DATABASE_ERROR lines in the 67-line boot log.
  • A5 PASS. GET /_console/ returns 200 text/html, 24195 bytes.
    • Entry chunk assets/index-6xZL3GML.js returns 200 application/javascript, 449078 bytes. It is cmp-identical to the published @objectstack/console@18.6.0 dist (npm pack).
    • The 18.5.0 entry chunk was 391760 bytes (see O7).
  • A6 PASS. Real browser, a fresh context: /_console/ goes to /_console/login in 1.3 s, and the form sign-in as the dev admin lands on /_console/home.
    • Home shows "Get your system ready … 1 of 6 done".
    • After sign-in: 0 console errors and 0 responses ≥ 400.
    • Before sign-in: only the anonymous GET /api/v1/auth/get-session answers 401 (same as 18.5.0, O1).
  • A7 PASS. The docs' CRUD on :41100:
    • Sign-in 200, POST /api/v1/data/my_app_note 201, list ?select=title&sort=-created_at&top=10 200 (total 1), GET 200, PATCH 200.
    • DELETE 200 with recycleBinEntryId, then GET 404.
    • Anonymous GET 401.
    • POST /auth/sign-up/email 403 SELF_REGISTRATION_CLOSED.
  • A8 PASS. A record made through the Console UI.
    • At /_console/apps/com.example.my-app/my_app_note, New opens "Create Note", and Create gives POST /api/v1/data/my_app_note 201.
    • The record panel opens (?recordId=R2BtWrZs6vzWWR_o), and the server read-back returns 200 with the title "Created in Console UI 18.6".
    • 0 console errors and 0 responses ≥ 400 after sign-in.

B. STUDIO (same dev boot)

  • B1 PASS. /_console/studio loads the App Builder in 1.4 s with 0 console errors and 0 responses ≥ 400.
    • It shows "INSTALLED APPS … My App · No changes yet · Customize", "YOUR OWN APPS · New app of your own", and "Positions and permissions".
    • The wording is new since 18.5.0 (O3).
  • B2 PASS. The authoring loop in a real browser:
    1. New app of your own opens the New Package dialog. Only Display name "Smoke Tracker" was filled, and POST /api/v1/packages returned 201.
    2. It lands on /_console/studio/com.default.smoke-tracker/data with "No drafts pending publish".
    3. New object "Ticket" (identifier ticket, "Who can see which records: Only the owner can see") with Save as draft landed on ?surface=object:smoke_tracker_ticket, "Draft · 1 unpublished", "Changes · 1".
    4. Publish opened "Pending changes · 1 item · 1 object (Ticket, New, Includes + Name)".
    5. Publish all gave the toast "Published 1 item in this package / Members can use it once a permission set grants them access / Open Access".
    6. After reload: "No drafts pending publish" and the live Records grid.
    • REST on the new object as the dev admin: POST /data/smoke_tracker_ticket 201 twice, list 200 total 2, anonymous 401, /meta/_drafts 200 {"drafts":[]}.
    • 0 console errors and 0 responses ≥ 400. (The write-call trace for this loop was only captured on the pg run, E2.)

C. PRODUCTION PATH (A1's scaffold, OS_AUTH_SECRET and OS_SECRET_KEY set, fresh file DB cdb/prod.db)

  • C1 PASS. os build exit 0 (dist/objectstack.json 3298 B).
    • os migrate apply --yes on the fresh DB exit 0: 94 tables created, 0 changes, 2 runtime-owned partial unique indexes, and "birth marker written (shape generation 1, platform 18.6.0)".
    • os start --artifact ./dist/objectstack.json --port 41101: Mode production, health in 8 s.
    • GET /api/v1/health returns 200 {"status":"ok","version":"18.6.0"}.
    • 0 WARN/ERROR lines at start, apart from the 2 "User not found" WARNs my own failed-sign-in probes caused. The start also prints the usual "StorageServicePlugin using local driver" advisory (O2).
  • C2 PASS. The first sign-up is admitted (200, session token) and the second gets 403 SELF_REGISTRATION_CLOSED; that second address then cannot sign in (401).
    • The dev admin cannot sign in in production (401).
  • C3 PASS. CRUD as the first admin: create 201, list 200 (total 1), get 200, patch 200, delete 200, get 404, anonymous 401.
    • /_console/ returns 200 text/html.
    • Real-browser sign-in as the first admin lands on /_console/home ("Get your system ready … 0 of 6 done"), with 0 console errors and 0 responses ≥ 400 after sign-in.
    • Anonymous get-session returns 401 before sign-in, as in dev.

D. UPGRADE 18.5.0 → 18.6.0 WITH REAL DATA (S2, dirs s2/app185 and s2/app185b, ports 41120–41123)

  • D1 PASS.
    • Setup on 18.5.0. create-objectstack@18.5.0 app185 --skip-skills (9 pins 18.5.0, 60 lock entries all 18.5.0), plus one record-after-insert flow with an approval node routed to org_membership_level owner, and requires + approvals. os validate exit 0.
    • Data written on 18.5.0 over HTTP (os dev :41120, file DB plus the telemetry sibling):
      • Dev admin sign-in 200.
      • POST /auth/admin/create-user 200 (upg.user@example.com), and that user signs in 200.
      • POST /data/app185_note 201, which opened a pending sys_approval_request.
      • PUT /api/settings/branding {workspace_name:"Smoke v18.5"} 200 (tenant).
    • Upgrade.
      • Pins bumped to 18.6.0, pnpm install exit 0, no peer warning, 60 lock entries all 18.6.0.
      • os --version is cli/18.6.0, os validate exit 0, os build exit 0.
      • os migrate meta --from 18 exit 0 (no step 18 → 18) and --from 17 exit 0.
      • The first os migrate plan exit 0: 8 tables to create and 50 safe create_index idx_<table>_created_at_id (driver-sql 479d1e4), 0 destructive.
    • Migrate steps 18.6.0 names.
      • upgrading.mdx at 958ee03 has no v18.6.0 row (F1a). Its Per-release table stops at v18.5.0. The only data-step lines are "from 18.2.0 or earlier: audit-key-material" and "from 18.4.0 or earlier: audit-side-copies".
      • The 18.6.0 CHANGELOGs add no new data step and no new os migrate subcommand.
      • Items that touch migrate:
        • cli 35c9a30 (BREAKING): os migrate audit-* --apply takes an audit seal lock and needs --sealer-stopped on SQLite/Turso when an object declares lifecycle.seal. Not applicable here.
        • cli 895783a: os migrate boots a stack that declares queues or assignment rules. Not applicable here.
        • driver-sql 23c42c4: normalize_boolean_storage. Not exercised (O-D6).
    • Subcommands run before the 18.6.0 boot. Every os migrate --help subcommand ran read-only or as a dry run (27 subcommands; the same set as 18.5.0 plus apply, plan and meta).
      • Exit 0: account-issuer, activity-changed-fields, audit-key-material, audit-mail-bodies, audit-metadata-bodies, audit-side-copies, blank-multi-values, blank-single-values, comment-parent-pair, comment-reactions, duplicates, files-to-references, multi-value-columns, option-codes, organization-ownership, packageless-overlays, recorded-by, resume, security-catalog-overlays, stored-expressions, stored-references, summary-nulls, text-scalars, unmapped-columns (--object), value-shapes.
      • Two correct refusals for this app: recompute-home-amounts exit 1 (no home amount declared) and record-currency-codes exit 2 (oclif requires --code/--field/--object).
    • Boot 1 on 18.6.0, same file DB (health 18.6.0):
      • DATABASE_ERROR 0 and ERROR 0 at ready and after the first GET /meta/_drafts. WARN is 1 at ready: the approvals "no public base URL" notice, which 18.5.0 also prints. The count rises to 2 only through the helper's own wrong-password probe.
      • Admin sign-in 200.
      • The created user signs in 200 with the original password, and a wrong password gives 401.
      • The note reads back with its title and body.
      • Branding reads "Smoke v18.5" (tenant), and the approval is still pending.
      • sys_audit_log as admin returns 200.
      • The boot printed no [schema-drift] line and built the 50 indexes silently.
    • Apply and plan sequence.
      • os migrate apply --yes exit 0: 8 tables created, 0 changes.
      • The second plan reads "Physical schema is in sync with metadata — nothing to migrate". There is no destructive item, unlike 18.5.0's actor_id index drop.
      • apply --allow-destructive --yes exit 0 (nothing to apply), and the third plan is in sync.
    • Boot 2: 0 DATABASE_ERROR, 0 ERROR. Admin, user, note, branding and the pending approval are all intact. The carried-over request was also approved through POST /approvals/requests/…/approve (200).
    • Side-copy fixture. A legacy payload_json was injected into the telemetry sibling's sys_audit_log copy.
      • Bare os migrate audit-side-copies printed "Nothing to remove" (O-D1).
      • With NODE_ENV=development it found "2 scanned, 1 to rewrite". --apply --yes removed it ("1 rewritten"), and a rerun removed nothing.
  • D2 PASS. The same upgrade on an untouched default scaffold (app185b, 18.5.0 → 18.6.0, :41122/:41123).
    • Before the upgrade: create-user 200, that user signs in 200, note 201, branding "Smoke v18.5 B" 200.
    • After: pnpm install exit 0 (only the usual 6 deprecated-subdependency WARNs, no peer warning), 60 lock entries all 18.6.0, os validate and os build exit 0, meta --from 18 and --from 17 exit 0.
    • First plan: 8 tables and 45 safe create_index, 0 destructive.
    • Same subcommand set, same two correct refusals.
    • 18.6.0 boot: health 18.6.0, 0 DATABASE_ERROR, 0 ERROR, 0 WARN.
    • Admin 200, _drafts 200, the user with the original password 200, note and branding intact.
    • Then plan, apply --yes (8 tables), second plan in sync, apply --allow-destructive (nothing), third plan in sync (also with NODE_ENV=development).
    • Boot 2: 0 DATABASE_ERROR, 0 ERROR, 0 WARN.

E. POSTGRESQL (16.15 local cluster, port 41119; pgapp = a fresh create-objectstack@18.6.0 scaffold, dev port 41102)

  • E1 PASS. Before pg is installed, os dev -p 41102 -d postgres://…/smoke186 exits 1 with "The database client package pg is not installed, so no connection was attempted. It is an OPTIONAL install of @objectstack/driver-sql … npm install pg".
    • It is preceded by knex's raw "Cannot find module 'pg'" and a require stack (unchanged since 18.4.0; observation only).
  • E2 PASS. After pnpm add pg (8.23.1): "Driver: SqlDriver(pg)", ready in 14 s, 42 plugins (43 on SQLite). 0 WARN/ERROR at ready.
    • Sign-in 200. The docs' CRUD gives 201/200 (total 1)/200/200/200 and then 404.
    • /_console/ returns 200 text/html.
    • Real-browser sign-in lands on /_console/home, and a record created through the Console UI gives POST /data/pgapp_note 201 and a record panel (?recordId=p639OppH9UtB8b7n).
    • 0 console errors and 0 responses ≥ 400 after sign-in.
    • Studio loop on pg (package "Smoke PG", object Ticket):
      • POST /packages 201.
      • PUT /meta/object/smoke_pg_ticket?mode=draft&package=com.default.smoke-pg&surface=studio 200.
      • POST /packages/com.default.smoke-pg/publish-drafts 200.
      • Reload shows "No drafts pending publish".
      • sys_metadata holds object|smoke_pg_ticket|com.default.smoke-pg|active.
    • A restart on the same database: health up in 14 s, sign-in 200, the published object lists 200 and the note survives. Boot WARN/ERROR = 1: a [protocol] WARN (see O-E1).
  • E3 PASS. Re-judge of fix card PostgreSQL: the sys_metadata ACTIVE overlay uniqueness never lands — overlay-index.ts skips #26630's PostgreSQL arm, DROP INDEX is refused (2BP01) and the NULL-distinct constraint stays (18.4.0, 18.5.0) #33901: the fix holds.
    • DATABASE_ERROR count. On a fresh pg DB (smoke186) the count is 0 at ready, 0 after sign-in, and 0 after the first GET /api/v1/meta/_drafts (200). It stays 0 after a Console home load and a Console UI create, and 0 after Studio publish.
      • It is also 0 after a restart over the same DB, and 0 on a second fresh DB (smoke186b) with the same trigger.
    • Index form. pg_indexes shows the partial runtime form on both DBs: CREATE UNIQUE INDEX idx_sys_metadata_overlay_active ON sys_metadata USING btree (type, name, COALESCE(package_id,''), COALESCE(bundle_member,'')) WHERE (state = 'active').
      • pg_constraint has 0 rows for that name, so it is no longer constraint-held.
    • PostgreSQL: the NULL-safe row identity of sys_setting and sys_notification_preference never lands — DROP INDEX is refused by the declared UNIQUE constraint (2BP01) and CREATE UNIQUE INDEX IF NOT EXISTS then no-ops as success (18.2.0) #26630's own indexes still hold: uniq_sys_setting_organization_id_namespace_key_scope_user_id over (organization_id, namespace, key, scope, COALESCE(user_id,'')), and uniq_sys_notification_preference_a22d7d27.
    • Duplicate-active inserts from QA run · smoke:npm-18.5.0 (23/23) · b914e724 · 2026-11-15 · 21 PASS / 0 PARTIAL / 2 FAIL / 0 BLOCKED / 0 NOT-RUN #33900, in rolled-back transactions.
      • T1, a second ACTIVE copy of the published smoke_pg_ticket row: ERROR: duplicate key value violates unique constraint "idx_sys_metadata_overlay_active", key (object, smoke_pg_ticket, com.default.smoke-pg, ).
      • T2, two ACTIVE package-less rows ('object','probe_dup'): the first insert is INSERT 0 1 and the second is refused with the same error.
      • Controls that must pass do: T3, ACTIVE plus a draft twin, is admitted; T4, bundle_member NULL against 'm1', is admitted. 0 rows are left over.
    • Upgrade of an existing DB (beyond the QA run · smoke:npm-18.5.0 (23/23) · b914e724 · 2026-11-15 · 21 PASS / 0 PARTIAL / 2 FAIL / 0 BLOCKED / 0 NOT-RUN #33900 clause).
      • 18.5.0 on pg (smoke185, a create-objectstack@18.5.0 scaffold) still reproduces the defect: 1 DATABASE_ERROR after _drafts, and the index is UNIQUE (type, name, package_id, bundle_member) held by a constraint (contype u).
      • The same app and the same DB, with pins bumped to 18.6.0, booted with 0 DATABASE_ERROR and 0 WARN/ERROR/[metadata-protocol] lines. The index was converted in place to the partial form, with 0 constraint rows.
    • Postgres's own log has one ERROR on first boot: relation "sys_migration" does not exist (see O-E2).

F. RE-JUDGE AND PROBES

OFF-CLAUSE PROBES (rule 8)

  • Time: about 6 minutes, after the clauses had verdicts.
  • Covered:
    • The pg first-boot and post-trigger path, on a second DB and across a restart.
    • A pg DB created on 18.5.0 and booted on 18.6.0.
    • os start in production with no OS_AUTH_SECRET or OS_SECRET_KEY: the process boots and keeps generated secrets on disk (.objectstack/auth-secret, ~/.objectstack/dev-crypto-key) after a "⚠ Production mode, and this server keeps these on its own disk" advisory. That is intended behaviour, and it was killed by the 40 s timeout.
    • Unknown-user and wrong-password sign-ins, which answer 401 INVALID_EMAIL_OR_PASSWORD.
    • Boundary on the sign-up door.
  • Found: the next dist-tag (O-F1).

OBSERVATIONS (not filed unless noted)

  • O-F1. next dist-tag. latest = 18.6.0 and next = 18.5.0 on every package checked, so npx create-objectstack@next scaffolds 18.5.0 (checked: create-objectstack, cli, spec, runtime, console and plugin-auth).
  • O-F2. content/docs/releases/v18/index.mdx (at 958ee03 and on main) still says "18.4.0 is released, the newest … 18.5.0 is the next release; its notes are written ahead of its cut" and its table lists 18.5.0 as "not yet: written ahead of the cut". 18.5.0 published on 2026-11-15, and releases/index.mdx was updated while this page was not.
  • O-E1. On every restart of a pg or SQLite dev project that holds a Studio-created package, one WARN prints: [protocol] package 'com.default.smoke-pg' declares no engines.protocol range; rehydrating without a compatibility check (ADR-0087). Studio's "New app of your own" writes a package with no engines.protocol. Not filed; may be intended.
  • O-E2. On a fresh pg DB, Postgres logs ERROR: relation "sys_migration" does not exist for select * from "sys_migration" where "id" = $1 at first boot. This is server-side only, with no app log line, and probably a probe of a missing table.
  • O-D1. Still holds on 18.6.0. On a dev project the bare os migrate audit-side-copies reads only the primary DB and prints "Nothing to remove" while the telemetry sibling holds a copy. NODE_ENV=development finds and removes it. The docs name this for plan/apply only.
  • O-D2. Bare os migrate plan and apply on a dev file DB still plan and create 8 telemetry-routed tables in the primary.
  • O-D3. The 18.6.0 pre-boot plan lists 45–50 safe create_index idx_<table>_created_at_id entries (driver-sql 479d1e4). The dev boot builds them silently, and a second plan reads 0 changes. The note lives only in the driver-sql CHANGELOG, not in cli docs or upgrading.mdx.
  • O-D4. The cli CHANGELOG entry 35c9a30 calls os migrate audit-side-copies "new in this release". It shipped in 18.5.0 (cli 4e1d327).
  • O-D5. The 18.6.0 BREAKING --sealer-stopped / audit seal lock appears in the CHANGELOG and only as flag text in cli.mdx "Sealed audit rows". The "Run them with the server stopped" paragraph does not mention it.
  • O-D6. Not exercised: normalize_boolean_storage, --sealer-stopped and sealed objects.
  • O1. The Console's anonymous GET /api/v1/auth/get-session answers 401 and logs one console error before sign-in, in dev, production and pg (same as 18.3.0–18.5.0).
  • O2. os start prints the "StorageServicePlugin using local driver" advisory (as 18.5.0).
  • O3. The Studio landing changed: "New package" is now "New app of your own" (which opens the New Package dialog), "Customize" replaces the old Installed read-only cards, and the New object dialog's sharing picker reads "Who can see which records · Only the owner can see". The loop is unchanged.
  • O4. Console home checklist: dev admin shows "1 of 6 done" with "Name your organization" first; the production first admin shows "0 of 6 done".
  • O7. A3 rule count 68 → 71; A5 entry chunk 391760 → 449078 bytes; A2 skills 11 → 12.
  • Not run: none. Fixture gaps: the queue-claim path of 18.6.0 regression: the loser of two concurrent updates on SQLite gets 404 RECORD_NOT_FOUND instead of 409 CONCURRENT_UPDATE #35142 (needs a queue and position fixture); normalize_boolean_storage and the sealer lock (O-D6).

ONE-LINE RELEASE READING

Nothing found needs an 18.6.x patch: A–E and D are all green and E3's fix holds. The only open runtime defect is the existing #35142 (concurrent claim answers 404 instead of 409), which already has PR #35165 and is not re-judged here. Both FAILs are docs and release-process issues that a docs commit or a registry command closes without a new version.

SETUP VERSUS TEST TIME

  • Setup: about 6 minutes of the 20-minute wall (09:30–09:50Z). That covers reading the skill, RUNNER and the previous record, finding the release commit, fetching tag history, and initialising the pg cluster.
  • Test: about 14 minutes of cell work across the 23 cells. S2 spent about 14 minutes on D in parallel, including about 2 minutes of its own setup.
  • Single helper: one helper subagent only.

Activity

  1. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    qa#1 · os-justin · session_01QSeKYpxQpmErd1ixfkgbYh

    Close-out 2026-11-18T11:01Z (checklist-test §5).

    Extracted: #35182 · smoke:npm-18.6.0 · F1a
    Extracted: #35183 · smoke:npm-18.6.0 · F1b
    Parked-on: #34805 · smoke observations O-D1 to O-D6, O-E1, O-E2

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