You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The decdn publisher CLI transitively links the entire cache crate (iroh-blobs, AWS S3 SDK, reqwest, async-compression), directly defeating the documented binary-split goal.
Detail
Documented dependency flow is cli → common, protocol, and crates/cli/Cargo.toml:18-20 cites appendix-binaries.md: "keeps iroh-blobs out of the publisher CLI's dep tree." But:
consumed at crates/common/src/config/types.rs:159, resolved.rs:87-127, admin.rs:24 (reusing RetryPolicy, DecompressMode, OriginUrl/OriginKind, Hash, PinnedHashes in the config schema)
Since cli → common → cache, decdn statically links the heavy storage/network stack. crates/common/src/admin.rs:18 acknowledges the coupling as already-existing rather than questioning it.
Suggested fix
Extract the config-vocabulary types the schema needs (RetryPolicy, DecompressMode, OriginUrl/OriginKind, a Hash newtype) into decdn-protocol (the true leaf) or a new tiny decdn-config-types leaf crate; have decdn-cache re-export them. Then common depends only on the leaf and cli no longer pulls iroh-blobs/AWS SDK.
If the coupling is intentional, amend appendix-binaries.md / architecture.md to drop the binary-size claim so docs and code stop contradicting.
Activity
refactor(crates): extract decdn-config-types leaf crate (#578) (#586)
docs(adr): rename StablePaymentChannel -> PaymentChannel; strip pre-e…
fix(docs): align README crate-structure block with workspace (closes #…
refactor(node): extract cdn/client/v1 requester into decdn-client-pul…
refactor(node): extract cdn/client/v1 requester into decdn-client-pul…
feat(cli): standalone client fetch (decdn fetch) + config-sourced rel…
refactor(client-pull): promote discovery/probe/endpoint/provider to p…
feat(protocol): bao verified-range streaming on cdn/client/v1 (#915)
feat(protocol): bao verified-range streaming on cdn/client/v1 (#915) (#…
fix(node,common): bound every sink-internal chain read (#1228) (#1233)
feat(bao-range,cache): add RangedStore trait + node backend (P1 of #1621
feat(client-pull): add ClientRangedStore — client RangedStore backend…
feat(client-pull,cache,node): node serve-miss pull-leg foundation (B2…
feat(cli,bao-range): decdn origin import — seed a cache origin (shard…
ci: enforce the versioning invariants the manifests only documented (#…