Skip to content

Automatically remove run-benchmarks label once benchmarks are executed#6929

Merged
jni merged 1 commit intonapari:mainfrom
Czaki:run_benchmark_remove
May 27, 2024
Merged

Automatically remove run-benchmarks label once benchmarks are executed#6929
jni merged 1 commit intonapari:mainfrom
Czaki:run_benchmark_remove

Conversation

@Czaki
Copy link
Copy Markdown
Collaborator

@Czaki Czaki commented May 23, 2024

Description

Iterating on a performance PR that needs benchmarks is currently more cumbersome than it needs to be: add the run-benchmarks label, get a performance report, act on the report (ie make code changes and push), then, to run the benchmarks again, a core dev needs to manually remove the label, then immediately add it again. Instead, this PR automates the removal of the label once the benchmarks are done running and the report has been generated. In fact, it should also remove the label even if the benchmarks fail due to some bug in the code or benchmark code.

@Czaki Czaki added the maintenance PR with maintance changes, label May 23, 2024
@Czaki Czaki added this to the 0.5.0 milestone May 23, 2024
@codecov
Copy link
Copy Markdown

codecov bot commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.43%. Comparing base (2300b0e) to head (f582da4).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6929      +/-   ##
==========================================
- Coverage   92.48%   92.43%   -0.06%     
==========================================
  Files         612      612              
  Lines       55165    55165              
==========================================
- Hits        51018    50990      -28     
- Misses       4147     4175      +28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Czaki Czaki changed the title Remove run-benchmarks label once benchamrk were executed Remove run-benchmarks label once benchamark were executed May 23, 2024
@Czaki Czaki added the ready to merge Last chance for comments! Will be merged in ~24h label May 24, 2024
@jni jni changed the title Remove run-benchmarks label once benchamark were executed Automatically remove run-benchmarks label once benchmarks are executed May 27, 2024
@jni jni merged commit 87e14c7 into napari:main May 27, 2024
@jni jni deleted the run_benchmark_remove branch May 27, 2024 09:00
@github-actions github-actions bot removed the ready to merge Last chance for comments! Will be merged in ~24h label May 27, 2024
andy-sweet pushed a commit to andy-sweet/napari that referenced this pull request May 28, 2024
napari#6929)

# Description

Iterating on a performance PR that needs benchmarks is currently more
cumbersome than it needs to be: add the run-benchmarks label, get a
performance report, act on the report (ie make code changes and push),
then, to run the benchmarks again, a core dev needs to *manually remove*
the label, then immediately add it again. Instead, this PR automates the
removal of the label once the benchmarks are done running and the report
has been generated. In fact, it should also remove the label even if the
benchmarks fail due to some bug in the code or benchmark code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance PR with maintance changes,

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants