-
Notifications
You must be signed in to change notification settings - Fork 26
Composite Scenarios Execution - Setup parallely, spam parallely (and in stages) #242
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
base: main
Are you sure you want to change the base?
Composite Scenarios Execution - Setup parallely, spam parallely (and in stages) #242
Conversation
@arpitkarnatak this is sick, thanks for the PR!
They should all run in parallel with different run IDs. Something I'd like to add in the "compose config" is the ability to define dependencies, so that we may execute them in sequence, but I think the default should be to run them all together at once.
Yeah I agree, this should live in its own crate. |
@zeroXbrock Thanks for the feedback. So I'll have to do the following next
I have one little doubt, Currently I'm using the pre-existing |
@zeroXbrock So I've done the following
Some things that I've had confusions with.
I want to do the following before merge
But apart from that, it's ready for review, do let me know what needs fixing/clarity |
@arpitkarnatak thanks for the PR! I should have time later in the week to review |
Motivation
This PR is step 1 for composite scenario execution, as suggested in #145
Solution
Adding a new
compose
command, similar todocker compose
A
contender-compose.yml
file looks likeCurrently this only supports
setup
command, it parses acontender-compose.yml
file and deploys multiple contracts from a singlecontender compose
command.The next step would be to include the
spam
from this file. Before implementing that, I want to know if all these spams are going to be run parallely and fall under a single run ID, or be separate runs one after the other.Also, I feel it would be better to have all the logic for the
compose
file to be a separate crate of its own, similar totestfile
. Let me know your thoughts, and any feedback on how to improve/move forward with this.PR Checklist