Skip to content

feat(conformance): exercise the Agents app through sobjects deploy and up - #142

Merged
sinameraji merged 1 commit into
mainfrom
feat/product-path-agents
Nov 2, 2026
Merged

sinameraji merged 1 commit into
mainfrom
feat/product-path-agents

Conversation

@sinameraji

Copy link
Copy Markdown
Collaborator

Closes #133.

What

docs/compatibility.md said callable RPC passed in the conformance suite but had not been exercised through sobjects deploy/up. The runners start wrangler dev or celld dev directly, so the product path was a separate gate.

  • packages/conformance/src/product.js — copies agents-app/, writes an sobjects.toml with a self-signed TLS certificate, deploys with sobjects deploy, starts the node with sobjects up --detach, and runs the Agents SDK checks against the TLS ingress. --local-s3 starts a disposable SeaweedFS container and creates the bucket, so the whole run is one command.
  • test:product script and product.test.js for option parsing.
  • run.js now exports runCases, runAgentsClientCheck and runAgentsScheduleCheck so the product runner reuses the same checks.

The checks run in a child process with NODE_EXTRA_CA_CERTS set to the generated certificate, so Node's fetch and WebSocket trust the ingress from startup.

Result (macOS arm64, Node 24.22.1)

npm run test:product --workspace=sobjects-conformance -- --local-s3 — 6/6:

Check Result
state (setState/this.state) Pass
sql (this.sql) Pass
schedules (delayed and cron, list, cancel) Pass
addressing (getAgentByName, this.name, class name) Pass
client protocol (identity/state frames, @callable() RPC, state broadcast, non-callable refused) Pass
schedule fires Pass

celld 0.6.2, SeaweedFS 4.48, TLS ingress on 18443. The runner stops the node and removes the container and scratch directory afterwards.

Docs

docs/compatibility.md (Agents SDK row), docs/conformance/results.md (new product-path section and Not covered), docs/porting-from-cloudflare.md, packages/conformance/README.md, README.md, AGENTS.md.

npm test passes (CLI and conformance suites, 17 conformance tests).

Not in CI: it needs Docker, a bucket and celld, like test:celld and test:cloudflare.

…d up

The Agents SDK row in docs/compatibility.md said callable RPC passed in the
conformance suite but had not been exercised through the product path. The
runners start wrangler dev or celld dev directly, so they do not cover
sobjects deploy and the TLS ingress.

Add src/product.js and a test:product script: it copies agents-app, writes an
sobjects.toml with a self-signed certificate, deploys with sobjects deploy,
starts the node with sobjects up --detach, and runs the state, SQL, schedules,
addressing, callable RPC and schedule checks against the ingress. --local-s3
starts a disposable SeaweedFS bucket so the run is one command.

Recorded 6/6 on macOS arm64 with celld 0.6.2 and SeaweedFS, and updated the
compatibility table, results, porting guide and READMEs.

Co-authored-by: autopilot <kimiflare@proton.me>
Signed-off-by: Sina Meraji <sina.meraji@gmail.com>
@sinameraji
sinameraji marked this pull request as ready for review November 2, 2026 08:00
@sinameraji
sinameraji merged commit 8a70ca7 into main Nov 2, 2026
2 checks passed
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.

Exercise callable RPC and the Agents SDK through sobjects deploy/up

1 participant