Skip to content

Fix CI concurrency settings - #134

Open
christophfroehlich wants to merge 4 commits into
masterfrom
fix/ci-concurrency-filters
Open

christophfroehlich wants to merge 4 commits into
masterfrom
fix/ci-concurrency-filters

Conversation

@christophfroehlich

@christophfroehlich christophfroehlich commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Aligns the CI workflows' concurrency settings.

Concurrency: every workflow now uses

concurrency:
  group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
  cancel-in-progress: true

PR runs share a group per PR, so a new push cancels the superseded run. Push, scheduled and manual runs get a unique group: a concurrency group holds only one pending run, so with a shared group a third run would silently replace a queued branch/scheduled run (and manual pre-release runs with different inputs).

Commits:

  • Don't cancel in-progress pre-commit runs on pushes to branches
  • Use run-specific concurrency groups for non-PR runs

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues block the workflow cancellation-policy change.

No open issues 🎉

What changed in this PR

Updates the Lyrical pre-commit workflow so successive branch updates no longer cancel an in-progress validation run.

Changes:

  • Disables cancellation for branch refs while retaining it for non-branch refs, including pull requests.
  • Adds a comment explaining the cancellation policy; path and branch filters are unchanged.
File Description
.github/​workflows/​lyrical-pre-commit.yml Makes run cancellation conditional on the ref type and documents the policy.

Review effort: Balanced

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@christophfroehlich
christophfroehlich requested a balanced review from Copilot November 29, 2026 18:25
@github-actions

github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

HTML artifacts: https://github.com/ros-controls/zenbedded/actions/runs/46989832163/artifacts/15665450943.

To view the resulting site:

  1. Click on the above link to download the artifacts archive
  2. Extract it
  3. Open html-artifacts-134/index.html in your favorite browser

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

2 open issues

Review effort: Lite

Comment thread .github/workflows/zephyr-twister.yml Resolved
@christophfroehlich christophfroehlich changed the title Fix CI concurrency settings and path filters Fix CI concurrency settings Nov 29, 2026
Comment thread .github/workflows/zephyr-twister.yml Resolved

@bmagyar bmagyar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

the narration is getting on my nerves :D

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.

3 participants