Skip to content

fix(io): handle editor and error-output failures - #7

Open
taigrr wants to merge 1 commit into
masterfrom
cd/round3-20261123
Open

taigrr wants to merge 1 commit into
masterfrom
cd/round3-20261123

Conversation

@taigrr

@taigrr taigrr commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • Check the temporary secrets file close before launching the editor, and warn if plaintext cleanup fails.
  • Preserve the original error and report JSON output failures through the human error handler; add a regression test with unwritable stderr.
  • Explicitly discard read-only close errors, clearing all six preexisting errcheck findings.
  • No dependency changes; does not overlap the staging tests in PR test(gitutil): cover staging paths and worktree isolation #6.

Validation

  • go generate ./...
  • go test -race ./...
  • go vet ./...
  • go build ./...
  • staticcheck ./...
  • golangci-lint run ./... (v2.15.0; 0 issues)
  • goimports and git diff --check clean

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