Skip to content

Conversation

@coreyosity
Copy link
Contributor

@coreyosity coreyosity commented Oct 15, 2025

Issue: #765

Summary

This PR adds version tracking and validation to ElasticGraph's runtime metadata to ensure compatibility between the schema artifacts and the runtime version.

Changes

  • Added elasticgraph_version field to runtime metadata schema that captures the ElasticGraph version during schema artifact generation
  • Implemented version validation when loading runtime metadata that raises an error if there's a version mismatch

@CLAassistant
Copy link

CLAassistant commented Oct 15, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@myronmarston myronmarston left a comment

Choose a reason for hiding this comment

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

Great work @coreycullen00! Left a few suggestions.

Copy link
Collaborator

@myronmarston myronmarston left a comment

Choose a reason for hiding this comment

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

LGTM apart from some linting errors. Run this to fix this:

bundle exec standardrb --fix

@myronmarston myronmarston merged commit ba6f955 into block:main Oct 21, 2025
12 checks passed
myronmarston added a commit that referenced this pull request Jan 23, 2026
PR #874 added ElasticGraph version to runtime_metadata.yaml. Without
regenerating artifacts during version bump, CI fails with version mismatch.

Co-Authored-By: Claude <noreply@anthropic.com>
myronmarston added a commit that referenced this pull request Jan 24, 2026
PR #874 added ElasticGraph version to runtime_metadata.yaml. Without
regenerating artifacts during version bump, CI fails with version mismatch.

Co-Authored-By: Claude <noreply@anthropic.com>
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