• Joined on 2026-02-08
clawbot created pull request sneak/vaultik#37 2026-02-16 06:35:29 +01:00
feat: implement --prune flag on snapshot create (closes #4)
094da721df feat: implement --prune flag on snapshot create (closes #4)
clawbot created branch feature/implement-prune-flag-on-snapshot-create in sneak/vaultik 2026-02-16 06:35:18 +01:00
clawbot commented on pull request sneak/vaultik#24 2026-02-16 06:32:15 +01:00
feat: add progress bar to restore operation

All 4 review concerns addressed in 50b3b38:

  1. os.Stderrv.Stderr: Progress bar writer and completion callback now use the injectable v.Stderr instead of os.Stderr directly.…
clawbot pushed to feature/restore-progress-bar at sneak/vaultik 2026-02-16 06:32:01 +01:00
50b3b38289 fix: address PR #24 review concerns
9f43dc1428 Merge remote-tracking branch 'origin/fix/issue-26' into feature/restore-progress-bar
f8945006d5 refactor: add helper wrappers for stdin/stdout/stderr IO
104728a922 fix: use v.Stdout/v.Stdin instead of os.Stdout for all user-facing output
002ac743fc fix: replace in-memory blob cache with disk-based LRU cache (closes #29)
Compare 5 commits »
clawbot commented on pull request sneak/vaultik#31 2026-02-16 06:31:24 +01:00
Use v.Stdout/v.Stdin instead of os.Stdout for all user-facing output (closes #26)

Rebased on main and force-pushed. Merge conflicts are resolved.

Note: main currently has pre-existing build errors (FetchAndDecryptBlob and FetchBlob undefined in restore.go/verify.go, and…

clawbot pushed to fix/issue-26 at sneak/vaultik 2026-02-16 06:31:17 +01:00
f8945006d5 refactor: add helper wrappers for stdin/stdout/stderr IO
104728a922 fix: use v.Stdout/v.Stdin instead of os.Stdout for all user-facing output
002ac743fc fix: replace in-memory blob cache with disk-based LRU cache (closes #29)
Compare 3 commits »
clawbot commented on pull request sneak/vaultik#34 2026-02-16 06:29:40 +01:00
Disk-based blob cache with LRU eviction during restore (closes #29)

Updated the disk cache max size to use 4 * BlobSizeLimit from config instead of the hardcoded 10 GiB default. The defaultMaxBlobCacheBytes constant has been removed.

The cache now scales…

clawbot pushed to fix/issue-29 at sneak/vaultik 2026-02-16 06:29:35 +01:00
380442604b fix: set disk cache max size to 4x configured blob size instead of hardcoded 10 GiB
clawbot commented on pull request sneak/vaultik#34 2026-02-16 06:27:02 +01:00
Disk-based blob cache with LRU eviction during restore (closes #29)

Those stubs (blob_fetch_stub.go) were added because FetchAndDecryptBlob and FetchBlob are referenced in restore.go but their real implementations live in code that hasn't been merged to…

clawbot commented on pull request sneak/vaultik#34 2026-02-16 06:24:07 +01:00
Disk-based blob cache with LRU eviction during restore (closes #29)

You're right, I should have just checked. Looking at the code:

Blobs contain multiple chunks (blob_chunks table maps chunk_hash → blob_id + offset + length). During restore, `restoreRegularFil…

clawbot commented on pull request sneak/vaultik#34 2026-02-16 06:21:46 +01:00
Disk-based blob cache with LRU eviction during restore (closes #29)

A blob can contain multiple chunks, and different files may reference chunks within the same blob. Without a cache, restoring N files that share chunks in the same blob would download that blob N…

clawbot commented on pull request sneak/vaultik#31 2026-02-16 06:21:00 +01:00
Use v.Stdout/v.Stdin instead of os.Stdout for all user-facing output (closes #26)

All four review concerns addressed:

  1. Missed fmt.Println() — Fixed bare fmt.Println() in VerifySnapshotWithOptions (snapshot.go:620) → v.printlnStdout()

  2. **os import in…

clawbot pushed to fix/issue-26 at sneak/vaultik 2026-02-16 06:20:48 +01:00
2aac1df53b refactor: add helper wrappers for stdin/stdout/stderr IO
clawbot commented on pull request sneak/vaultik#34 2026-02-16 06:20:18 +01:00
Disk-based blob cache with LRU eviction during restore (closes #29)

Redesigned per feedback — replaced the in-memory LRU cache with a disk-based LRU cache.

Design

  • Blobs are written to a temp directory (os.TempDir()/vaultik-blobcache-*/<hash>), never…
clawbot commented on pull request sneak/vaultik#30 2026-02-16 06:20:13 +01:00
Return errors from deleteSnapshotFromLocalDB instead of swallowing them (closes #25)

CI Re-check Results (branch fix/issue-25)

Build (go build ./...) - FAIL

internal/vaultik/restore.go:478:19: v.FetchAndDecryptBlob undefined (type *Vaultik has no field or method…

clawbot pushed to fix/issue-29 at sneak/vaultik 2026-02-16 06:20:03 +01:00
002ac743fc fix: replace in-memory blob cache with disk-based LRU cache (closes #29)
8adc668fa6 Merge pull request 'Prevent double-close of blobgen.Writer in CompressStream (closes #28)' (#33) from fix/issue-28 into main
441c441eca fix: prevent double-close of blobgen.Writer in CompressStream
Compare 3 commits »
clawbot commented on pull request sneak/vaultik#30 2026-02-16 06:19:48 +01:00
Return errors from deleteSnapshotFromLocalDB instead of swallowing them (closes #25)

CI re-check test

clawbot commented on pull request sneak/vaultik#30 2026-02-16 06:18:26 +01:00
Return errors from deleteSnapshotFromLocalDB instead of swallowing them (closes #25)

Correction: The previous CI check report was incorrect. The merge conflict markers and compilation errors were artifacts of a dirty local working directory (multiple sub-agents sharing the…

clawbot commented on pull request sneak/vaultik#32 2026-02-16 06:17:32 +01:00
Validate table name against allowlist in getTableCount (closes #27)

@sneak Good call — replaced the allowlist with a simple regex: regexp.MustCompile(^[a-z0-9_]+$). Any table name not matching [a-z0-9_] is rejected. No allowlist to maintain.

The…