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

refactor(vm-runner): Allow switching between VMs for latest protocol version – follow ups #2567

Conversation

slowli
Copy link
Contributor

@slowli slowli commented Aug 2, 2024

What ❔

Various follow-ups after #2508:

  • Adds VM playground config to etc/env.
  • Adds a health check for the VM playground.
  • Runs VM playground in server integration tests and checks it on teardown.

Why ❔

Improves maintainability and test coverage.

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zk fmt and zk lint.

@slowli slowli changed the title Aov pla 997 allow switching between vms for latest protocol version follow ups refactor(vm-runner): Allow switching between VMs for latest protocol version – follow ups Aug 2, 2024
@slowli slowli marked this pull request as ready for review August 2, 2024 08:15
@slowli slowli requested a review from a team as a code owner August 2, 2024 08:15
@@ -541,17 +541,70 @@ export class TestContextOwner {
this.reporter.finishAction();
}

private async waitForVmPlayground() {
Copy link
Member

Choose a reason for hiding this comment

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

May I ask you to add somewhat verbose comments on what do these functions do and why do we need them? Because there is a good chance that in the future someone will hard time understanding what's going on in here.

@slowli slowli merged commit c75f6e1 into jms-vm2 Aug 5, 2024
55 checks passed
@slowli slowli deleted the aov-pla-997-allow-switching-between-vms-for-latest-protocol-version-follow-ups branch August 5, 2024 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants