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

Explicitly declare missing daemon runtime configuration #16163

Open
wants to merge 2 commits into
base: compatible
Choose a base branch
from

Conversation

martyall
Copy link
Member

@martyall martyall commented Oct 1, 2024

The Problem

We allow certain values to be picked up during mina daemon configuration loading that are not explicitly part of the runtime config type. This means that Runtime_config.t is not the proper type to describe the values that are allowed.

Solution

  • Add all the config fields that are implicitly allowed
  • Modify the functions maybe_from_config and or_from_config in Mina_cli_entrypoint to make use of the proper types.
  • Remove the unused Quickcheck generator instances in Runtime_config (rather than extending these for the new fields, we should just delete them since no one will miss them)

@martyall
Copy link
Member Author

martyall commented Oct 1, 2024

!ci-build-me

@martyall
Copy link
Member Author

martyall commented Oct 1, 2024

!ci-nightly-me

@martyall martyall changed the title explicitly declare missing daemon configuration Explicitly declare missing daemon runtime configuration Oct 1, 2024
@martyall martyall marked this pull request as ready for review October 1, 2024 06:17
@martyall martyall requested a review from a team as a code owner October 1, 2024 06:17
@martyall
Copy link
Member Author

martyall commented Oct 1, 2024

Nightly results here: https://buildkite.com/o-1-labs-2/mina-end-to-end-nightlies/builds/2632

everything passes but the merges-cleanly-to-develop

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.

1 participant