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

plugincontainer: Fix container logs context to have no timeout/cancel #93

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

tomhjp
Copy link
Contributor

@tomhjp tomhjp commented Sep 13, 2023

Found in manual testing of the Vault release 1.15.0-rc1

The context passed to Start by go-plugin is cancelled once the plugin has successfully started and communicated its address, but the lifetime of the container log streaming needs to be uncoupled from that. The log streaming will stop when it encounters an EOF error, which will happen when the container is killed.

Copy link
Contributor

@swenson swenson left a comment

Choose a reason for hiding this comment

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

LGTM

@tomhjp
Copy link
Contributor Author

tomhjp commented Sep 14, 2023

Thanks!

@tomhjp tomhjp merged commit 7a5e901 into main Sep 14, 2023
17 checks passed
@tomhjp tomhjp deleted the fix-container-logs-context branch September 14, 2023 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants