Skip to content

Add hub artifact storage#393

Merged
marccampbell merged 2 commits into
mainfrom
feat/hub-artifact-store
Jun 10, 2026
Merged

Add hub artifact storage#393
marccampbell merged 2 commits into
mainfrom
feat/hub-artifact-store

Conversation

@marccampbell

Copy link
Copy Markdown
Contributor

Summary

Implements #390 by adding a hub-owned artifact storage layer with OCI-style semantics and local/S3-compatible backends.

Changes

  • Add pkg/hub/artifact with content-addressed blobs, manifests, refs/tags, and digest verification.
  • Add ElasticClaw artifact media type constants for checkpoints and volumes.
  • Add local filesystem backend, defaulting under the hub data dir.
  • Add S3-compatible backend with bucket, region, endpoint, prefix, credentials, and path-style support.
  • Add artifact_storage hub config types.
  • Initialize one artifact store on hub startup for future checkpoint and volume features.

Verification

  • env GOCACHE=/private/tmp/elasticclaw-go-build go test ./pkg/hub/artifact ./pkg/hub
  • env GOCACHE=/private/tmp/elasticclaw-go-build go test ./...

Closes #390.

@greptile-apps

greptile-apps Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "Add hub artifact storage" | Re-trigger Greptile

Comment thread pkg/hub/artifact/s3.go
Comment thread pkg/hub/artifact/s3.go Outdated
@greptile-apps

greptile-apps Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Reviews (2): Last reviewed commit: "Address artifact storage review feedback" | Re-trigger Greptile

@marccampbell marccampbell merged commit bbfd744 into main Jun 10, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement hub artifact storage with OCI semantics and S3 backend

2 participants