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

Add guidelines for breaking changes #4712

Conversation

jpkrohling
Copy link
Member

As a result of the discussion involving #4672, we agreed during the SIG Collector meeting that we'd start recommending and enforcing breaking changes to be performed in two steps.

Signed-off-by: Juraci Paixão Kröhling juraci@kroehling.de

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
@jpkrohling jpkrohling requested review from a team and tigrannajaryan January 19, 2022 18:26
@codeboten codeboten added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jan 19, 2022
@jpkrohling
Copy link
Member Author

@dashpole, do you have a good resource about how to do feature flags in the collector? If so, I'll add a link.

@codecov
Copy link

codecov bot commented Jan 19, 2022

Codecov Report

Merging #4712 (d455eb2) into main (04baaae) will decrease coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4712      +/-   ##
==========================================
- Coverage   90.78%   90.73%   -0.06%     
==========================================
  Files         180      179       -1     
  Lines       10637    10696      +59     
==========================================
+ Hits         9657     9705      +48     
- Misses        761      770       +9     
- Partials      219      221       +2     
Impacted Files Coverage Δ
internal/cgroups/cgroups.go 87.67% <0.00%> (-4.00%) ⬇️
receiver/otlpreceiver/otlp.go 80.55% <0.00%> (-0.78%) ⬇️
config/confighttp/confighttp.go 100.00% <0.00%> (ø)
config/configmapprovider/properties.go 100.00% <0.00%> (ø)
config/service.go
service/internal/configprovider/expand.go
config/configmapprovider/expand.go 100.00% <0.00%> (ø)
exporter/otlphttpexporter/otlp.go 82.20% <0.00%> (+0.15%) ⬆️
service/config_provider.go 91.96% <0.00%> (+0.37%) ⬆️
service/flags.go 86.36% <0.00%> (+0.64%) ⬆️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 04baaae...d455eb2. Read the comment docs.

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
@bogdandrutu
Copy link
Member

do you have a good resource about how to do feature flags in the collector? If so, I'll add a link.

https://github.com/open-telemetry/opentelemetry-collector/tree/main/service/featuregate

But as I explained, these are not helping with API changes.

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
@bogdandrutu bogdandrutu requested a review from codeboten January 20, 2022 20:03
@bogdandrutu
Copy link
Member

@codeboten lots of changes since your review, I asked you to do another round please.

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Copy link
Member

@tigrannajaryan tigrannajaryan left a comment

Choose a reason for hiding this comment

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

LGTM. This reflects our intent. Any further clarifications can be added via additional PRs.

@tigrannajaryan
Copy link
Member

@jpkrohling I can merge this once the comments are resolved.

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
@jpkrohling
Copy link
Member Author

PR updated. I think there's only one open comment about features being replaced by existing ones. Not sure there's anything to do in the other open comment.

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
@jpkrohling
Copy link
Member Author

Not sure there's anything to do in the other open comment.

That one was resolved, only one comment is still open but I think it has been addressed already.

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
@bogdandrutu bogdandrutu merged commit 7709537 into open-telemetry:main Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants