-
Notifications
You must be signed in to change notification settings - Fork 489
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
[Merged by Bors] - feat: benches with criterion and dedicated workflow #2770
[Merged by Bors] - feat: benches with criterion and dedicated workflow #2770
Conversation
@sehz , @morenol looks like we will have to provide special permissions for Benchmark workflow in order to allow commenting on commit:
I believe this is related: https://stackoverflow.com/questions/70435286/resource-not-accessible-by-integration-on-github-post-repos-owner-repo-ac |
CI failure |
438b83c
to
17d9bc0
Compare
Yeah, its related to permissions I left this comment here: #2770 (comment). I see other people complaining about similar issue here: actions/first-interaction#10 |
Checking on the GitHub Token Permissions I can see we can only read PR:
I think we could add an custom token for this workflow which allows write perhaps? I also opened an issue on the action repository to ask for permissions scopes we could use for our workflow. |
I guess that we could make it only run on master branch, I think that for pushes to that branch we won't get permission issues |
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.
maybe one way to solve permission issues is only cache the benchmark only master
bors r+ |
Replaces benchmarking with Criterion crate and provides a dedicated workflow for running benchmarks as part of CI. As we add more benchmarks to source code, the benchmarks workflow will grow with configuration for each crate in the project.
ohh, clippy issues! |
Build failed: |
@morenol reviewing! |
Doesn't look related to this PR: https://github.com/infinyon/fluvio/actions/runs/3386673257/jobs/5626387694#step:8:1252 |
Just saw you took care of this already here: #2771 Great! |
bors retry |
Replaces benchmarking with Criterion crate and provides a dedicated workflow for running benchmarks as part of CI. As we add more benchmarks to source code, the benchmarks workflow will grow with configuration for each crate in the project.
Pull request successfully merged into master. Build succeeded: |
Replaces benchmarking with Criterion crate and provides a dedicated
workflow for running benchmarks as part of CI. As we add more benchmarks
to source code, the benchmarks workflow will grow with configuration for each
crate in the project.