Skip to content

ci: one Pages deploy at a time - #1253

Merged
cdalar merged 1 commit into
mainfrom
docs-deploy-concurrency
Oct 26, 2026
Merged

cdalar merged 1 commit into
mainfrom
docs-deploy-concurrency

Conversation

@cdalar

@cdalar cdalar commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Two merges minutes apart each trigger Deploy to GitHub Pages, and nothing serialised them. Today #1251's deploy (0fb9d81) finished at 14:35:50, six seconds after #1252's (601c859) at 14:35:44, so the older build overwrote the newer one and /docs/claude was missing from onctl.sh until a manual workflow_dispatch re-run.

This adds a concurrency group so deploys queue in order. cancel-in-progress: false: a running deploy finishes, and a queued one is superseded by any newer run, so the latest commit always deploys last.

🤖 Generated with Claude Code

https://claude.ai/code/session_01J3DrQy8Pdg8KsM31aMxJaM

Two merges minutes apart each trigger a deploy of the docs site, and
with nothing serialising them the older build can finish last and
overwrite the newer one. It did today: #1251's deploy landed six
seconds after #1252's, and the page #1252 added was missing from
onctl.sh until a manual re-run. A concurrency group queues them in
order; a queued run is superseded by a newer one, so the latest
commit always deploys last.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J3DrQy8Pdg8KsM31aMxJaM
@codecov

codecov Bot commented Oct 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.78%. Comparing base (601c859) to head (f376fe1).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1253   +/-   ##
=======================================
  Coverage   47.78%   47.78%           
=======================================
  Files          81       81           
  Lines        9342     9342           
=======================================
  Hits         4464     4464           
  Misses       4878     4878           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cdalar
cdalar merged commit 26de1a4 into main Oct 26, 2026
13 checks passed
@cdalar
cdalar deleted the docs-deploy-concurrency branch October 26, 2026 14:42
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

⌂ 换网址