Skip to content

fix: clarify unreadable config permission errors#2

Open
hehanlin1996 wants to merge 1 commit into
mainfrom
ai-fix-20260515-auth-permission
Open

fix: clarify unreadable config permission errors#2
hehanlin1996 wants to merge 1 commit into
mainfrom
ai-fix-20260515-auth-permission

Conversation

@hehanlin1996
Copy link
Copy Markdown
Owner

Summary

  • classify C1-AUTH-PERM and implement the low-risk lark-cli-only fix for BASE-20260515-045
  • preserve not-configured semantics for missing config files while surfacing unreadable config files as structured config errors
  • add actionable permission-denied hints for config show, doctor --offline, and default credential resolution paths

Verification

  • go test ./internal/core ./internal/credential ./cmd/config ./cmd/doctor -count=1
  • go test ./cmd ./cmd/auth ./cmd/config ./cmd/doctor ./internal/core ./internal/credential -count=1
  • go test -race -count=1 ./cmd/config ./cmd/doctor ./internal/core ./internal/credential
  • go vet ./cmd/... ./internal/...
  • gofmt -l .
  • go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.6 run --new-from-rev=origin/main

No shortcut changes; dry-run E2E is not required.

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