Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions docs/compatibility.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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.
36 changes: 28 additions & 8 deletions docs/conformance/results.md
Original file line number Diff line number Diff line change
@@ -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 |
|---|---:|---:|---:|---:|---|
Expand All @@ -35,17 +42,30 @@ 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/<room>` 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

`npm run test:containers --workspace=sobjects-conformance` (2 Nov 2026) ran 8/8 checks on Linux arm64 in Docker Desktop 4.75.0's Linux VM with celld 0.6.2 and `@cloudflare/sandbox` 1.0.1. It covers `start()`, `exec()`, `getTcpPort().fetch()`, `enableInternet: false` (egress refused), idle eviction with the container kept alive and reattached, and a node restart destroying the container. `S3Mount` and `DirectoryBackup` are unsupported because celld rejects `interceptOutboundHttp`; `inspect()`, `snapshotDirectory()`, `snapshotContainer()` and `container.images` are also unavailable. The `exec()`-after-`start()` race is celld's fire-and-forget `start()`, not the CLI's. See [the containers record](containers.md).

## 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

Expand Down
19 changes: 17 additions & 2 deletions packages/conformance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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).
Loading