-
Notifications
You must be signed in to change notification settings - Fork 121
Fix temp benchmark directory #906
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
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes temporary directory management in the benchmark workflow and standardizes string comparisons across CI scripts.
- Creates a unique, random-suffixed temp directory for benchmarks and exports it via TMPDIR
- Implements cleanup of the temp directory after benchmarking
- Replaces non-portable
==with POSIX=in various workflow scripts
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/phoenix/test.sh | Use = instead of == for string comparison |
| .github/workflows/phoenix/submit.sh | Use = instead of == for string comparison |
| .github/workflows/phoenix/submit-bench.sh | Use = instead of == for string comparison |
| .github/workflows/phoenix/bench.sh | Add unique temp‐dir creation and cleanup; use = for comparisons |
| .github/workflows/frontier/test.sh | Use = instead of == for string comparison |
| .github/workflows/frontier/submit.sh | Use = instead of == for string comparison |
| .github/workflows/frontier/build.sh | Use = instead of == for string comparison |
Co-authored-by: Copilot <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #906 +/- ##
=======================================
Coverage 45.98% 45.98%
=======================================
Files 68 68
Lines 18629 18629
Branches 2239 2239
=======================================
Hits 8566 8566
Misses 8711 8711
Partials 1352 1352 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: Copilot <[email protected]>
User description
Remove the temporary directory when done with it - and make it unique.
PR Type
Bug fix
Description
Fix temporary directory management in benchmark script
Add unique directory creation with random suffix
Implement proper cleanup with removal after completion
Changes walkthrough 📝
bench.sh
Improve temp directory handling with cleanup.github/workflows/phoenix/bench.sh