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

Backport of internal/event: avoid reusing canceled context into release/0.18.x #5310

Conversation

hc-github-team-secure-boundary
Copy link
Collaborator

Backport

This PR is auto-generated from #5304 to be assessed for backporting due to the inclusion of the label backport/0.18.x.

The below text is copied from the body of the original PR.


Don't error in ReleaseGate if the context used for the original event has been cancelled. Any error in ReleaseGate causes the controller to terminate its startup. If a user was trying to send a request to the Boundary controller as it started up, the context tied to the request would be reused to attempt logging the observation associated with the request after the logging gate was released. This would always fail, as the context associated with the request was canceled.

We now use a new context timeout for events logged after the release gate is released, if the original context was canceled.

Fixes ICU-15809


Overview of commits

@hc-github-team-secure-boundary hc-github-team-secure-boundary force-pushed the backport/jbrandhorst-fix-startup-http-request-crash/basically-artistic-mole branch from 6296fba to 0c5c43d Compare December 4, 2024 17:51
@hc-github-team-secure-boundary hc-github-team-secure-boundary merged commit ee1a4e0 into release/0.18.x Dec 4, 2024
@hc-github-team-secure-boundary hc-github-team-secure-boundary deleted the backport/jbrandhorst-fix-startup-http-request-crash/basically-artistic-mole branch December 4, 2024 17:51
@github-actions github-actions bot added the core label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants