8000 Return base64 close errors from cache helper writes by dajiaohuang · Pull Request #1799 · dominikh/go-tools · GitHub
[go: up one dir, main page]

Skip to content
8000

Return base64 close errors from cache helper writes - #1799

Open
dajiaohuang wants to merge 3 commits into
dominikh:masterfrom
dajiaohuang:fix/cacheprog-close-write-error
Open

dajiaohuang wants to merge 3 commits into
dominikh:masterfrom
dajiaohuang:fix/cacheprog-close-write-error

Conversation

@dajiaohuang
@dajiaohuang dajiaohuang commented Oct 1, 2026 •
Copy link
Copy Markdown

ProgCache.writeToChild ignored errors from the base64 encoder's Close by returning nil. A buffered body write can surface a child-pipe error only when Close emits the final padded group; propagating the error prevents the caller from waiting for a response to an incomplete request. Add a regression for that flush.

Review update: the unrelated generic-instantiation change and its fixture were removed through a normal follow-up commit; #1764 tracks that fix separately. Current-head validation: go test ./lintcmd/cache -run TestWriteToChildReturnsBase64CloseError (one test) passed; git diff --check passed. Prior validation text above is historical unless repeated here.

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

0