Skip to content

feat(release-service): verify GitHub Actions workloads - #1974

Merged
ascorbic merged 2 commits into
feat/delegated-release-servicefrom
feat/delegated-release-service-14-github-workload
Jul 12, 2026
Merged

ascorbic merged 2 commits into
feat/delegated-release-servicefrom
feat/delegated-release-service-14-github-workload

Conversation

@ascorbic

@ascorbic ascorbic commented Jul 12, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Implements W4.1 and W4.2 from the delegated release plan. It adds issuer-neutral workload identity contracts and an internal GitHub Actions OIDC verifier with strict RS256 discovery, JWKS, token, audience, time, and GitHub claim validation.

Discovery and JWKS reads are same-origin, bounded, timeout-aware, and fail closed. The verifier supports one key-rotation retry, validates RSA verification material before use, and returns only normalized claims with stable generic errors. No public routes, persistence, or release-intent integration are added.

Part of #1908 and implements the approved protocol in #1870.

Closes: N/A, integration work for #1908.

Type of change

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

Checklist

  • I have read CONTRIBUTING.md
  • pnpm typecheck passes
  • pnpm lint passes
  • pnpm test passes (or targeted tests for my change)
  • pnpm format has been run
  • I have added/updated tests for my changes (if applicable)
  • User-visible strings in the admin UI are wrapped for translation (if applicable). N/A: no admin UI changes.
  • I have added a changeset (if this PR changes a published package). N/A: apps/release-service is private.
  • New features link to an approved Discussion. N/A: maintainer-owned implementation of approved RFC RFC: Attested Automated Publishing #1870 under umbrella Delegated release service #1908.

AI-generated code disclosure

  • This PR includes AI-generated code, model/tool: OpenCode with GPT-5.6-sol plus an independent review agent.

Screenshots / test output

No visual changes.

  • Full monorepo build and package typecheck pass.
  • Release-service typecheck passes.
  • Release service: 122 workers-vitest tests pass, including 77 workload-verifier tests.
  • Type-aware lint, formatting, and diff checks pass.

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-14-github-workload. Updated automatically when the playground redeploys.

@changeset-bot

changeset-bot Bot commented Jul 12, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 44641f7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@github-actions github-actions Bot added review/needs-review No maintainer or bot review yet size/XL labels Jul 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Scope check

This PR changes 1,258 lines across 5 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.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 12, 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 Updated (UTC)
✅ Deployment successful!
View logs
emdash-demo-cache 44641f7 Jul 12 2026, 11:21 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 12, 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 Updated (UTC)
✅ Deployment successful!
View logs
emdash-playground 44641f7 Jul 12 2026, 11:21 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 12, 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 Updated (UTC)
✅ Deployment successful!
View logs
emdash-demo-do 44641f7 Jul 12 2026, 11:21 AM

@ascorbic ascorbic added the bot:review Trigger an emdashbot code review on this PR label Jul 12, 2026
@ascorbic
ascorbic merged commit 241659c into feat/delegated-release-service Jul 12, 2026
8 checks passed
@ascorbic
ascorbic deleted the feat/delegated-release-service-14-github-workload branch July 12, 2026 16:17
@ascorbic ascorbic mentioned this pull request Jul 13, 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