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 Ensign Config Preventing GDS from Running #1176

Merged
merged 3 commits into from
Nov 19, 2024
Merged

Fix Ensign Config Preventing GDS from Running #1176

merged 3 commits into from
Nov 19, 2024

Conversation

bbengfort
Copy link
Collaborator

@bbengfort bbengfort commented Nov 19, 2024

Scope of changes

The confire library automatically calls a configurations Validate() method if it implements it in order to process a valid configuration. We did not want the Ensign config to be validated unless the Activity config (which it was a member of) was enabled. Similarly the Network field also had a Validate method which is why those two errors were coming up. This PR fixes those problems.

Type of change

  • bug fix
  • new feature
  • documentation
  • other (describe)

Acceptance criteria

This PR will be merged without review.

Author checklist

  • I have manually tested the change and/or added automation in the form of unit tests or integration tests
  • I have updated the dependencies list
  • I have recompiled and included new protocol buffers to reflect changes I made
  • I have added new test fixtures as needed to support added tests
  • I have moved the associated Shortcut story to "Ready for Review"

Network Network `split_words:"true"`
Enabled bool `default:"false"`
Topic string `required:"false"`
Network Network `required:"false" validate:"ignore"`
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This fixes the unknown network error

Testing bool `split_words:"true" default:"false"`
Ensign ensign.Config
Testing bool `default:"false" `
Ensign ensign.Config `validate:"ignore"`
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This fixes the client id missing error

@bbengfort bbengfort merged commit 821fb8b into main Nov 19, 2024
15 checks passed
@bbengfort bbengfort deleted the sc-28187 branch November 19, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant