Add "cancel build" workflow
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- github-actions
- Domain
- ci-cd
Research direction
Inspect the repository's existing CI workflow files and compare them with ni/grpc-device's .github/workflows/cancel_builds.yml and the cancel-workflow-action documentation. Configure cancellation for superseded pull-request commits, using a current action version, and verify that earlier queued checks are cancelled when a new commit is pushed.
Written by the indexing model from the issue text.
Description
Description of issue
System Tests and Travis CI take a long time to run (somewhere between 45 minutes and an hour and a half maybe?) and sometimes a contributor will push multiple commits to a PR in a short time, causing additional PR checks to be queued. But PR checks for the previous commits remain in the queue and aren't cancelled. This makes it take longer to get test results for the latest commit.
We should automatically cancel testing for previous commits of a PR when a new commit is pushed.
Luckily, there's an Action to help with that: cancel-workflow.
ni/grpc-device actually uses this action, already.
It may take a bit of research to properly use, but it would likely cut down on test time.
We should probably use a later version than ni/grpc-device currently does, so that we don't get node-js12 warnings.
- Dominant language
- Python
- Stars
- 128
- Forks
- 110
- Avg merge
- 5d 14h
- Merged PRs (30d)
- 10
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 ni/nimi-python
-
docs nitclk priority-low
Difficulty 1/5 Under an hour Newbie friendliness 68/100
ni/nimi-python#1993 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
ni/nimi-python#2164 · 1 comment ·
-
bug docs
Difficulty 1/5 Under an hour Newbie friendliness 48/100
ni/nimi-python#2162 ·
-
codegen enhancement
Difficulty 4/5 3-5 days Newbie friendliness 42/100
ni/nimi-python#2148 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
ni/nimi-python#2122 ·
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100