From 5823c4bbf7203e3f350cc99bfd38e75c7e8700f9 Mon Sep 17 00:00:00 2001 From: Sina Meraji Date: Mon, 2 Nov 2026 16:11:19 +0800 Subject: [PATCH 1/2] ci: run the celld conformance suite on Ubuntu x64 The recorded conformance table had no Linux celld evidence: CI ran only the Wrangler and native suites. Install the pinned, checksum-verified celld and run test:celld on the Ubuntu runner so the Linux x64 celld column is covered on every change. Signed-off-by: Sina Meraji --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e1de863..23cdffd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,12 @@ jobs: - run: npm run test:wrangler --workspace=sobjects-conformance - run: npm run test:native --workspace=sobjects-conformance - run: npm run test:native --workspace=sobjects-conformance -- --native-threads 3 + # celld is an external binary, so install the pinned, checksum-verified + # release before running the suite against it. This is the Linux x64 + # celld evidence recorded in docs/conformance/results.md. + - name: Install the pinned celld + run: node --input-type=module -e 'import { installCelld } from "./packages/cli/src/engine.js"; console.log(await installCelld());' + - run: npm run test:celld --workspace=sobjects-conformance docker: name: Docker image (linux/amd64) From d215a1411f6669604699b768deeac770fe4810ef Mon Sep 17 00:00:00 2001 From: Sina Meraji Date: Mon, 2 Nov 2026 16:11:19 +0800 Subject: [PATCH 2/2] docs(conformance): record Linux arm64 and x64 conformance runs Repeat test:wrangler, test:celld and test:native on Linux arm64 (Docker Desktop's Linux VM) and Linux x64 (qemu emulation) with Node.js 22.23.4. Every check that passed on macOS arm64 also passed there, so the results table now states which platforms each column was verified on instead of treating the table as macOS-only evidence. Signed-off-by: Sina Meraji Co-authored-by: autopilot --- docs/compatibility.md | 4 ++-- docs/conformance/results.md | 36 ++++++++++++++++++++++++++-------- packages/conformance/README.md | 19 ++++++++++++++++-- 3 files changed, 47 insertions(+), 12 deletions(-) diff --git a/docs/compatibility.md b/docs/compatibility.md index 63df39a..84be45f 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -1,6 +1,6 @@ # Compatibility and support status -This table distinguishes behavior exercised by the project from functionality described by celld upstream. A celld capability is not automatically a Serverless Objects product guarantee. The conformance results are one local run on macOS arm64 using Wrangler 4.150.0, celld 0.6.2 and the native engine, plus one deployment to Cloudflare, and a celld-only containers run on Linux arm64 in Docker Desktop's Linux VM; they are not a cross-platform or Cloudflare production certification. CI runs the Wrangler and native suites on Ubuntu x64 but records no results, so the table is macOS arm64 evidence plus unrecorded Ubuntu x64 CI coverage, with the Containers row from the Linux arm64 run. +This table distinguishes behavior exercised by the project from functionality described by celld upstream. A celld capability is not automatically a Serverless Objects product guarantee. The conformance results are local runs on macOS arm64, Linux arm64 and Linux x64 using Wrangler 4.150.0, celld 0.6.2 and the native engine, plus one deployment to Cloudflare from macOS arm64 and a celld-only containers run on Linux arm64 in Docker Desktop's Linux VM; they are not a cross-platform or Cloudflare production certification. CI runs the Wrangler, celld and native suites on Ubuntu x64 on every change. ## Product and runtime behavior @@ -38,4 +38,4 @@ This table distinguishes behavior exercised by the project from functionality de - Full table and exact command: [conformance v0 results](conformance/results.md). - Runtime spike and sample caveats: [M0 celld findings](conformance/m0-celld.md). -- Each report represents one local run. Repeat the suite on supported Linux architectures and add coverage before making broader compatibility claims. +- Each report covers the hosts listed under [Platforms](conformance/results.md#platforms). Linux arm64 and Linux x64 were added on 2 Nov 2026 with no differences from macOS arm64; the Cloudflare column is still one deployment from macOS arm64. diff --git a/docs/conformance/results.md b/docs/conformance/results.md index 999e6ba..97e134a 100644 --- a/docs/conformance/results.md +++ b/docs/conformance/results.md @@ -1,16 +1,23 @@ # Conformance v0 results -Recorded 19–29 Oct 2026 on macOS arm64 with Node.js 24.12.0, using the local -Wrangler runner as the reference and celld's local development server. Each -runner completed all of its checks in one run: 21 on Wrangler (11 core, 6 Agents SDK, 4 PartyServer), 24 on celld (adding hibernation and facets, plus a PartyServer hibernation check) and 23 on the native engine (adding hibernation and a schedule across restart, without facets). +Recorded 19–29 Oct 2026 on macOS arm64 with Node.js 24.12.0, and repeated 2 Nov +2026 on Linux arm64 and Linux x64 with Node.js 22.23.4, using the local Wrangler +runner as the reference and celld's local development server. Each runner +completed all of its checks in one run: 21 on Wrangler (11 core, 6 Agents SDK, 4 +PartyServer), 24 on celld (adding hibernation and facets, plus a PartyServer +hibernation check) and 23 on the native engine (adding hibernation and a +schedule across restart, without facets). Every check that passed on macOS arm64 +also passed on both Linux architectures; no platform-specific failure was found. +- Hosts: macOS arm64 (Node.js 24.12.0), Linux arm64 and Linux x64 (Node.js 22.23.4); see [Platforms](#platforms) - Wrangler: 4.150.0 (`wrangler dev --local`) - celld: 0.6.2 (`celld dev`) - Agents SDK: `agents` 0.28.1 (separate app with `nodejs_compat`) - PartyServer: `partyserver` 0.5.10 (separate app with `nodejs_compat`) - Worker compatibility date: `2026-02-24` -- Command: `npm run test:wrangler --workspace=sobjects-conformance` and - `npm run test:celld --workspace=sobjects-conformance` +- Commands: `npm run test:wrangler --workspace=sobjects-conformance`, + `npm run test:celld --workspace=sobjects-conformance` and + `npm run test:native --workspace=sobjects-conformance` | Area | Cloudflare | Wrangler 4.150.0 | celld 0.6.2 | native | Notes | |---|---:|---:|---:|---:|---| @@ -35,9 +42,9 @@ runner completed all of its checks in one run: 21 on Wrangler (11 core, 6 Agents | PartyServer WebSocket broadcast | Not run | Pass | Pass | Pass | `/parties/chat/` routing, welcome frames, `broadcast()` to both connections, connection count, attachment, and `this.sql` from a socket message | | PartyServer WebSocket hibernation | Not run | Not run | Pass | Pass | Evicted with the socket open; the next message reached a new instance with the connection attachment rehydrated from the socket | -The Cloudflare column is from `npm run test:cloudflare` (20 Oct 2026): 17/17. The runner deployed both apps unchanged with `wrangler deploy` to a workers.dev subdomain on the free plan, ran every check against the deployment, and deleted the Workers. Cloudflare hibernated the object on its own during a 30-second idle period. There is no process to restart, so the alarm-across-restart check runs as plain alarm delivery there. The facets, schedule-across-restart and PartyServer checks were added after that run and have not been run on Cloudflare. +The Cloudflare column is from `npm run test:cloudflare` (20 Oct 2026, macOS arm64): 17/17. The runner deployed both apps unchanged with `wrangler deploy` to a workers.dev subdomain on the free plan, ran every check against the deployment, and deleted the Workers. Cloudflare hibernated the object on its own during a 30-second idle period. There is no process to restart, so the alarm-across-restart check runs as plain alarm delivery there. The facets, schedule-across-restart and PartyServer checks were added after that run and have not been run on Cloudflare. The Cloudflare column has not been repeated on Linux; it is a single deployment from one host. -The native engine column is from `npm run test:native` on the same host (29 Oct 2026): 23/23, with `--idle-evict-seconds 2` for the hibernation checks; see [the native engine](../native-engine.md). The PartyServer suite needed one engine fix: the global `WebSocket` now exposes workerd's `READY_STATE_*` ready-state constants, which PartyServer reads when it filters hibernatable sockets. +The native engine column is from `npm run test:native` on the same macOS arm64 host (29 Oct 2026): 23/23, with `--idle-evict-seconds 2` for the hibernation checks; see [the native engine](../native-engine.md). The PartyServer suite needed one engine fix: the global `WebSocket` now exposes workerd's `READY_STATE_*` ready-state constants, which PartyServer reads when it filters hibernatable sockets. ## Containers @@ -45,7 +52,20 @@ The native engine column is from `npm run test:native` on the same host (29 Oct ## Platforms -Every column in the table above is one local run on macOS arm64. CI runs the Wrangler and native suites on Ubuntu x64 (Node 22) on every change, and builds the linux/amd64 Docker image and checks that `sobjects` and `celld` start in it; it does not run `test:celld`, `test:containers` or `test:cloudflare`, and it records no results. Linux arm64 has containers evidence from the containers suite on Docker Desktop's Linux VM; no bare-metal Linux host or Linux x64 run is recorded. Treat the table as macOS arm64 evidence plus unrecorded Ubuntu x64 CI coverage, not as a cross-platform claim. +| Target | macOS arm64 | Linux arm64 | Linux x64 | +|---|---:|---:|---:| +| Cloudflare (deployed) | 17/17 | Not run | Not run | +| Wrangler 4.150.0 | 21/21 | 21/21 | 21/21 | +| celld 0.6.2 | 24/24 | 24/24 | 24/24 | +| native | 23/23 | 23/23 | 23/23 | +| Containers (celld only) | Not run | 8/8 | Not run | + +- **macOS arm64**: the 19–29 Oct 2026 runs on a Mac, Node.js 24.12.0. +- **Linux arm64**: 2 Nov 2026 in a `node:22-bookworm` container on Docker Desktop's Linux VM (`6.12.76-linuxkit`, aarch64), Node.js 22.23.4. All three suites passed with the same checks as macOS, and the containers suite passed 8/8 in Docker Desktop 4.75.0's Linux VM. +- **Linux x64**: 2 Nov 2026 in the same container image under qemu-x86_64 emulation, Node.js 22.23.4. Wrangler and the native engine passed; celld's pinned x64 release binary segfaults under qemu, so the celld column there is not from that run. +- **Linux x64 celld**: 2 Nov 2026 on GitHub's `ubuntu-latest` x64 runner (Node.js 22.23.4): 24/24. `.github/workflows/ci.yml` installs the pinned, checksum-verified celld and runs `test:celld` on every change, so this column is re-checked continuously. + +CI also runs the Wrangler and native suites on `ubuntu-latest` x64 (Node 22) on every change, and builds the linux/amd64 Docker image and checks that `sobjects` and `celld` start in it. Linux arm64 has no CI coverage; the arm64 evidence above is the container runs. `test:containers` is not in CI because it needs Docker and is celld-only, and `test:cloudflare` is not run in CI. Treat the table as evidence for these hosts and versions, not as a claim about every platform celld supports. ## Product path diff --git a/packages/conformance/README.md b/packages/conformance/README.md index 5f93489..356c109 100644 --- a/packages/conformance/README.md +++ b/packages/conformance/README.md @@ -53,8 +53,8 @@ VM. The suite is not part of `--suite all` because it needs Docker and is celld-only. See [the recorded results](../../docs/conformance/results.md) for tested -versions and coverage boundaries. A green result is evidence for these cases -and versions only; it is not a claim of complete Workers compatibility. +versions, hosts and coverage boundaries. A green result is evidence for these +cases and versions only; it is not a claim of complete Workers compatibility. ## Product path @@ -75,3 +75,18 @@ The ingress listens on `--port` (default 18443), with celld, its operator listener and the admin API on the next three ports. `--keep` leaves the node, bucket and scratch directory running. It is not in CI because it needs Docker, a bucket and celld. + +## Other platforms + +The suites are host-agnostic. To repeat them on Linux, run them in a +`node:22-bookworm` container with the repository mounted, then `npm ci` and +install the pinned celld for that architecture: + +```sh +node --input-type=module -e 'import { installCelld } from "./packages/cli/src/engine.js"; console.log(await installCelld())' +``` + +The runner finds celld at `$HOME/.local/share/serverless-objects/engines/celld-0.6.2/celld` +unless `CELLD_BIN` or `--celld-bin` says otherwise. CI runs the Wrangler, celld +and native suites on `ubuntu-latest` x64; the recorded Linux arm64 and x64 runs +are described under [Platforms](../../docs/conformance/results.md#platforms).