Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Cancel validation runs for superseded pull request commits

Open
#693 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, python
Domain
backend, ci-cd

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PolicyEngine/policyengine-sim-api

All issues in PolicyEngine/policyengine-sim-api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.