-
Notifications
You must be signed in to change notification settings - Fork 328
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
Fix artifact upload in benchmark jobs #12226
Fix artifact upload in benchmark jobs #12226
Conversation
Remove call to deprecated upload_artifact. See #12210
|
|
We are ready to merge |
@@ -831,16 +831,28 @@ pub fn extra_nightly_tests() -> Result<Workflow> { | |||
} | |||
|
|||
pub fn engine_benchmark() -> Result<Workflow> { | |||
benchmark_workflow("Benchmark Engine", "backend benchmark runtime", Some(4 * 60)) | |||
let report_path = "engine/runtime-benchmarks/bench-report.xml"; | |||
benchmark_workflow("Benchmark Engine", "backend benchmark runtime", report_path, Some(4 * 60)) |
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.
4*60
should be a constant. This way it is clear what it means.
"Benchmark Standard Libraries", | ||
"backend benchmark enso-jmh", | ||
report_path, | ||
Some(4 * 60), |
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.
It is also reused.
Can we get this in? I need to run benchmarks for #12201 and I'd like to do it today. |
|
`./bench_download.py` tool stopped working after #12226. Because the artifacts on benchmark workflow runs were renamed. This PR just renames the artifacts (suggested in #12201 (comment)) and also adds some unit tests. In many unit tests, I had to bump the date of the fetched data, because GH seems to delete workflow runs that are older than 2 years. Note that yesterday, [Benchmark Upload](https://github.com/enso-org/enso/actions/workflows/bench-upload.yml) workflow started printing a [warning that there is an unknown artifact name](https://github.com/enso-org/enso/actions/runs/13152367074/job/36701982751#step:6:1116)
Follow-up of #12210 - Remove call to deprecated upload_artifact from benchmark jobs
Pull Request Description
Fixes benchmark jobs. Example of a recent failure is at https://github.com/enso-org/enso/actions/runs/13063541131/job/36451661359
Important Notes
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
or the Snowflake database integration, a run of the Extra Tests has been scheduled.