Repository navigation
feat(zarr): queue-driven Hallu cron (SQLite engine) - #692
Merged
Merged
Conversation
Handles a long backfill + bursts of due datasets nicely: a per-dataset manifest (version + converted_utc) lets the cron skip datasets already at their latest published version (no re-download), so progress is steady across hourly runs and resumable after a kill. The flock keeps a long run draining across ticks; --limit paces a single run; per-dataset rm -rf bounds disk to one dataset at a time. --force ignores the manifest.
Replaces the JSON-manifest skip with the persistent zarr_queue.py engine (.github PR #23): each run reconciles (enqueue pending + recover stale inprogress) then drains (claim -> download -> convert -> push -> rm -rf -> done/fail-with-backoff) until empty or --limit. AWS_PROFILE=nemar-zarr. --stats prints queue status. Crash-safe + resumable across restarts/ticks.
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR692Version: 🤖 Updated on each push. |
Clone metadata only then let the driver stream each recording's annex blob from S3 objects/ just-in-time (the CI's non-local path), instead of downloading the whole 18 GB upfront via --local. Starts converting immediately, never holds the full dataset, ~40% faster. IAM profile gains s3:GetObject on objects/.
This branch was previously deployed
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.
Makes the Hallu zarr cron drain a queue gracefully (a full backfill is long, and bursts of due datasets can exceed an hour): a per-dataset manifest (
{version, converted_utc}) lets it skip datasets already at their latest published version (no re-download), so progress is steady across hourly runs and resumable after a kill. The flock keeps a long run draining across ticks;--limitpaces a single run; per-datasetrm -rfbounds disk to one dataset at a time.--forceignores the manifest. Part of #684.