Skip to content

CD: keep main off prod; Sentry maps and register on deploy-dev - #68

Merged
NinjaLikesCheez merged 5 commits into
mainfrom
cursor/cd-gate-sentry-b89b
Oct 8, 2026
Merged

NinjaLikesCheez merged 5 commits into
mainfrom
cursor/cd-gate-sentry-b89b

Conversation

@NinjaLikesCheez

@NinjaLikesCheez NinjaLikesCheez commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Continues #10 after PR 67. Does not redo GHCR publish or just deploy-dev. Closes nothing yet (#10 stays open).

Prod CD is off until #12. Merges to main still publish ghcr.io/pixelbar/pixel:<sha> (and :main) and create a Sentry release. They do not log in to Azure and have no path to pixel-prod. Fail closed: never copy the Mini / Pixel Dev Discord token (pixel-dev-kv) into prod. Max replicas stay 1.

Missing config fails closed (no silent skip):

  • CD Sentry job: requires repository secret SENTRY_AUTH_TOKEN and variables SENTRY_ORG, SENTRY_PROJECT.
  • Terraform plan: requires GitHub Environment dev variables ARM_CLIENT_ID, ARM_TENANT_ID, ARM_SUBSCRIPTION_ID.

OIDC (Plan envs/dev): GitHub Environment dev ARM_* is set and correct. Login fails with AADSTS700213 because this repo (created 2026-10-03) emits immutable subjects repo:pixelbar@1690472/pixel@1402859166:environment:dev, while Azure still has repo:pixelbar/pixel:environment:dev. Bootstrap Terraform in this PR matches the immutable subject. Plan stays red until someone with Owner updates that federated credential in Azure (see comment / coordinator note). This PR does not apply bootstrap.

Azure dev: just deploy-dev still rolls pixel-dev from this tree, then local just sentry-release (still skips without Mini .env org/token) and just register against the Pixel Dev guild. CI still does not deploy pull requests. If pixel-dev is up, do not also just dev on the same token.

Auth-related: this PR does not change core/access*, core/identity*, core/dispatcher*, core/registry* or services/access-config*.

Open in Web Open in Cursor 

Prod is not ready (#12). Merges to main publish GHCR (and source maps
when Sentry org/token exist) but never log in to Azure or touch
pixel-prod. just deploy-dev still rolls pixel-dev (one replica), then
creates a Sentry release and just register for the Pixel Dev guild.
Sentry on main and terraform plan no longer skip if org/token or
Environment dev ARM_* are unset. Prod CD stays off: no Azure login,
no pixel-prod.
This repo was created after 2026-07-15, so Actions tokens use
repo:pixelbar@1690472/pixel@1402859166:environment:<env>. The name-only
subject never matches (AADSTS700213). Plan still fails until that
credential is updated in Azure.
Comment thread justfile Outdated
The app is already live after az containerapp update. A Sentry outage
must not skip just register. sentry-release still fails the recipe.
Commands are already registered. Do not hide a Sentry failure with
|| true; print that pixel-dev is live and still exit 1.
@NinjaLikesCheez
NinjaLikesCheez merged commit ea38026 into main Oct 8, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
dev — a940ccd1 Deployed Oct 8, 2026 by NinjaLikesCheez via Plan envs/dev #20
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