registry: store the index and archives through the s3: driver #242
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
tools/registrystores throughStorage.registry([FileStorage()])andREGISTRY_STORAGEnames afile:URI. RELEASE.md section 7.11 says the write service moves tos3:when the registry outgrows one disk, "so moving the files is a change of configuration". This issue is the registry's half of #20, split off so that each lands as one PR.Goal
REGISTRY_STORAGE=s3://bucket/prefixmakestools/registryread and write its index and archives through thes3:driver of thetorb/s3package (#20);file:stays the default and behaves as before.Acceptance criteria
tools/registry/project.trbdepends ontorb/s3;main.trbbuildsStorage.registry([FileStorage(), S3Storage.of(...)])tools/registry/README.mdandtools/deploy/compose.example.yml; credentials are never logged and the startup line shows the storage URI without thems3:driver against the in-process S3 double oftorb/s3's test kit; the same assertions as the existingfile:runREGISTRY_STORAGEwhose scheme no driver answers fails at startup with the registry's "the registry knows ..." messagedocs/design/RELEASE.mdsection 7.11 anddocs/design/URI.mdslice 12 says3:is wiredThe loop never touches a real bucket or credentials; the tests run against recorded responses only.
Seed impact
None: no syntax, native, driver flag or looked-up std name changes.
Dependencies
torb/s3published to the registry, or asource "torb/s3", path:line for development, whichtorb publishrefuses and the registry image build must not use)Source
s3:driver as a package of its own #20s3:driver as a package of its own #20s3:driver as a package of its own #20[loop:torbscript] intake: in scope (author orion, label loop), source RELEASE.md section 7.11, not a duplicate. Registry storage through the s3: driver instead of file:. next: waiting (refine queued, ready buffer full) until 2026-10-10T04:00:00Z
[loop:torbscript] claim refine by session:loop-torbscript-20261027 until 2026-10-27T02:00Z
[loop:torbscript] refine: the body already meets the definition of ready (goal, testable acceptance criteria against the in-process S3 double, RELEASE.md 7.11 and URI.md slice 12, no seed impact, one PR). Not set
ready: it depends on #20 (torb/s3), which is still open and has not landed (no s3 package or PR merged), so the wiring has nothing to build against, next: waiting (dependency #20, and #78 behind it). Worker usage: about 25k tokens (sonnet).