Skip to main content
Checks that your project config is valid, the adapter is resolvable, and the warehouse connection works. Useful for diagnosing setup issues.

Usage

What it checks

The command runs three groups of checks: Runtime - SQLBuild version, Python version, Python path, OS info. Configuration - Finds and validates sqlbuild_project.toml, loads sqlbuild_local.toml if present, resolves the adapter and active target. Connection - Displays connection settings (secrets are masked), attempts to connect to the warehouse, and runs SELECT 1 to verify query execution.

Flags

Example

Exit codes

Returns 0 when all checks pass, 1 when any check fails (e.g. connection refused, invalid config).