Skip to content

feat(registry): verify Sigstore provenance - #1951

Merged
ascorbic merged 1 commit into
feat/delegated-release-servicefrom
feat/delegated-release-service-10-provenance-verification
Jul 11, 2026
Merged

ascorbic merged 1 commit into
feat/delegated-release-servicefrom
feat/delegated-release-service-10-provenance-verification

Conversation

@ascorbic

@ascorbic ascorbic commented Jul 11, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Adds all-or-nothing GitHub Actions Sigstore SLSA v1 provenance verification to the shared registry verification package for Node and Cloudflare Workers. It verifies the bundle checksum, public Sigstore trust chain and transparency evidence, SLSA artifact digest, signed repository, and exact workflow identity. The reviewed trust root and real public fixture are vendored, and the package bundles a pinned workerd crypto compatibility fix into its published output.

Related to #1908 and RFC #1870.

Type of change

  • Bug fix
  • Feature (requires maintainer-approved Discussion)
  • Refactor (no behavior change)
  • Translation
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Checklist

The i18n item is not applicable because this package has no admin UI. RFC #1870 and umbrella #1908 are the ratified design/tracker for this integration-branch implementation; there is no separate Discussion.

AI-generated code disclosure

  • This PR includes AI-generated code — model/tool: OpenCode with GPT-5.6-sol and independent Opus 4.8 review

Screenshots / test output

  • Full monorepo build passed before typecheck.
  • Full pnpm typecheck, pnpm lint, formatting, frozen install, and diff checks passed.
  • 73 Node tests and 34 workerd tests passed, including execution of the packed published verifier.
  • Publint and the packed-output inspection passed.
  • Fixture and vendored trust-root SHA-256 hashes match the recorded values.
  • ATTW 0.18.2 crashes in its own tar extraction path before package analysis; two independent reviews confirmed no package finding and the leftover tarball was removed.

Try this PR

Open a fresh playground →

A full working EmDash site, deployed from this branch. Each visit gets its own session-scoped sandbox: no login needed and no shared state. Try the admin, edit content, hit the public site.

Tracks feat/delegated-release-service-10-provenance-verification. Updated automatically when the playground redeploys.

@changeset-bot

changeset-bot Bot commented Jul 11, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e446228

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 18 packages
Name Type
@emdash-cms/registry-verification Minor
emdash Patch
@emdash-cms/plugin-cli Patch
@emdash-cms/cloudflare Patch
@emdash-cms/sandbox-workerd Patch
@emdash-cms/fixture-perf-site Patch
@emdash-cms/perf-demo-site Patch
@emdash-cms/cache-demo-site Patch
@emdash-cms/do-demo-site Patch
@emdash-cms/do-solo-demo-site Patch
@emdash-cms/admin Patch
@emdash-cms/auth Patch
@emdash-cms/blocks Patch
@emdash-cms/gutenberg-to-portable-text Patch
@emdash-cms/x402 Patch
create-emdash Patch
@emdash-cms/auth-atproto Patch
@emdash-cms/plugin-embeds Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor

Scope check

This PR changes 1,234 lines across 19 files. Large PRs are harder to review and more likely to be closed without review.

If this scope is intentional, no action needed. A maintainer will review it. If not, please consider splitting this into smaller PRs.

See CONTRIBUTING.md for contribution guidelines.

@github-actions github-actions Bot added size/XL review/needs-review No maintainer or bot review yet cla: signed labels Jul 11, 2026
@cloudflare-workers-and-pages

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 Updated (UTC)
❌ Deployment failed
View logs
emdash-demo-do e446228 Jul 11 2026, 02:16 PM

@cloudflare-workers-and-pages

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 Updated (UTC)
✅ Deployment successful!
View logs
emdash-playground e446228 Jul 11 2026, 02:16 PM

@cloudflare-workers-and-pages

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 Updated (UTC)
❌ Deployment failed
View logs
emdash-demo-cache e446228 Jul 11 2026, 02:17 PM

@ascorbic ascorbic added the bot:review Trigger an emdashbot code review on this PR label Jul 11, 2026
@ascorbic
ascorbic merged commit 982ccea into feat/delegated-release-service Jul 11, 2026
6 of 8 checks passed
@ascorbic
ascorbic deleted the feat/delegated-release-service-10-provenance-verification branch July 11, 2026 14:52
@ascorbic ascorbic mentioned this pull request Jul 11, 2026
37 of 63 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:review Trigger an emdashbot code review on this PR cla: signed review/needs-review No maintainer or bot review yet size/XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant