Skip to content

fix(deploy): isolate production concurrency - #7

Merged
xiaoland merged 1 commit into
mainfrom
codex/fix-pages-concurrency
Jul 28, 2026
Merged

fix(deploy): isolate production concurrency#7
xiaoland merged 1 commit into
mainfrom
codex/fix-pages-concurrency

Conversation

@xiaoland

Copy link
Copy Markdown
Member

Root cause

A Dependabot pull-request Website checks completion started a Pages controller run. The identity job would skip it, but workflow-level concurrency was acquired before that condition and canceled the active main deployment.

Fix

Move the pages-main concurrency lock to the deploy job after trusted-main identity resolution. Ineligible controller runs can now skip without entering the production concurrency group.

Verification

  • pnpm --dir website check
  • svc status --json
  • workflow formatting and git diff --check

This preserves cancellation for superseded eligible production deployments.

- acquire the Pages lock only after trusted main identity resolves
- record the workflow_run ordering discovered during first delivery
@xiaoland
xiaoland merged commit a7fa592 into main Jul 28, 2026
1 check passed
@xiaoland
xiaoland deleted the codex/fix-pages-concurrency branch July 28, 2026 14:25
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