Skip to content
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

frame-omni-bencher short checks #5268

Merged
merged 5 commits into from
Aug 7, 2024

Conversation

mordamax
Copy link
Contributor

@mordamax mordamax commented Aug 6, 2024

Currently works in parallel with gitlab short benchmarks.
Triggered only by adding GHA-migration label to assure smooth transition (kind of feature-flag).
Later when tested on random PRs we'll remove the gitlab and turn on by default these tests

@mordamax mordamax added the R0-silent Changes should not be mentioned in any release notes label Aug 6, 2024
@mordamax mordamax requested review from a team as code owners August 6, 2024 22:32
- '${{ steps.current-file.outputs.current-workflow-file }}'
rust:
- '**/*'
- '!.github/**/*'
Copy link
Member

@ggwpez ggwpez Aug 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to use forklift caching to decide if something changed?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forklift will know about changes only during cargo build and this action is for skipping entire workflows if no rust code has changed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea but there could be a forklift --did-something-change? Trying to manually re-list all files that could trigger a build seems more fragile. But maybe its not the objective of forklift to offer this...

mordamax and others added 2 commits August 7, 2024 17:30
@mordamax mordamax added this pull request to the merge queue Aug 7, 2024
Merged via the queue into paritytech:master with commit 711d91a Aug 7, 2024
160 of 165 checks passed
@mordamax mordamax deleted the mak-gha-omnibench branch August 7, 2024 17:38
@alvicsam
Copy link
Contributor

alvicsam commented Aug 8, 2024

cc @bkontur

@bkontur
Copy link
Contributor

bkontur commented Aug 12, 2024

cc @bkontur

@alvicsam @mordamax guys, iiuc, this is merged, but it is not enabled yet, right? So, how can I enable this new CIs?

My plan is to finish this week setting up testnet runtimes to work with frame-omni-bencher (not all the runtime work): #5083 + #5083

@alvicsam
Copy link
Contributor

@bkontur yep, that's correct, this is not enabled yet. If you want to add it to the current CI you need to change gitlab ci files.

@mordamax
Copy link
Contributor Author

mordamax commented Aug 12, 2024

@bkontur i think if you could fix 2-3 failing frame omni bencher checks with merging those fixes, may be you could just remove the gitlab part of it and remove this condition - then it will be fully migrated to GHA and frame omni bencher by default

You can test those by adding GHA-migration label on any PRs (but beware there are other GHA checks that will run as well which we're porting ATM)

@mordamax
Copy link
Contributor Author

@bkontur please don't add GHA-migration label unless you are going to test/fix those, as there's still limited capacity for new runners :)

@bkontur
Copy link
Contributor

bkontur commented Aug 12, 2024

@bkontur please don't add GHA-migration label unless you are going to test/fix those, as there's still limited capacity for new runners :)

@mordamax don't worry, thanks for that conditions (exactly, what I was looking for: a47aff4), I will continue here with fixing and when everything works we will remove gitlab CI pipelines

gui1117 pushed a commit to gui1117/polkadot-sdk that referenced this pull request Aug 15, 2024
- Part of paritytech/ci_cd#1006
- Closes: paritytech/ci_cd#1010
- Related: paritytech#4405

- Possibly affecting how frame-omni-bencher works on different runtimes:
paritytech#5083

Currently works in parallel with gitlab short benchmarks. 
Triggered only by adding `GHA-migration` label to assure smooth
transition (kind of feature-flag).
Later when tested on random PRs we'll remove the gitlab and turn on by
default these tests

---------

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
dharjeezy pushed a commit to dharjeezy/polkadot-sdk that referenced this pull request Aug 28, 2024
- Part of https://github.com/paritytech/ci_cd/issues/1006
- Closes: https://github.com/paritytech/ci_cd/issues/1010
- Related: paritytech#4405

- Possibly affecting how frame-omni-bencher works on different runtimes:
paritytech#5083

Currently works in parallel with gitlab short benchmarks. 
Triggered only by adding `GHA-migration` label to assure smooth
transition (kind of feature-flag).
Later when tested on random PRs we'll remove the gitlab and turn on by
default these tests

---------

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants