Skip to content

ci(docs-mcp): deploy from Toolkit after main CI - #1664

Merged
betegon merged 3 commits into
mainfrom
ci/docs-mcp-deploy
Oct 29, 2026
Merged

betegon merged 3 commits into
mainfrom
ci/docs-mcp-deploy

Conversation

@betegon

@betegon betegon commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Toolkit merges currently deploy only the main MCP Worker. Add Deploy Docs MCP after a successful Test push run for the current main commit, following the main MCP's Node/pnpm setup, store cache, revision gates, and protected production Cloudflare credentials.

The workflow uploads to the existing private docs-mcp Worker without autocreating resources, activates the exact uploaded version, and waits for Cloudflare's deployment list to propagate before verifying its ownership and 100% traffic. The bounded wait reuses the main MCP's listSettled helper. Runtime variables and secrets are retained. The main MCP rollout is unchanged; its public HTTP smoke tests and recovery workflow do not apply to this private Worker.

Validation passed after rebasing onto current main: actionlint, 94 CI/helper tests, full lint, documentation links, and the actual shell revision guards. Replaying the workflow's real verification code reproduces the original stale-read failure, confirms retry success and bounded timeout, and rejects invalid ownership, version, or traffic. No Cloudflare API calls were made during these checks.

Before merging: disconnect the old cli-init-api Workers Builds connection and let any in-flight build finish, so Init cannot overwrite Toolkit's deployment. The first production deployment still needs a functional check through the private service binding. No deployment was executed while preparing this PR.

@vercel

vercel Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-local Ready Ready Preview Oct 29, 2026 9:55am UTC

Request Review

Comment thread .github/workflows/deploy-docs-mcp.yml Resolved

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9cb1859. Configure here.

Comment thread .github/workflows/deploy-docs-mcp.yml Resolved
@betegon
betegon force-pushed the ci/docs-mcp-deploy branch from 9cb1859 to 77e8ac9 Compare October 29, 2026 09:53
@betegon
betegon merged commit d895a16 into main Oct 29, 2026
35 of 36 checks passed
@betegon
betegon deleted the ci/docs-mcp-deploy branch October 29, 2026 10:12

This branch was successfully deployed

1 active deployment
Preview — 77e8ac9d Deployed Oct 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant