You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/05/11 18:25:39 UTC

(superset) branch master updated: fix(ci): serialize Docs Deployment runs to avoid push races (#40030)

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new e77f6ece92e fix(ci): serialize Docs Deployment runs to avoid push races (#40030)
e77f6ece92e is described below

commit e77f6ece92e38eb34eba8927d2efb15fb1704bd8
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Mon May 11 11:25:31 2026 -0700

    fix(ci): serialize Docs Deployment runs to avoid push races (#40030)
    
    Co-authored-by: Claude Code <no...@anthropic.com>
---
 .github/workflows/superset-docs-deploy.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/superset-docs-deploy.yml b/.github/workflows/superset-docs-deploy.yml
index f260a442568..dbe4deb1839 100644
--- a/.github/workflows/superset-docs-deploy.yml
+++ b/.github/workflows/superset-docs-deploy.yml
@@ -17,6 +17,16 @@ on:
 
   workflow_dispatch: {}
 
+# Serialize deploys: the action pushes to apache/superset-site without
+# rebasing, so concurrent runs race on the final push and the loser fails
+# with `! [rejected] asf-site -> asf-site (fetch first)`. Cancel any
+# in-progress run as soon as a newer one starts — the destination repo
+# isn't touched until the final push step, so canceling mid-build is safe,
+# and the freshest content always wins.
+concurrency:
+  group: docs-deploy-asf-site
+  cancel-in-progress: true
+
 jobs:
   config:
     runs-on: ubuntu-24.04