Skip to content

Sync rocicorp/mono main (d1bfa20) - #281

Merged
tmm merged 13 commits into
mainfrom
sync-upstream-10
Nov 24, 2026
Merged

tmm merged 13 commits into
mainfrom
sync-upstream-10

Conversation

@tmm

@tmm tmm commented Nov 23, 2026

Copy link
Copy Markdown
Member

Land with a merge commit, not a squash.

11 upstream commits, 14329d6..d1bfa20, merged with no conflicts. The merge touches no file restored by #188 (tools/restored-tests/verbatim.txt hashes all match).

Client-relevant

None need a Swift port. zero-client, zero-protocol, zql, zero-schema and zero-types are unchanged, and the protocol version stays at 57.

  • e43a549 (zero-cache view-syncer): when a reloaded CVR has no client schema, zero-cache now sends ClientNotFound instead of failing an assertion. Swift and Rust already handle ClientNotFound by starting over.
  • 27742c1 and 1ce22b5 (shared/objects.ts, shared/valita.ts): add getOwnProperty and use it in taggedObjectUnion's tag read, which already used Object.hasOwn. Same behaviour; the rest is zero-cache's __proto__ key-column fix.
  • 7ce9487: bumps @rocicorp/zero-sqlite3 to 1.2.0 (also a replicache dev and peer dependency) and makes zqlite read back a REAL of exactly -2^63 that SQLite now stores as an integer. Clients receive the same value as before. Swift and Rust use their own SQLite and store rows as JSON text.
  • cf5515d (z2s): compiles an empty AND to TRUE and an empty OR to FALSE instead of WHERE (). Server-side Postgres SQL only; the client IVM already treats them that way.

Server-only

  • zero-cache: b00bb3c (log slow API server calls, serving lag), a44f81b (remove shard migrations superseded by v40), 3469533 (accept a TEXT replicas.epoch), d1bfa20 (fork loop no longer hangs when its source replica is deleted).
  • Deps: 8784d7a (ignore the picomatch audit advisory), 863b7f7 (override effect to >=3.22.1).

Lockfile follow-up

  • test(restored-tests): align the restored manifests with mono's lockfile: align-manifests.mjs moved packages/zql-integration-tests' @rocicorp/zero-sqlite3 to ^1.2.0, matching 7ce9487's lockfile entry. Only that package.json changed.
  • pnpm install --frozen-lockfile then passed with the lockfile unchanged.

Checks run

  • zero-conformance: generate (27 files, 265 tests; vectors byte-identical) and check-types.
  • zero-swift-cli: test (29/29) and check-types.
  • pnpm exec syncpack lint.

After merge

tmm's Mac backend runs zero-cache from this checkout, so it picks these fixes up after a pull and a restart, which needs tmm's OK.

No changeset: nothing in the Swift package changes. Land with a merge commit so upstream stays an ancestor of main.

arv and others added 13 commits November 16, 2026 20:31
Mono-Internal-Commit: 4eb3e681678bd9e35e06c4ea4df0073ede385f82
…ithout them

Mono-Internal-Commit: d01225cb4a70bcd46f6842c5770de5379182d682
Mono-Internal-Commit: 8b10b4bfc2cc9b67fd432c5ee62735f32032ae6d
Mono-Internal-Commit: bd7b67117af705601374d1771e02f9c7653d564f
Mono-Internal-Commit: b75a99e01411f6b8fb9cf3347b78de7524dc3294
Mono-Internal-Commit: 3de0401d0ca5314a4fe5564d5936178ec6f4423c
…not WHERE ()

Closes rocicorp#6743

Co-authored-by: connormharris <connor@synapdeck.com>
Mono-Internal-Commit: 4449cc2258ad9731df54bc0dc8a004ca5feb8a8d
Mono-Internal-Commit: 3d9b4b57a7b7d045ff7dd237f2b7eb9343080578
Mono-Internal-Commit: 21fa10aa10fd1f8796f76ef127d5088fe0a5fa79
Mono-Internal-Commit: e2a60a974f6af18bbbcbcc5c83df254575c14d87
…deleted

Mono-Internal-Commit: 457badf5549c1803ba1e28120bf48d5ae588c035
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​rocicorp/​zero-sqlite3@​1.1.7 ⏵ 1.2.0100 +11007498 +2100

View full report

@tmm
tmm merged commit 521eee2 into main Nov 24, 2026
17 checks passed
@tmm
tmm deleted the sync-upstream-10 branch November 24, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants