Skip to content

fix(ci): stop verify-pypi cancel storm on master#275

Merged
th3w1zard1 merged 8 commits into
masterfrom
fix/pypi-verify-regression-concurrency
May 24, 2026
Merged

fix(ci): stop verify-pypi cancel storm on master#275
th3w1zard1 merged 8 commits into
masterfrom
fix/pypi-verify-regression-concurrency

Conversation

@th3w1zard1

Copy link
Copy Markdown
Collaborator

Summary

  • Set cancel-in-progress: false on Verify PyPI Regression concurrency group.
  • Skip jobs when workflow_run of Auto-Publish did not succeed.

Test plan

  • Merge and confirm a Verify PyPI Regression run on master completes (not cancelled).

@th3w1zard1 th3w1zard1 merged commit d84f0db into master May 24, 2026
3 of 4 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8633e55aa1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +240 to 243
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
name: Generate Report
runs-on: ubuntu-latest
needs: [test-pykotor-core, test-pykotor-extensions, test-cli-tools]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Remove duplicate if key in report job

The report job now defines if twice, first with the new workflow_run success guard and then again as if: always(). In YAML mappings, duplicate keys do not both apply, so the latter if: always() effectively overrides the new guard; this means runs triggered by unsuccessful Auto-Publish to PyPI completions will still execute report, which contradicts the stated goal of skipping jobs for non-success workflow_run events and continues to consume CI runs.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci docs size/M Medium PR (100-300 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant