-
Notifications
You must be signed in to change notification settings - Fork 332
[CI] auto-cancel in-progress PR CI when new commits are pushed #956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
👋 Hi! Thank you for contributing to the TileLang project. Please remember to run We appreciate you taking this step! Our team will review your contribution, and we look forward to your awesome work! 🚀 |
WalkthroughAdds concurrency controls to multiple CI workflows, introduces PYTORCH_INDEX_URL to AMD CI, and updates the bot workflow to build in a fresh virtual environment. Other files receive whitespace/formatting-only adjustments. No exported/public API changes. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant GH as GitHub Actions
participant CI as Workflow (ci/amd_ci/metal_ci)
Note over GH,CI: Added concurrency controls (pull_request)
Dev->>GH: Open/Update Pull Request
GH->>CI: Trigger workflow
alt Another run in same group is in progress
GH-->>CI: Cancel in-progress run
Note right of GH: cancel-in-progress: true (PR only)
end
CI->>CI: Execute jobs as defined
sequenceDiagram
autonumber
participant GH as GitHub Actions
participant BOT as Workflow (bot.yml)
participant Step as Build original version
GH->>BOT: Trigger workflow
BOT->>Step: Checkout main
rect rgba(200,235,255,0.25)
Note right of Step: New env setup
Step->>Step: python -m venv tl
Step->>Step: source tl/bin/activate
Step->>Step: pip install -r requirements-test.txt
Step->>Step: pip install .
end
BOT->>BOT: Continue perf/test and PR posting (unchanged)
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (6)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
As per the PR title, to alleviate loads for self-hosted runners.
Summary by CodeRabbit