Skip to content

Fix PR OSP concurrency collision, add triage PR comments#446

Merged
ColtonWilley merged 3 commits into
masterfrom
ci-cancel-investigation
Jul 15, 2026
Merged

Fix PR OSP concurrency collision, add triage PR comments#446
ColtonWilley merged 3 commits into
masterfrom
ci-cancel-investigation

Conversation

@aidangarske

@aidangarske aidangarske commented Jul 14, 2026

Copy link
Copy Markdown
Member

nightly-multi-compiler.yml and perf-regression.yml both set
group: ${{ github.workflow }}-${{ github.ref }}. In a reusable workflow
github.workflow is the caller's name, so under pr-osp-select both
resolved to the same group and cancelled each other. Every ci:all run
silently lost multi-compiler or perf, whichever lost the race.

  • Drop the concurrency block from both; pr-osp-select already collapses
    label bursts.
  • lint-workflows.yml: fail any reusable workflow with
    cancel-in-progress: true.
  • osp-report.yml also watches PR OSP runs and posts the existing retry +
    flake-vs-real triage as a sticky PR comment.

Copilot AI review requested due to automatic review settings July 14, 2026 20:48
@aidangarske aidangarske added the ci:all PR OSP toggle: run all label Jul 14, 2026
@aidangarske aidangarske marked this pull request as ready for review July 14, 2026 20:51

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.

Pull request overview

This PR addresses GitHub Actions concurrency collisions in reusable workflows under pr-osp-select, and adds automated OSP triage reporting to PRs (in addition to the existing nightly Slack reporting).

Changes:

  • Remove concurrency self-canceling from the reusable nightly-multi-compiler.yml and perf-regression.yml workflows to prevent sibling-call collisions.
  • Add a new lint-workflows.yml workflow to fail CI if any reusable workflow sets cancel-in-progress to a truthy value.
  • Extend osp-report.yml + .github/scripts/osp-triage.py to triage PR OSP runs and post/update a sticky PR comment.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.github/workflows/perf-regression.yml Removes reusable-workflow concurrency to avoid cross-call cancellation.
.github/workflows/nightly-multi-compiler.yml Removes reusable-workflow concurrency to avoid cross-call cancellation.
.github/workflows/lint-workflows.yml Adds CI lint to detect reusable workflows that self-cancel.
.github/workflows/osp-report.yml Adds PR OSP run handling, trust gating, PR resolution, and PR commenting support.
.github/scripts/osp-triage.py Adds PR-comment reporting path (GFM rendering + upsert behavior) alongside Slack.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/lint-workflows.yml
Comment thread .github/workflows/osp-report.yml Outdated
@aidangarske aidangarske added ci:all PR OSP toggle: run all and removed ci:all PR OSP toggle: run all labels Jul 14, 2026
@wolfSSL wolfSSL deleted a comment from github-actions Bot Jul 14, 2026
@ColtonWilley ColtonWilley merged commit e24bd6c into master Jul 15, 2026
72 checks passed
@aidangarske aidangarske deleted the ci-cancel-investigation branch July 15, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:all PR OSP toggle: run all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants