-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[confmap] Mark confmap.strictlyTypedInput
as stable
#10793
[confmap] Mark confmap.strictlyTypedInput
as stable
#10793
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10793 +/- ##
==========================================
+ Coverage 91.60% 91.69% +0.09%
==========================================
Files 404 404
Lines 18990 18953 -37
==========================================
- Hits 17395 17379 -16
+ Misses 1235 1216 -19
+ Partials 360 358 -2 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Discussed on the stability meeting from 2024-08-07, we can have this for v0.108.0 instead of v0.107.0 |
@mx-psi ready for a rebase |
cd787dd
to
7325c66
Compare
I've run into an interesting edge case. Investigating now. Please don't merge for now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mx-psi, just one question
err = fmt.Errorf("cannot unmarshal the configuration: %w", err) | ||
|
||
if globalgates.StrictlyTypedInputGate.IsEnabled() { | ||
var shouldAddCoda bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm likely missing context here, but in other places in this PR we've kept the behaviour inside the check if the StrictlyTypedInputGate.IsEnabled
and here it's removed, is this correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The coda says:
Hint: Temporarily restore the previous behavior by disabling
the `confmap.strictlyTypedInput` feature gate. More details at:
https://github.com/open-telemetry/opentelemetry-collector/issues/10552
which is not actionable after this PR is merged (you cannot disable the feature gate). Should we keep some sort of custom message? It could make sense to give people a place where they can complain
👍, if you find something, could you file a separate issue? |
I found one issue that should be fixed here #10897 |
Last call before I merge this cc @open-telemetry/collector-approvers. I checked the two real issues reported on #10552 and verified that these were fixed with the binary: Can't pass a number to a string fieldIssue: #10552 (comment) (can't pass a number to a Config used to reproduce the issue:
Logs with 0.107.0:
Logs with HEAD (fails to start but passes validation and unmarshaling):
TLS min version in env variableIssue: #10552 (comment) Config used to reproduce the issue:
Logs with 0.107.0:
Logs with HEAD:
I have looked into adding end to end tests, I think we can and should do that, but it will take some time and I don't want to block this and confmap 1.0 on these tests. |
Description
Marks
confmap.strictlyTypedInput
as stable.Link to tracking issue
Fixes #10552
Blocked by: