Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(ci): stop master pushes dropping queued rasterizer builds (#114491)

Tue Haulundc7e4a92ed163
diff --git a/.github/workflows/ci-recording-rasterizer-container.yml b/.github/workflows/ci-recording-rasterizer-container.yml
index f938b7b7e3f5..7af2ad69b31c 100644
--- a/.github/workflows/ci-recording-rasterizer-container.yml
+++ b/.github/workflows/ci-recording-rasterizer-container.yml
@@ -29,7 +29,8 @@ on:
- cron: '30 7 * * 1'
concurrency:
- group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
+ # Per-SHA on push: a shared group keeps one pending run, and the push that replaces it skips the build unless its own diff touches these paths.
+ group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.sha || github.head_ref || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs: