Repository navigation
feat(conformance): exercise the Agents app through sobjects deploy and up - #142
Merged
Merged
Conversation
…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
marked this pull request as ready for review
November 2, 2026 08:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #133.
What
docs/compatibility.mdsaid callable RPC passed in the conformance suite but had not been exercised throughsobjects deploy/up. The runners startwrangler devorcelld devdirectly, so the product path was a separate gate.packages/conformance/src/product.js— copiesagents-app/, writes ansobjects.tomlwith a self-signed TLS certificate, deploys withsobjects deploy, starts the node withsobjects up --detach, and runs the Agents SDK checks against the TLS ingress.--local-s3starts a disposable SeaweedFS container and creates the bucket, so the whole run is one command.test:productscript andproduct.test.jsfor option parsing.run.jsnow exportsrunCases,runAgentsClientCheckandrunAgentsScheduleCheckso the product runner reuses the same checks.The checks run in a child process with
NODE_EXTRA_CA_CERTSset to the generated certificate, so Node'sfetchandWebSockettrust the ingress from startup.Result (macOS arm64, Node 24.22.1)
npm run test:product --workspace=sobjects-conformance -- --local-s3— 6/6:setState/this.state)this.sql)getAgentByName,this.name, class name)@callable()RPC, state broadcast, non-callable refused)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 testpasses (CLI and conformance suites, 17 conformance tests).Not in CI: it needs Docker, a bucket and celld, like
test:celldandtest:cloudflare.