Skip to content

test(spaces,pds): run the conformance suite in-process (runner #2) - #233

Merged
ascorbic merged 1 commit into
conformance/clifrom
conformance/vitest
Aug 31, 2026
Merged

test(spaces,pds): run the conformance suite in-process (runner #2)#233
ascorbic merged 1 commit into
conformance/clifrom
conformance/vitest

Conversation

@ascorbic

Copy link
Copy Markdown
Owner

The vitest runner, in two complementary adapters:

  • packages/spaces: the full crypto catalog against Cirrus's space
    routes, with harness reader identities (did:key) resolved by the
    fixture. The delegation → credential → read dance, delegation
    refusals, cross-space refusal, member-list gating, oplog folding and
    the delete tombstone all execute against the real route handlers and
    pass. Blob isolation declares the pds-blobs capability this fixture
    lacks and is reported skipped.
  • packages/pds: the operator-tier and discovery checks against the whole
    integrated worker, so blob isolation (uploadBlob + sync.getBlob),
    discovery and the write/sync paths run against production code.
    Foreign identities aren't resolvable by the real DID resolver, so the
    credential/delegation checks skip here — covered by the space-routes
    adapter.

Probe records use a neutral collection so record validation is
optimistic on any conformant target. Together the two adapters run the
whole catalog green with zero must failures, each where it is runnable —
the capability model keeping 'not testable here' honest.


Stack created with GitHub Stacks CLIGive Feedback 💬

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 30, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
pdscheck 31ada32 Commit Preview URL

Branch Preview URL
Aug 30 2026, 08:18 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 30, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
cirrusdocs 31ada32 Commit Preview URL

Branch Preview URL
Aug 30 2026, 08:18 PM

@pkg-pr-new

pkg-pr-new Bot commented Aug 30, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/create-pds@233
npm i https://pkg.pr.new/@getcirrus/oauth-provider@233
npm i https://pkg.pr.new/@getcirrus/pds@233

commit: 31ada32

The vitest runner, in two complementary adapters:

- packages/spaces: the full crypto catalog against Cirrus's space
  routes, with harness reader identities (did:key) resolved by the
  fixture. The delegation → credential → read dance, delegation
  refusals, cross-space refusal, member-list gating, oplog folding and
  the delete tombstone all execute against the real route handlers and
  pass. Blob isolation declares the pds-blobs capability this fixture
  lacks and is reported skipped.
- packages/pds: the operator-tier and discovery checks against the whole
  integrated worker, so blob isolation (uploadBlob + sync.getBlob),
  discovery and the write/sync paths run against production code.
  Foreign identities aren't resolvable by the real DID resolver, so the
  credential/delegation checks skip here — covered by the space-routes
  adapter.

Probe records use a neutral collection so record validation is
optimistic on any conformant target. Together the two adapters run the
whole catalog green with zero must failures, each where it is runnable —
the capability model keeping 'not testable here' honest.
@ascorbic
ascorbic force-pushed the conformance/vitest branch from 2a26d66 to 31ada32 Compare August 30, 2026 20:17
@ascorbic
ascorbic marked this pull request as ready for review August 31, 2026 06:11
@ascorbic
ascorbic merged commit 94e917e into main Aug 31, 2026
6 checks passed
@ascorbic
ascorbic deleted the conformance/vitest branch August 31, 2026 06:14
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.

1 participant