build(protobuf): Upgrade protobuf minimum version from v4 to v5 (prep for state ts support, DM-4073) - #2776
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request upgrades the project's protobuf dependency to version 5, regenerates the proto files with support for state datapoints and aggregates, and updates the proto compilation script. The review feedback suggests making the paths in the update script location-independent by resolving them relative to the script's file location rather than the current working directory.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2776 +/- ##
==========================================
+ Coverage 93.06% 93.07% +0.01%
==========================================
Files 514 514
Lines 52959 52959
==========================================
+ Hits 49286 49294 +8
+ Misses 3673 3665 -8 🚀 New features to boost your workflow:
|
haakonvt
force-pushed
the
upgrade-protobuf-for-state-ts
branch
from
August 21, 2026 10:19
4f7ee1c to
0c28910
Compare
Contributor
Author
|
🦄 |
audunska
approved these changes
Aug 21, 2026
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.
Bumps the lower bound on protobuf from v4 to v5 as v4 is lacking a version guard at runtime (also, it is ancient!). For reference, the latest is v7.
Note: Not to be merged before
cognitedata/protobuf-files#22Update: TimeLords moved state TS specific part into own PR: cognitedata/protobuf-files#23