Skip to content

ci: add manual den-api redeploy lever to EE publish workflow - #3510

Closed
benjaminshafii wants to merge 1 commit into
devfrom
ci/den-api-redeploy-lever
Closed

ci: add manual den-api redeploy lever to EE publish workflow#3510
benjaminshafii wants to merge 1 commit into
devfrom
ci/den-api-redeploy-lever

Conversation

@benjaminshafii

Copy link
Copy Markdown
Member

Why

Today's incident (#3507): the den-api fix merged to dev at 14:50 UTC and its image published immediately, but the hosted den-api kept serving the old handoff exchange schema — verified via the production OpenAPI (DesktopHandoffExchangeResponse still [token, user], no organization). Gateway auto-redeploys on dev pushes; den-api has no deploy lever at all, so client fixes that depend on server changes silently stall.

What

  • New workflow_dispatch input redeploy_den_api (default false).
  • New redeploy-den-api job mirroring the existing gateway job: POSTs a Render deploy for the den-api service (RENDER_DEN_API_SERVICE_ID + RENDER_API_KEY), gracefully skips with a summary notice when credentials are absent.
  • Migrations are already CD'd on every dev push via den-db-migrate.yml, so recycling den-api onto the current published dev image is safe. Full den-api dev CD stays a deliberate follow-up per the existing comment.

Usage

Actions -> Publish EE Artifacts -> Run workflow -> check redeploy_den_api.

Validation

  • python3 -c "import yaml; yaml.safe_load(...)" — YAML parses.
  • This workflow self-triggers on PRs touching it, so the pipeline validates here.
  • Runtime evidence tape: not applicable (CI workflow change; job requires a repo secret and a manual dispatch).

Note: RENDER_DEN_API_SERVICE_ID must be added to repo secrets before the lever does anything (job no-ops with a notice until then).

@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
openwork-app Ready Ready Preview Aug 4, 2026 3:23pm
openwork-den Ready Ready Preview Aug 4, 2026 3:23pm
openwork-den-worker-proxy Building Building Preview Aug 4, 2026 3:23pm
openwork-diagnostics Ready Ready Preview Aug 4, 2026 3:23pm
openwork-landing Ready Ready Preview, v0 Aug 4, 2026 3:23pm

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