8000 [BUG] Clear default DuckDB data on full reset by eddiethedean · Pull Request #71 · dmux/minilake · GitHub
[go: up one dir, main page]

Skip to content

[BUG] Clear default DuckDB data on full reset - #71

Merged
dmux merged 3 commits into
dmux:mainfrom
eddiethedean:fix/full-reset-default-database-39
Oct 28, 2026
Merged

dmux merged 3 commits into
dmux:mainfrom
eddiethedean:fix/full-reset-default-database-39

Conversation

@eddiethedean
Copy link
Copy Markdown
Collaborator

Summary

  • Clear the shared unity_catalog.duckdb database and its WAL during full=true resets, after service reset hooks detach catalog connections.
  • Preserve the shared database during ordinary resets.
  • Add regressions covering ordinary-reset persistence and full-reset removal both immediately and after a server restart.

Fixes #39.

Validation

  • docker compose -f docker-compose.test.yml run --rm test-runner pytest tests/test_admin.py tests/test_persistence.py -v --tb=short — 7 passed.
  • Ruff lint and formatting checks passed for all changed files.

@eddiethedean
Copy link
Copy Markdown
Collaborator Author

Ready to merge.

Reviewed the full PR at eb1b5a0 with no high or critical findings. All CI checks passed: lint, UI, and tests. The 7 admin/persistence tests passed, and additional Docker checks verified repeated full resets, catalog recreation, SQL reuse, and Delta extension reload.

@dmux dmux self-assigned this Oct 28, 2026
@dmux dmux added the bug Something isn't working label Oct 28, 2026
@dmux
dmux merged commit 13c3080 into dmux:main Oct 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Full reset leaves tables and data in the default DuckDB database

2 participants

0