@@ -861,13 +861,11 @@ func runInitDiagnostics(path string) doctorResult {
861861 result .OverallOK = false
862862 }
863863
864- // Check 3: Schema compatibility (server-mode only; embedded validates during initSchema)
865- if ! isEmbeddedDolt {
866- schemaCheck := convertWithCategory (doctor .CheckSchemaCompatibility (path ), doctor .CategoryCore )
867- result .Checks = append (result .Checks , schemaCheck )
868- if schemaCheck .Status == statusError {
869- result .OverallOK = false
870- }
864+ // Check 3: Schema compatibility
865+ schemaCheck := convertWithCategory (doctor .CheckSchemaCompatibility (path ), doctor .CategoryCore )
866+ result .Checks = append (result .Checks , schemaCheck )
867+ if schemaCheck .Status == statusError {
868+ result .OverallOK = false
871869 }
872870
873871 // Check 4: Permissions
@@ -877,22 +875,18 @@ func runInitDiagnostics(path string) doctorResult {
877875 result .OverallOK = false
878876 }
879877
880- // Checks 5-6: Dolt server connection and schema (server-mode only;
881- // embedded mode has no sql-server to connect to).
882- if ! isEmbeddedDolt {
883- // Check 5: Dolt connection — validates init actually created a working DB
884- doltConnCheck := convertDoctorCheck (doctor .CheckDoltConnection (path ))
885- result .Checks = append (result .Checks , doltConnCheck )
886- if doltConnCheck .Status == statusError {
887- result .OverallOK = false
888- }
878+ // Check 5: Dolt connection — validates init actually created a working DB
879+ doltConnCheck := convertDoctorCheck (doctor .CheckDoltConnection (path ))
880+ result .Checks = append (result .Checks , doltConnCheck )
881+ if doltConnCheck .Status == statusError {
882+ result .OverallOK = false
883+ }
889884
890- // Check 6: Dolt schema — validates tables were created
891- doltSchemaCheck := convertDoctorCheck (doctor .CheckDoltSchema (path ))
892- result .Checks = append (result .Checks , doltSchemaCheck )
893- if doltSchemaCheck .Status == statusError {
894- result .OverallOK = false
895- }
885+ // Check 6: Dolt schema — validates tables were created
886+ doltSchemaCheck := convertDoctorCheck (doctor .CheckDoltSchema (path ))
887+ result .Checks = append (result .Checks , doltSchemaCheck )
888+ if doltSchemaCheck .Status == statusError {
889+ result .OverallOK = false
896890 }
897891
898892 return result
0 commit comments