Skip to content

fix: handle input and database read errors in client and doctor commands - #1480

Open
Leo225 wants to merge 1 commit into
nextlevelbuilder:devfrom
Leo225:dev
Open

fix: handle input and database read errors in client and doctor commands#1480
Leo225 wants to merge 1 commit into
nextlevelbuilder:devfrom
Leo225:dev

Conversation

@Leo225

@Leo225 Leo225 commented Jul 27, 2026

Copy link
Copy Markdown

Added error handling for input reading in the agent chat client and for database row reading in the doctor commands, ensuring that errors are reported clearly to the user.

Summary

Type

  • Feature
  • Bug fix
  • Hotfix (targeting main)
  • Refactor
  • Docs
  • CI/CD

Target Branch

Checklist

  • go build ./... passes
  • go build -tags sqliteonly ./... passes (if Go changes)
  • go vet ./... passes
  • Tests pass: go test -race ./...
  • Web UI builds: cd ui/web && pnpm build (if UI changes)
  • No hardcoded secrets or credentials
  • SQL queries use parameterized $1, $2 (no string concat)
  • New user-facing strings added to all 3 locales (en/vi/zh)
  • Migration version bumped in internal/upgrade/version.go (if new migration)

Test Plan

Added error handling for input reading in the agent chat client and for database row reading in the doctor commands, ensuring that errors are reported clearly to the user.
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