Skip to content

fix(ci): stabilize Vercel deploy health checks, rollback automation, and SIS startup ping#69

Draft
frankxai with Copilot wants to merge 2 commits into
mainfrom
copilot/update-ci-cd-vercel-health-checks
Draft

fix(ci): stabilize Vercel deploy health checks, rollback automation, and SIS startup ping#69
frankxai with Copilot wants to merge 2 commits into
mainfrom
copilot/update-ci-cd-vercel-health-checks

Conversation

Copilot AI commented Jun 16, 2026

Copy link
Copy Markdown

Summary

Stabilizes production deployment flow by hardening Vercel health verification and rollback behavior that was generating recurring deployment incidents. Also adds a non-blocking SIS memory ping during web startup for early memory-service reachability signaling.

Changes

  • CI/CD concurrency + cancellation safety
    • Set deploy workflows to cancel-in-progress: false to avoid interrupting in-flight release/deploy mutations.
  • Production deploy/health-check hardening
    • Capture and validate the actual Vercel deployment URL from the production deploy step.
    • Run retried health checks against that deployment URL (site + /api/health) with explicit timeouts.
    • Keep canonical-domain probe as informational, not a hard gate.
  • Rollback automation improvements
    • Trigger rollback path when either production deploy or post-deploy health check fails.
    • Attempt automated vercel rollback <deployment-url> when URL is available.
    • Emit richer incident issue context (failed stage, deployment URL, job results).
  • Web startup SIS memory ping
    • Added one-time, server-side, non-blocking startup ping helper with timeout and safe failure handling.
    • Wired into app startup path (layout.tsx).
# mvp-deploy.yml
concurrency:
  group: mvp-deploy-${{ github.ref }}
  cancel-in-progress: false

Type

  • Feature (new functionality)
  • Fix (bug fix)
  • Refactor (code improvement, no behavior change)
  • Docs (documentation only)
  • Lore (universe content, Library texts)

Checklist

  • TypeScript compiles with zero errors (pnpm build)
  • Changes align with ARCANEA_CANON.md (if lore-related)
  • No new any types introduced
  • Tested locally or verified in Vercel preview
Original prompt

Implement immediate stabilization fixes: Update CI/CD to resolve Vercel health check deployment failures (issues #64-67), add better error handling and rollback automation. Integrate basic SIS memory ping in the web app startup. Make it production-ready within this PR.

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
arcanea-2 Error Error Jun 16, 2026 9:29pm
arcanea-web Ready Ready Preview, Comment, Open in v0 Jun 16, 2026 9:29pm

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

Invalid vercel.json file provided

Copilot AI changed the title [WIP] Implement stabilization fixes for CI/CD and error handling fix(ci): stabilize Vercel deploy health checks, rollback automation, and SIS startup ping Jun 16, 2026
Copilot AI requested a review from frankxai June 16, 2026 21:31
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.

2 participants