Commit Graph

4 Commits

Author SHA1 Message Date
claude-timemachine ce4dc53c1b archive: deprecated in favor of Timemachine/cloud-sync
CI / validate (push) Successful in 12s
CI / docker (push) Successful in 13s
Restic-rest-server already does everything this would have. See
ARCHIVED.md for the redirect.
2026-06-02 20:44:48 +02:00
claude-timemachine 2b7290626e server: extract tarball into blob store on snapshot upload
CI / validate (push) Successful in 13s
CI / docker (push) Successful in 14s
The deferred 'hardlink blobs from tarball' optimization from DESIGN.md
landed as 'just walk the tarball and write blobs separately' for v1.
GET /v1/blob/{sha} was 404'ing because the blob store was empty —
storage only had snapshots/<id>.tar.zst and a manifest.

Server now:
1. Parses uploaded multipart manifest + tarball
2. Walks the tar entries, computes each entry's sha256
3. Cross-checks against the manifest's declared sha (rejects 400 on mismatch)
4. Writes each blob to <user>/blobs/ via Storage.WriteBlob
5. Then stores the snapshot tarball + manifest as before

2 new tests cover: (a) POST then GET /v1/blob/{sha} round-trip,
(b) manifest-claims-different-sha-than-tarball rejection.

Discovered via e2e smoke against frazclient: pull 404'd on every blob
after a successful push. 33/33 tests pass.
2026-06-02 19:08:56 +02:00
claude-timemachine a73e254862 ci: pin go directive to 1.25 to match alpine builder base image
CI / validate (push) Successful in 13s
CI / docker (push) Successful in 14s
CI build of golang:1.25-alpine ships go 1.25.10; auto-generated
go.mod had 1.26.3 from local toolchain. Use 1.25 to match the other
automc services (auth-service, server-manager etc all on 1.25).
2026-06-02 18:58:38 +02:00
claude-timemachine 1752ef05a6 initial: Steam-Cloud-style per-user state sync skeleton
CI / validate (push) Successful in 26s
CI / docker (push) Failing after 8s
HTTP API + on-disk storage + auth-service token verification + dev mode.
31 tests pass, vet clean. See DESIGN.md for the architecture and
README.md for the operator surface.

Pending: pg-backed per-user quota override, snapshot retention / blob GC,
tarball-vs-manifest content cross-check, end-to-end deploy on john.
2026-06-02 18:52:25 +02:00