Skip to content

Conversation

myronmarston
Copy link
Collaborator

This is no longer needed, and gets in the way of further changes I am making.

@CLAassistant
Copy link

CLAassistant commented Aug 12, 2025

CLA assistant check
All committers have signed the CLA.

This is no longer needed, and gets in the way of further changes I am making.
@@ -36,8 +36,4 @@ module ElasticGraph
end
end
end

class Config
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is it no longer needed? Is it defined somewhere else or we just don't use this health check at all?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Great question!

A long time ago, we had a central ElasticGraph::Config class, back before EG was refactored to be a lot more modular (with separate gems like elasticgraph-graphql, elasticgraph-indexer, etc). At the time, elasticgraph-health_check existed and it added a health_check attribute to ElasticGraph::Config, which is why we defined the signature for it here.

When we made EG modular (and split up ElasticGraph::Config) this got left behind even though ElasticGraph::Config no longer existed.

A later PR (#776) re-introduces an ElasticGraph::Config class, although this time it's a base class used as the basis for all the various config classes. This definition was causing a conflict, so I preemptively cleaned it up here.

@myronmarston myronmarston merged commit 3f4f4f3 into main Aug 13, 2025
17 of 18 checks passed
@myronmarston myronmarston deleted the myron/fix-config-rbs branch August 13, 2025 20:52
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