Skip to content

CI: Deploy the documentation one run at a time - #769

Merged
bashtage merged 1 commit into
mainfrom
lm71-ci-docs-concurrency
Oct 12, 2026
Merged

bashtage merged 1 commit into
mainfrom
lm71-ci-docs-concurrency

Conversation

@bashtage

Copy link
Copy Markdown
Owner

Pull requests that are merged within a minute of each other start documentation runs that push to gh-pages at the same time. On 2026-10-12 the run for the merge of #756 failed with "cannot lock ref 'refs/heads/gh-pages'" because another run had just pushed (run 38208593501).

With a concurrency group for each ref, a run for main waits until the run in progress has finished. A newer push replaces a run that is still waiting, so the documentation of the latest commit is the one deployed. Runs for a release use the tag's ref, so pushes to main never replace them.

Pull requests that are merged within a minute of each other start
documentation runs that push to gh-pages at the same time. On 2026-10-12
the run for the merge of #756 failed with "cannot lock ref
'refs/heads/gh-pages'" because another run had just pushed (run
38208593501).

With a concurrency group for each ref, a run for main waits until the run
in progress has finished. A newer push replaces a run that is still
waiting, so the documentation of the latest commit is the one deployed.
Runs for a release use the tag's ref, so pushes to main never replace them.
@codecov

codecov Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.58%. Comparing base (121d869) to head (1ebf515).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #769      +/-   ##
==========================================
- Coverage   99.60%   99.58%   -0.02%     
==========================================
  Files         127      128       +1     
  Lines       23832    24188     +356     
  Branches     1783     1809      +26     
==========================================
+ Hits        23737    24087     +350     
- Misses         35       40       +5     
- Partials       60       61       +1     
Flag Coverage Δ
adder 99.56% <ø> (-0.03%) ⬇️
subtractor 99.56% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@bashtage
bashtage merged commit 1782b62 into main Oct 12, 2026
23 of 24 checks passed
@bashtage
bashtage deleted the lm71-ci-docs-concurrency branch October 12, 2026 13:37
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