Use manifest/2.0, resolved/2.0 for file format, add version bump enforcement #1333
Merged
jsuereth merged 7 commits intoopen-telemetry:mainfrom Apr 7, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1333 +/- ##
=======================================
- Coverage 81.7% 81.7% -0.1%
=======================================
Files 113 113
Lines 9718 9718
=======================================
- Hits 7942 7940 -2
- Misses 1776 1778 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
940aa3c to
f917b87
Compare
jsuereth
approved these changes
Apr 6, 2026
Contributor
jsuereth
left a comment
There was a problem hiding this comment.
Agree with this path forward
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Patch version is removed from manifest and resolved file format.
This change follows a pattern used in configuration https://github.com/open-telemetry/opentelemetry-configuration/blob/main/VERSIONING.md#file-format and a TC call discussion in open-telemetry/opentelemetry-specification#4815 (comment)
The spec will need to include a language explaining that consumer that supports vN.M may warn but should read schemas of vN.P (P > M) and ignore unknown properties. Consumer that only supports vN.* should not attempt to read vM.*.
Added checks to validate that removing fields requires major version bump and adding fields requires minor version bump.
Will address forward-compat issues in a follow ups