feat: add system.checkpoints table to track DuckLake checkpoint history#345
Merged
fuziontech merged 4 commits intomainfrom Mar 24, 2026
Merged
feat: add system.checkpoints table to track DuckLake checkpoint history#345fuziontech merged 4 commits intomainfrom
fuziontech merged 4 commits intomainfrom
Conversation
Records each checkpoint run with started_at, finished_at, duration_ms, status (success/failed), and error message. Queryable via `SELECT * FROM system.checkpoints`. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- TestCheckpointerRunRecordsSuccess: verifies row insertion with correct column values (status, timestamps, duration) and accumulation across runs - TestCheckpointerRunRecordsFailure: verifies run() handles INSERT errors gracefully without panicking (read-only DB) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Without a readiness probe, `kubectl wait --for=condition=available` returns as soon as the container starts — before the control plane connects to the config store and runs AutoMigrate. This causes a race where the seed SQL runs before tables exist, failing with "relation duckgres_managed_warehouses does not exist". The /health endpoint on the admin port (9090) only becomes available after SetupMultiTenant completes (config store connected, tables migrated, admin server listening), making it an accurate readiness signal. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
system.checkpointsDuckLake table that records every checkpoint runstarted_at,finished_at,duration_ms,status(success/failed), anderror(NULL on success)Usage
Test plan
system.checkpointsafter checkpoint interval fires🤖 Generated with Claude Code