Skip to content
quarry Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6515cc35f723089fbba161772af2a6ccbac8150c9d2fadfb66f7cd2a683fdd9a
Ticket: e77c25ca019758ded8d836a2cf1d12a9e6d24ce6
host release artifacts: upload and serve them from quarry
User & Date: dmestas on 2026-08-18 17:05:12
Changes

  1. comment changed to:
    Considered whether zit#90 (unversioned files: fossil's answer to large assets that sync but carry no history) should be implemented in quarry instead of zit, on the reasoning that quarry is the back office and handles what fossil uses SQLite for.
    
    It should not. Four reasons, in the order they decide it.
    
    1. RFC 0001's disposability test forbids it. 'Delete quarry's data directory, re-ingest every store, and the rendered output must be identical.' Unversioned file content is durable user data that is NOT derivable from a store, so it fails that test. Neither escape hatch applies: it is deliberately not in the zit DAG (that is the entire point of the tier), and routing it to S3 would make repository content depend on infrastructure a plain 'zit clone' does not have.
    
    2. Sync fronting deliberately does not interpret payload. RFC 0001 section 7: quarry is a buffering reverse proxy to a per-repo 'zit serve' child that 'decodes the request section 4.1 zlib container and inspects only the login/push cards; pull traffic and payload semantics pass through untouched.' The uvfile/uvigot/uvgimme cards ARE payload semantics. Holding uv here would force quarry to start interpreting exactly what it was designed to pass through.
    
    3. It would break killability. RFC 0001: 'the anti-lock-in guarantee is only credible if the forge is killable.' If uv lived in quarry, killing quarry would lose repository content, and a stock fossil 2.28 client syncing directly with zit serve would never see those files -- which is zit#90's own acceptance criterion.
    
    4. This RFC already decided it. Future possibilities records 'A quarry uv bridge once zit#58 resolves: release artifacts uploaded via the UI, stored per #58's decision, served from the download page.' That is the relationship stated outright: quarry consumes zit's unversioned files and presents them. The dependency runs one way.
    
    The split that follows: storage and sync of uv content is zit; upload and presentation is quarry. The release-artifact use case is the bridge already scoped above, and it is unblocked by zit#90 rather than replaced by it.
    
    One correction for whoever picks up that bridge: the Future possibilities note points at zit#58, which chose tolerate-and-report and is settled. The live issue is zit#90.
    
  2. status changed to: "open"
  3. title changed to: "unversioned files belong in zit, not quarry"
  4. type changed to: "design"