Skip to content

fix(init): run embedded post-init diagnostics#3275

Open
oculairmedia wants to merge 1 commit intogastownhall:mainfrom
oculairmedia:heph/bd-zwtq-init-doctor-check
Open

fix(init): run embedded post-init diagnostics#3275
oculairmedia wants to merge 1 commit intogastownhall:mainfrom
oculairmedia:heph/bd-zwtq-init-doctor-check

Conversation

@oculairmedia
Copy link
Copy Markdown

Summary

  • run the post-init verification path after bd init in embedded mode as well as server mode
  • validate embedded init against the real read-only embedded/app store instead of the server-only doctor path to avoid false setup failures
  • add regression coverage for embedded init diagnostics so fresh embedded repos stay green

Validation

  • go test ./cmd/bd/doctor -run 'TestRunDoltHealthChecks_DoltBackendNoServer|TestSharedStore_WithStoreChecks_NoDatabase'
  • go test ./cmd/bd -run 'TestInitCommand|TestInitAlreadyInitialized'
  • BEADS_TEST_EMBEDDED_DOLT=1 go test ./cmd/bd -run 'TestEmbeddedInit/post_init_diagnostics_are_clean' -count=1

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.

2 participants