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

Change bitfields from enum to uint64 #132

Conversation

tigrannajaryan
Copy link
Member

Implements spec change open-telemetry/opamp-spec#125

In some languages enum fields are strongly typed and it is impossible to assigned OR-ed values to the enum field. This makes impossible to compose the bit fields properly.

This changes all bit field declarations from enum to uint64. The enum declarations stay, so that bit definitions are clear.

Implements spec change open-telemetry/opamp-spec#125

In some languages enum fields are strongly typed and it is impossible to assigned OR-ed values to the enum field. This makes impossible to compose the bit fields properly.

This changes all bit field declarations from enum to uint64. The enum declarations stay, so that bit definitions are clear.
@codecov
Copy link

codecov bot commented Sep 20, 2022

Codecov Report

Base: 74.33% // Head: 74.84% // Increases project coverage by +0.50% 🎉

Coverage data is based on head (dd7896d) compared to base (dc8c620).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #132      +/-   ##
==========================================
+ Coverage   74.33%   74.84%   +0.50%     
==========================================
  Files          23       23              
  Lines        1765     1765              
==========================================
+ Hits         1312     1321       +9     
+ Misses        339      331       -8     
+ Partials      114      113       -1     
Impacted Files Coverage Δ
client/internal/clientcommon.go 79.80% <100.00%> (ø)
client/internal/receivedprocessor.go 69.28% <100.00%> (ø)
client/internal/tcpproxy.go 80.95% <0.00%> (+7.93%) ⬆️
client/internal/wssender.go 90.90% <0.00%> (+9.09%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tigrannajaryan tigrannajaryan marked this pull request as ready for review September 22, 2022 13:02
@tigrannajaryan tigrannajaryan requested review from a team and andykellr September 22, 2022 13:02
@tigrannajaryan
Copy link
Member Author

@andykellr can you please review so that we can merge this?

We want to move the protos and I want to make sure we don't have outstanding proto changes in this repo.

@tigrannajaryan tigrannajaryan merged commit 481b3de into open-telemetry:main Sep 22, 2022
@tigrannajaryan tigrannajaryan deleted the feature/tigran/enumbitfields branch September 22, 2022 16:24
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.

2 participants