Cancel validation runs for superseded pull request commits
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
Research direction
Look for the simulation API pull request workflows in the .github/workflows directory. Identify the validation and image-smoke workflows. Add a concurrency group configuration using the workflow name and pull request number. Ensure the deployment workflow is not changed. Test by creating a pull request and pushing multiple commits to verify old runs are canceled.
Written by the indexing model from the issue text.
Description
Problem
Pushing another commit to an open pull request starts new validation and image-smoke workflows, but workflows for the superseded commit continue running. This consumes runner capacity and can delay the checks for the current commit.
Proposed change
Configure both simulation API pull request workflows to group runs by workflow and pull request number and cancel an in-progress run when the same pull request receives another commit.
Keep deployment workflow concurrency unchanged so deployments continue to completion.
- Dominant language
- Python
- Stars
- 1
- Forks
- 1
- Avg merge
- 15h 10m
- Merged PRs (30d)
- 12
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PolicyEngine/policyengine-sim-api
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
PolicyEngine/policyengine-sim-api#674 · 3 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in PolicyEngine/policyengine-sim-api
Similar issues
-
bug confirmed issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
open-webui/open-webui#30750 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 90/100