Skip to content

fix: close HTTP response bodies in helper requests - #3295

Open
wangjingshuiku wants to merge 1 commit into
devspace-sh:mainfrom
wangjingshuiku:wangjingshuiku-maint-20260824
Open

fix: close HTTP response bodies in helper requests#3295
wangjingshuiku wants to merge 1 commit into
devspace-sh:mainfrom
wangjingshuiku:wangjingshuiku-maint-20260824

Conversation

@wangjingshuiku

Copy link
Copy Markdown

What issue type does this pull request address?

/kind bugfix

What does this pull request do? Which issues does it resolve?

Closes HTTP response bodies in the URL readiness polling loop and after downloading the restart helper. This prevents connections and file descriptors from being retained across retries. No associated issue.

Please provide a short message that should be published in the DevSpace release notes

Fixed an issue where repeated URL readiness checks and restart-helper downloads could retain HTTP resources.

What else do we need to know?

go test ./pkg/devspace/build/builder/restart passes. The changed cmd package was formatted with gofmt, and git diff --check passes.

Signed-off-by: wangjingshuiku <wangjingshuiku@163.com>
@netlify

netlify Bot commented Aug 24, 2026

Copy link
Copy Markdown

Deploy Preview for devspace-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 5400b70
🔍 Latest deploy log https://app.netlify.com/projects/devspace-docs/deploys/6a8c7d6e2474f00008225c0f

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.

1 participant