Skip to content

fix: report a blocked-but-deployed service instead of failing the deploy - #6

Merged
EthanThatOneKid merged 1 commit into
mainfrom
discord-waiting
Sep 24, 2026
Merged

EthanThatOneKid merged 1 commit into
mainfrom
discord-waiting

Conversation

@EthanThatOneKid

Copy link
Copy Markdown
Contributor

Why

Merging Data's Discord channel made the deploy job red: data-discord cannot log ready: data-discord until Message Content Intent is enabled for the Data application, so the readiness wait timed out on a precondition that does not live in this repository.

A red deploy for an external toggle is a false alarm: it hides real deploy failures and trains everyone to ignore the job.

What

scripts/zo-deploy.ts gains --waiting-marker <text>. When the readiness deadline passes, a service that is RUNNING, on the new revision, and whose log names that exact marker is accepted — with an Actions ::warning:: naming the blocker:

::warning::data-discord is running the new revision but is blocked on an external precondition: enable Message Content Intent
deployed b24b499... to data-discord

Anything else still fails the job, unchanged. deploy.yml passes the marker only for data-discord.

Verification

  • npm run typecheck and npm test (13 tests, including the fake-MCP deploy tests) pass.
  • Ran the deploy by hand against the live host: it restarted data-discord, observed the 4014 line, emitted the warning above, and exited 0.

data-discord cannot log its readiness line until Message Content Intent is
enabled for the Data application, so the deploy job failed on a blocker that
lives outside this repository. The deploy now accepts a running service whose
log names that exact precondition, emits an Actions warning that names the fix,
and still fails for any other reason the service never becomes ready.
@wazoocomputer

wazoocomputer Bot commented Sep 24, 2026

Copy link
Copy Markdown

This pull request modifies the deployment script to prevent deploy failures when a service is running but blocked by an external precondition. It introduces a --waiting-marker option to scripts/zo-deploy.ts which, when present and found in the service logs, will allow the deployment to succeed with a warning instead of failing. This change aims to improve the clarity of deployment outcomes by distinguishing between actual deploy failures and external blockers.

File Path Change Summary of Change
.github/workflows/deploy.yml modified Adds --waiting-marker to data-discord deploy step.
scripts/zo-deploy.ts modified Adds --waiting-marker option and logic for conditional success.

Reviewers, please start by examining scripts/zo-deploy.ts to understand the new deployment logic.

@wazoocomputer

wazoocomputer Bot commented Sep 24, 2026

Copy link
Copy Markdown

This pull request modifies the deployment script to prevent deploy failures when a service is running but blocked by an external precondition. It introduces a --waiting-marker option to scripts/zo-deploy.ts which, when present and found in the service logs, will allow the deployment to succeed with a warning instead of failing. This change aims to improve the clarity of deployment outcomes by distinguishing between actual deploy failures and external blockers.

File Path Change Summary of Change
.github/workflows/deploy.yml modified Adds --waiting-marker to data-discord deploy step.
scripts/zo-deploy.ts modified Adds --waiting-marker option and logic for conditional success.

Reviewers, please start by examining scripts/zo-deploy.ts to understand the new deployment logic.

@EthanThatOneKid
EthanThatOneKid merged commit 74ba9a7 into main Sep 24, 2026
1 check passed
@EthanThatOneKid
EthanThatOneKid deleted the discord-waiting branch September 25, 2026 21:46
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