Skip to content

feat(conformance): cover facets and a schedule across restart; require an explicit soak version - #139

Merged
sinameraji merged 2 commits into
mainfrom
autopilot/20261029-183717
Oct 30, 2026
Merged

sinameraji merged 2 commits into
mainfrom
autopilot/20261029-183717

Conversation

@sinameraji

Copy link
Copy Markdown
Collaborator

Closes #135, #129, #131. Refs #115, #132.

#135 — soak image could silently test a stale release

packages/conformance/soak/Dockerfile defaulted SOBJECTS_VERSION=0.9.1 while the CLI is 0.13.5, so a build without --build-arg tested a four-minor-old release. The default is gone and the build now fails with a clear message when the argument is missing; the README passes the current release explicitly. A new test in packages/conformance/test/soak.test.js keeps the default from coming back.

Also removed the stale 0.13.4 literal from deploy/compose/README.md — it sits outside release-please's annotation block, so it would never have been bumped.

#129 — facets

Added a Facet/Facets pair to the conformance app and a /facets check (same shape as /pitr) covering ctx.facets.get with a class taken from ctx.exports: state by name, isolation between facets, storage separate from the parent, and alarms refused.

The class must come from ctx.exports — passing the exported class directly fails with Incorrect type for the 'class' field on 'StartupOptions'.

celld 0.6.2 supports facets, so the check runs on Wrangler and celld. The native engine has no ctx.facets, so it is the one target that skips it.

#131 — Agents SDK schedule across a restart

Arms a delayed schedule, restarts the process, and requires the schedule to still be pending afterwards and then fire. Runs on celld and native (the targets that restart). Chat agents, MCP, Workflows and streaming RPC remain uncovered and are still listed as such — they need new dependencies and, for Workflows, native config support.

Verified

Target Result
Wrangler 4.150.0 17/17 (was 16/16)
celld 0.6.2 19/19 (was 17/17)
native 18/18 (was 17/17)
Cloudflare not re-run (needs the account owner); the new checks are recorded there but unverified

npm test passes, including the new soak test.

Docs

Results table, compatibility table, native engine docs, README and AGENTS.md updated with the new counts. Per #115, the results table now states which platform each column was verified on: macOS arm64 locally, Ubuntu x64 in CI without recorded results. Per #132, the Containers row now says exactly what was verified — one manual run on macOS through Docker Desktop, no automated case, and no Linux host, S3Mount, DirectoryBackup, sleep or restart.

Not done

sinameraji and others added 2 commits October 30, 2026 00:16
…mage

The soak Dockerfile defaulted SOBJECTS_VERSION to 0.9.1, four minor
releases behind the CLI, so a build without --build-arg silently tested
an old release. Remove the default and fail the build when the argument
is missing, update the README command to pass the current release, and
add a test that keeps the default from coming back.

Also drop the stale 0.13.4 literal from the Compose README, which sits
outside release-please's annotation block and would never be bumped.

Closes #135

Co-authored-by: autopilot <kimiflare@proton.me>
Signed-off-by: Sina Meraji <sina.meraji@gmail.com>
Facets: add a Facet/Facets pair to the conformance app and a /facets
check that exercises ctx.facets.get with a class from ctx.exports --
state by name, isolation between facets, storage separate from the
parent, and alarms refused. It passes on Wrangler 4.150.0 and celld
0.6.2; the native engine has no ctx.facets, so it skips the check.

Agents SDK: arm a delayed schedule, restart the process, and require the
schedule to still be pending and then fire. It passes on celld and the
native engine, which are the targets that restart.

Results are now 17/17 on Wrangler, 19/19 on celld and 18/18 on native.
Update the results table, the compatibility table, the native engine
docs, the README and AGENTS.md, and state which platform each column
was verified on (macOS arm64 locally, Ubuntu x64 in CI without recorded
results). Rewrite the Containers row to say exactly what was verified:
one manual run on macOS through Docker Desktop, no automated case, and
no Linux host, S3Mount, DirectoryBackup, sleep or restart.

Closes #129
Closes #131
Refs #115
Refs #132

Co-authored-by: autopilot <kimiflare@proton.me>
Signed-off-by: Sina Meraji <sina.meraji@gmail.com>
@sinameraji
sinameraji merged commit 7a9ec04 into main Oct 30, 2026
2 checks passed
@sinameraji
sinameraji deleted the autopilot/20261029-183717 branch October 30, 2026 02:49
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.

Soak Dockerfile pins a stale SOBJECTS_VERSION default (0.9.1)

1 participant