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

Fix snark worker support in integration tests #10279

Merged
merged 7 commits into from
Mar 2, 2022

Conversation

georgeee
Copy link
Member

@georgeee georgeee commented Feb 23, 2022

Integration test framework supports snark workers by design. This functionality wasn't used and well-maintained. This PR brings it up-to-date, read to be used.

Checklist:

  • Modified the current draft of release notes with details on what is completed or incomplete within this project
  • Document code purpose, how to use it
    • Mention expected invariants, implicit constraints
  • Tests were added for the new behavior
    • Document test purpose, significance of failures
    • Test names should reflect their purpose
  • All tests pass (CI will check this if you didn't)
  • Serialized types are in stable-versioned modules
  • Does this close issues? None

@georgeee georgeee requested a review from a team as a code owner February 23, 2022 21:45
@georgeee georgeee added the ci-build-me Add this label to trigger a circle+buildkite build for this branch label Feb 23, 2022
@@ -32,10 +32,14 @@ spec:
image: {{ $.Values.mina.image }}
{{ if $.Values.mina.useCustomEntrypoint -}}
command: [{{ $.Values.mina.customEntrypoint }}]
{{- else }}
Copy link
Member

Choose a reason for hiding this comment

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

Would this work for non-integration-test deployments as well? cc @QuiteStochastic

Copy link
Contributor

Choose a reason for hiding this comment

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

i THINK george's change should be fine. the default daemon entrypoint is more or less just mina $INPUT_ARGS $EXTRA_FLAGS 2>mina-stderr.log 1>mina.log &. so if there is no command, then args will be passed straight to that. cc @lk86

@georgeee georgeee force-pushed the georgeee/fix-snark-worker-intg-test branch from 90216e2 to 3440a4d Compare March 1, 2022 16:09
@georgeee georgeee force-pushed the georgeee/fix-snark-worker-intg-test branch from 3440a4d to 4231466 Compare March 1, 2022 16:56
@QuiteStochastic QuiteStochastic merged commit 6a5be3b into compatible Mar 2, 2022
@QuiteStochastic QuiteStochastic deleted the georgeee/fix-snark-worker-intg-test branch March 2, 2022 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-build-me Add this label to trigger a circle+buildkite build for this branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants