Skip to content

feat(cas): ObjectRegistry trait + HighVolumeBackend adapter - #818

Draft
matt-codecov wants to merge 4 commits into
mainfrom
matt/cas-protocol-adapter
Draft

matt-codecov wants to merge 4 commits into
mainfrom
matt/cas-protocol-adapter

Conversation

@matt-codecov

Copy link
Copy Markdown
Contributor
  • creates the interface proposed in m3
  • writes a shim into HighVolumeBackend

if we move TieredStorage to this interface, new backends can implement the fixed protocol from the beginning and we can decouple it from fixing our production bigtable backend

@github-actions

Copy link
Copy Markdown

Changelog Preview

This PR lands in these workspaces:

  • objectstore-server: CalVer
📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features

  • ObjectRegistry trait + HighVolumeBackend adapter by matt-codecov in #818

🤖 This preview updates automatically when you update the PR.

@codecov

codecov Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.75%. Comparing base (5bd54c2) to head (c3c9531).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #818      +/-   ##
==========================================
+ Coverage   91.72%   91.75%   +0.02%     
==========================================
  Files         122       12     -110     
  Lines       24679     1031   -23648     
==========================================
- Hits        22638      946   -21692     
+ Misses       2041       85    -1956     
Components Coverage Δ
Rust Backend ∅ <ø> (∅)
Rust Client ∅ <ø> (∅)
Python Client 91.75% <ø> (ø)

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lcian
lcian self-requested a review November 23, 2026 09:35
@matt-codecov
matt-codecov force-pushed the matt/cas-protocol-adapter branch from fa1506a to 371b6d3 Compare November 26, 2026 05:00
@matt-codecov
matt-codecov force-pushed the matt/cas-protocol-adapter branch from 371b6d3 to c3c9531 Compare December 3, 2026 18:29
async fn compare_and_write(
&self,
key: &RegistryKey,
observed: &RegistryMeta,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possibly just put the key in the meta

/// Used in responses to HTTP range reads.
pub range: Option<ContentRange>,
/// A stream of object data from an object inlined in a registry entry.
pub payload: PayloadStream,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider just using Bytes

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.

1 participant