Conversation
🚀 Performance Benchmark Results |
There was a problem hiding this comment.
Pull request overview
Hardens the repository’s GitHub Actions CI workflows to reduce wasted runs and limit token exposure, while speeding up Python environment setup via caching. This aligns with Issue #73’s goal of adding concurrency cancellation, timeouts, credential scoping, caching, and correcting triggers so merges to main don’t re-run PR checks.
Changes:
- Add workflow/job-level
concurrency+timeout-minutesto avoid long/hung and superseded runs. - Scope PR/code-quality checks to
pull_requestonly and disable persisted checkout credentials (persist-credentials: false). - Enable
setup-uvcaching in the shared composite setup action.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/setup/action.yml | Enables setup-uv caching to avoid rebuilding dependencies each run. |
| .github/workflows/pr_quality_checks.yml | Removes push: main, adds concurrency cancellation, timeout, and disables persisted credentials. |
| .github/workflows/code_quality_checks.yml | Removes push: main, adds concurrency cancellation, per-job timeouts, and disables persisted credentials. |
| .github/workflows/benchmark.yml | Adds concurrency cancellation, timeout, and disables persisted credentials for the benchmark workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
mowi12
deleted the
feat/73-refactor-harden-ci-workflows-with-concurrency-timeouts-credential-scoping-caching-and-correct-triggers
branch
July 15, 2026 08:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Hardens CI with concurrency, timeouts, token scoping, caching, trigger cleanup; no release/wiki changes.
Related Issue
Closes #73
Changes
See issue description.
How to Test
open PR → only the 3 PR workflows fire; push a 2nd commit → in-flight runs cancel; after merge → no re-run on main; check setup step logs for cache hit.
Checklist
Either tick the items or cross out those that do not apply (using
example text) and provide a brief explanation why they do not apply.Author
I tested the changes locally.