Skip to content

fix: prevent docs deploy from being cancelled by PR previews#6553

Merged
angiejones merged 1 commit intomainfrom
fix/docs-deploy-concurrency
Jan 17, 2026
Merged

fix: prevent docs deploy from being cancelled by PR previews#6553
angiejones merged 1 commit intomainfrom
fix/docs-deploy-concurrency

Conversation

@blackgirlbytes
Copy link
Contributor

Problem

PR #6547 was merged but never deployed to the blog site. The deployment workflow was cancelled because it triggered at the same time as a PR preview workflow.

Both workflows share the concurrency: pr-preview group to prevent race conditions when writing to gh-pages. However, without cancel-in-progress: false, production deploys can be cancelled by PR previews.

Solution

Add cancel-in-progress: false to the deploy workflow. This ensures:

  • Production deploys will queue and wait rather than being cancelled
  • PR previews can still cancel each other (that's fine)
  • Both workflows still share the same concurrency group to avoid gh-pages conflicts

Testing

This is a workflow configuration change. The behavior can be verified by:

  1. Merging a docs change to main
  2. Having a PR preview trigger at the same time
  3. Confirming the production deploy queues instead of being cancelled

The deploy workflow was using the same concurrency group as PR previews
but without cancel-in-progress: false, which meant production deploys
could be cancelled when a PR preview triggered at the same time.

This caused PR #6547 to not deploy despite being merged.

Setting cancel-in-progress: false ensures production deploys will queue
and wait rather than being cancelled.
Copilot AI review requested due to automatic review settings January 17, 2026 05:12
@blackgirlbytes blackgirlbytes requested a review from a team January 17, 2026 05:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a deployment issue where production documentation deploys were being cancelled when PR preview workflows triggered simultaneously. The fix ensures production deploys queue and wait rather than being cancelled, while still preventing race conditions on the gh-pages branch.

Changes:

  • Add cancel-in-progress: false to the production deploy workflow's concurrency configuration

@angiejones angiejones merged commit 3cadb9c into main Jan 17, 2026
25 checks passed
@angiejones angiejones deleted the fix/docs-deploy-concurrency branch January 17, 2026 11:46
fbalicchia pushed a commit to fbalicchia/goose that referenced this pull request Jan 23, 2026
)

Signed-off-by: fbalicchia <fbalicchia@cuebiq.com>
raj-subhankar pushed a commit to raj-subhankar/goose that referenced this pull request Feb 14, 2026
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