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

[chore] Fix Supervisor test on Windows #35035

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

evan-bradley
Copy link
Contributor

@evan-bradley evan-bradley commented Sep 5, 2024

Fixes an issue where YAML values need to be carefully quoted or Windows paths are interpreted as escaped values.

Also unquote the port number since I think it will be unquoted in most user configs.

Link to tracking Issue: #35033

@evan-bradley evan-bradley requested a review from a team September 5, 2024 17:31
@evan-bradley evan-bradley added the Run Windows Enable running windows test on a PR label Sep 5, 2024
Copy link
Member

@crobert-1 crobert-1 left a comment

Choose a reason for hiding this comment

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

LGTM, pending tests passing. Thanks for addressing so quickly @evan-bradley!

@evan-bradley
Copy link
Contributor Author

evan-bradley commented Sep 5, 2024

main.go:16:2: unrecognized import path "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp": https fetch: Get "https://go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp?go-get=1": EOF

It looks like we're being impacted by the go.opentelemetry.io migration. I'll try re-running in a while and see if it resolves itself.

Copy link
Contributor

@BinaryFissionGames BinaryFissionGames left a comment

Choose a reason for hiding this comment

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

Good catch on this.

@evan-bradley evan-bradley merged commit 97533e6 into open-telemetry:main Sep 5, 2024
179 of 180 checks passed
@evan-bradley evan-bradley deleted the fix-supervisor-test branch September 5, 2024 17:58
@github-actions github-actions bot added this to the next release milestone Sep 5, 2024
f7o pushed a commit to f7o/opentelemetry-collector-contrib that referenced this pull request Sep 12, 2024
Fixes an issue where YAML values need to be carefully quoted or Windows
paths are interpreted as escaped values.

Also unquote the port number since I think it will be unquoted in most
user configs.

**Link to tracking Issue:**
open-telemetry#35033
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd/opampsupervisor Run Windows Enable running windows test on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants