Skip to content

Gate self-host docker publish on the e2e suite#1392

Merged
RhysSullivan merged 1 commit into
mainfrom
ci/selfhost-docker-release-gate
Jul 10, 2026
Merged

Gate self-host docker publish on the e2e suite#1392
RhysSullivan merged 1 commit into
mainfrom
ci/selfhost-docker-release-gate

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

The docker publish workflow only built the image before moving user-visible tags, which is how v1.5.30 shipped with a startup crash. This adds an e2e job between build and merge: it pulls each arch's by-digest image and runs the selfhost-docker vitest project against it, so the latest/version tags only move if the real scenario suite passes on both amd64 and arm64.

Also fixes the selfhost-docker e2e target's MCP consent: it still used mcporter's cookieConsentStrategy, which throws on the relative /mcp-consent redirect the app now issues (the selfhost dev target already handles this via forcedMcpConsent — reuse it).

The publish workflow pushed user-visible tags after only building the
image, so a startup crash (v1.5.30's missing worker-bundler) or any
feature-path break could ship. Add an e2e job between build and merge
that pulls each arch's by-digest image and runs the full selfhost-docker
vitest project against it on a matching runner; merge (the step that
moves latest/version tags) now requires it.

Also switch the selfhost-docker target to the same forcedMcpConsent
completion the selfhost dev target uses: the app forces prompt=consent
on every MCP authorize, so authorize redirects to the relative
/mcp-consent screen and mcporter's cookieConsentStrategy throws on the
relative URL. The oauth-client-handoff scenarios failed against the
production image because of this.
@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 Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 42829b7 Commit Preview URL

Branch Preview URL
Jul 10 2026, 06:46 AM

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@RhysSullivan RhysSullivan marked this pull request as ready for review July 10, 2026 06:46
@RhysSullivan RhysSullivan merged commit 6f36b9d into main Jul 10, 2026
18 of 19 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.

1 participant