Skip to content

[cmd/opampsupervisor] Validate that the HUP config reload cannot be used on Windows #41077

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

Merged

Conversation

douglascamata
Copy link
Member

Description

The changes in this PR add a validation in the Supervisor's agent configuration that prevents the usage of the SIGHUP configuration reload feature in Windows, as this OS doesn't support such signal.

This PR is a follow up to #40522. Thank you @nenadnoveljic for point it out and notifying us of the Windows build failure.

Testing

Automated test added.

Signed-off-by: Douglas Camata <[email protected]>
@douglascamata
Copy link
Member Author

douglascamata commented Jul 3, 2025

Would love if someone with enough permissions could add the Run Windows label to this PR, please. Thanks! 🙇

@evan-bradley evan-bradley added the Run Windows Enable running windows test on a PR label Jul 3, 2025
@evan-bradley evan-bradley added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jul 3, 2025
Should make it more elegant to ensure we skip the test for Windows where the HUP reload setting cannot be turned on.

Signed-off-by: Douglas Camata <[email protected]>
The case where HUP reload is true is already tested separately.

Signed-off-by: Douglas Camata <[email protected]>
Copy link
Contributor

@evan-bradley evan-bradley left a comment

Choose a reason for hiding this comment

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

Thanks for following up with this.

@evan-bradley evan-bradley merged commit 6b73f7e into open-telemetry:main Jul 6, 2025
210 checks passed
@github-actions github-actions bot added this to the next release milestone Jul 6, 2025
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 Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants