Skip to content

Run the production canary after debate-navigator deploys - #153

Merged
Programcode merged 1 commit into
mainfrom
ci/prod-canary-on-production
Oct 18, 2026
Merged

Programcode merged 1 commit into
mainfrom
ci/prod-canary-on-production

Conversation

@Programcode

Copy link
Copy Markdown
Owner

Why

The production canary hasn't run after a production deploy since 2026-10-16. prod-canary.yml starts only when a deployment's environment is exactly Production, but since 2026-10-16 Vercel has named its GitHub deployment environments after the project:

  • Production – debate-navigator (the live site, debate.pi-stack.org)
  • Production – debatelab-staging
  • Preview – debate-navigator
  • Preview – debatelab-staging

All 37 recent deployment_status runs were skipped, including the one for #152's merge.

Change

  • The job now runs on a successful Production – debate-navigator deployment, and still accepts plain Production. The staging project's production deploys still don't start it.
  • docs/testing.md names the environment.

Checked

  • actionlint passes on the workflow.
  • Checked the parsed if: against every environment name in this repo's deployment history. Only Production – debate-navigator and Production match. The en dash matches GitHub's string byte for byte.
  • The canary's three credential-free tests pass against production right now, run locally: the site loads and guards /app, every browser-facing Edge Function passes preflight, and the AI function rejects unauthenticated calls. The three signed-in tests need the Actions-only secrets and were skipped.
  • npm run docs:check passes.

Actions is currently refusing every job on billing grounds, so after merge this canary will start and then be refused rather than skipped. A refused job still shows that the condition matches. A full canary pass needs Actions billing fixed.

🤖 Generated with Claude Code

Since 2026-10-16, Vercel has named its GitHub deployment environments
after the project ("Production – debate-navigator"). The canary only
matched "Production", so every post-deploy run since then was skipped.
That's 37 skipped runs, and no production deploy has been canaried since.

Match the live site's environment and keep the old name. The
debatelab-staging project's production deploys still don't start it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 18, 2026 16:44
@vercel

vercel Bot commented Oct 18, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
debate-navigator Building Building Preview Oct 18, 2026 4:44pm UTC
debatelab-staging Building Building Preview Oct 18, 2026 4:44pm UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Programcode
Programcode merged commit 33704ec into main Oct 18, 2026
1 of 6 checks passed
@coderabbitai

coderabbitai Bot commented Oct 18, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Repository YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Free
  • Run ID: 78b81be3-2bf7-47df-9e93-64b814222ab4
📥 Commits

Reviewing files that changed from the base of the PR and between 588b132 and ef0f4f4.

📒 Files selected for processing: 2
  • .github/workflows/prod-canary.yml
  • docs/testing.md
+-----------------------------+
| I speak fluent stack trace. |
+-----------------------------+
  \
   \     /)/)
        ( '')
        /  |
      o(___)
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Essentials by visiting https://app.coderabbit.ai/settings/billing.

Comment @coderabbitai help to get the list of available commands.

This branch was successfully deployed

2 active deployments
Preview – debate-navigator — ef0f4f4e Deployed Oct 18, 2026 by vercel[bot]
Preview – debatelab-staging — ef0f4f4e Deployed Oct 18, 2026 by vercel[bot]
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