Skip to content

Conversation

johnstcn
Copy link
Member

Should fix coder/internal#738

@johnstcn johnstcn requested review from mafredri and spikecurtis June 24, 2025 11:13
@johnstcn johnstcn self-assigned this Jun 24, 2025
Copy link
Member

@mafredri mafredri left a comment

Choose a reason for hiding this comment

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

Other than the simplification suggestion, LGTM 👍🏻

@@ -378,7 +378,11 @@ func (api *API) updaterLoop() {
// and anyone looking to interact with the API.
api.logger.Debug(api.ctx, "performing initial containers update")
if err := api.updateContainers(api.ctx); err != nil {
api.logger.Error(api.ctx, "initial containers update failed", slog.Error(err))
if errors.Is(err, context.Canceled) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Note that context.Canceled doesn't, by default, trigger test failure. Still, nice to not pollute the error stream.

@johnstcn johnstcn merged commit 4066785 into main Jun 24, 2025
29 checks passed
@johnstcn johnstcn deleted the cj/flake/agentcontainers-inspect-ctx-cancel branch June 24, 2025 12:30
@github-actions github-actions bot locked and limited conversation to collaborators Jun 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flake: TestSSH_Container/OK
3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy