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

[featuregate] Finalizing purpose of ToVersion. #7626

Merged

Conversation

TylerHelmuth
Copy link
Member

Description:
Finalizes the purpose of toVersion. toVersion will represent the version where the feature gate is completely removed. Setting a stable gate to true will result in a warning log. Setting a stable gate to false will result in an error.

Link to tracking Issue:
Closes #7621

Testing:
Updated tests.

Documentation:
Updated docs.

@codecov
Copy link

codecov bot commented May 3, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (2c132fa) 91.23% compared to head (0de5889) 91.23%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7626   +/-   ##
=======================================
  Coverage   91.23%   91.23%           
=======================================
  Files         296      296           
  Lines       14472    14473    +1     
=======================================
+ Hits        13203    13204    +1     
  Misses       1004     1004           
  Partials      265      265           
Impacted Files Coverage Δ
featuregate/stage.go 81.81% <ø> (ø)
featuregate/registry.go 94.73% <100.00%> (+0.14%) ⬆️

... and 1 file with indirect coverage changes

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

featuregate/registry.go Outdated Show resolved Hide resolved
@codeboten codeboten merged commit 9ef6429 into open-telemetry:main May 4, 2023
@github-actions github-actions bot added this to the next release milestone May 4, 2023
@TylerHelmuth TylerHelmuth deleted the featuregate-finalize-toversion branch May 5, 2023 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants