From bb5a66ac0264459434c67e21ff58183f9251a8e3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 25 Oct 2026 01:08:54 +0000 Subject: [PATCH 1/2] chore(deps): update dependency golangci/golangci-lint to v2.15.0 --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ffceb5e..221c4ff 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,12 +25,12 @@ jobs: - name: Lint (linux) uses: golangci/golangci-lint-action@v9 with: - version: v2.14.0 + version: v2.15.0 - name: Lint (darwin) uses: golangci/golangci-lint-action@v9 with: - version: v2.14.0 + version: v2.15.0 env: GOOS: darwin From 908ea1a21f3611a8455ffb3a34db5c294a5df6a1 Mon Sep 17 00:00:00 2001 From: Vladimir Urushev Date: Sun, 25 Oct 2026 13:01:15 +0000 Subject: [PATCH 2/2] fix(shell): propagate exec output copy errors --- cmd/devbox/shell.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cmd/devbox/shell.go b/cmd/devbox/shell.go index 9f07bc6..f379d2e 100644 --- a/cmd/devbox/shell.go +++ b/cmd/devbox/shell.go @@ -140,13 +140,15 @@ func containerExec(ctx context.Context, containerID string, cmd []string) (stdou done := make(chan error) go func() { - _, err = stdcopy.StdCopy(&stdout, &stderr, execAttachResp.Reader) + _, err := stdcopy.StdCopy(&stdout, &stderr, execAttachResp.Reader) done <- err }() select { - case <-done: - break + case err := <-done: + if err != nil { + return nil, nil, fmt.Errorf("failed to copy exec output: %w", err) + } case <-ctx.Done(): return nil, nil, errors.New("context cancelled") }