Skip to content

fix: use use buildServerSQLCmd() instead of manually constructing the dolt sql command, matching the pattern used by all other internal callers.#3616

Open
steveash wants to merge 1 commit intogastownhall:mainfrom
steveash:fix/verify-databases-dolt-cli-password
Open

fix: use use buildServerSQLCmd() instead of manually constructing the dolt sql command, matching the pattern used by all other internal callers.#3616
steveash wants to merge 1 commit intogastownhall:mainfrom
steveash:fix/verify-databases-dolt-cli-password

Conversation

@steveash
Copy link
Copy Markdown

Summary

use buildServerSQLCmd() instead of manually constructing the dolt sql command, matching the pattern used by all other internal callers.
Without this, dolt prompts interactively for a password when no password is configured (the default for local servers). Since the subprocess has no TTY, it hangs until timeout, causing gt doctor to falsely report 'database verification failed' even when the server is healthy

Related Issue

N/A

Changes

  • use buildServerSQLCmd() consistently

Testing

  • Unit tests pass (go test ./...)
  • Manual testing performed

Checklist

  • Code follows project style
  • Documentation updated (if applicable)
  • No breaking changes (or documented in summary)

… dolt sql command, matching the pattern used by all other internal callers.

Without this, dolt prompts interactively for a password when no password is configured (the default for local servers). Since the subprocess has no TTY, it hangs until timeout, causing gt doctor to falsely report 'database verification failed' even when the server is healthy.
@github-actions github-actions bot added the status/needs-triage Inbox — we haven't looked at it yet label Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/needs-triage Inbox — we haven't looked at it yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant