Skip to content

feat(cogs): report backend changes to a change stream - #595

Merged
matt-codecov merged 1 commit into
matth/storage-inventory-tracker-2from
matth/storage-inventory-tracker-3
Aug 26, 2026
Merged

feat(cogs): report backend changes to a change stream#595
matt-codecov merged 1 commit into
matth/storage-inventory-tracker-2from
matth/storage-inventory-tracker-3

Conversation

@matt-codecov

@matt-codecov matt-codecov commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Ref FS-210

In GCS and Bigtable Backend impls, use the ChangeStream impl to record write/update/delete events.

Other backends are left as a TODO for the moment: Ref FS-489

Currently Objectstore lacks the config plumbing needed to instantiate anything other than NoopStream. That will come in later PRs.

@matt-codecov
matt-codecov requested a review from a team as a code owner August 7, 2026 01:45
@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.19355% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.39%. Comparing base (5093b31) to head (985b88f).

Files with missing lines Patch % Lines
objectstore-service/src/backend/gcs.rs 98.34% 3 Missing ⚠️
Additional details and impacted files
@@                          Coverage Diff                          @@
##           matth/storage-inventory-tracker-2     #595      +/-   ##
=====================================================================
+ Coverage                              87.96%   88.39%   +0.43%     
=====================================================================
  Files                                    104      104              
  Lines                                  16785    17129     +344     
=====================================================================
+ Hits                                   14765    15142     +377     
+ Misses                                  2020     1987      -33     
Components Coverage Δ
Rust Backend 92.45% <99.19%> (+0.41%) ⬆️
Rust Client 81.97% <ø> (ø)
Python Client 93.38% <ø> (ø)

☔ 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.

@matt-codecov
matt-codecov force-pushed the matth/storage-inventory-tracker-3 branch from ab70a01 to 959eb00 Compare August 7, 2026 01:50
Comment thread objectstore-service/src/backend/gcs.rs
@matt-codecov
matt-codecov force-pushed the matth/storage-inventory-tracker-3 branch from 959eb00 to 6d8e991 Compare August 11, 2026 06:15
Comment thread objectstore-service/src/backend/gcs.rs Outdated
Comment thread objectstore-service/src/backend/bigtable.rs
@matt-codecov
matt-codecov force-pushed the matth/storage-inventory-tracker-3 branch from 6d8e991 to 28100c2 Compare August 11, 2026 21:34

@jan-auer jan-auer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Preliminary review

Comment thread objectstore-service/src/backend/bigtable.rs Outdated
Comment thread objectstore-service/src/backend/bigtable.rs Outdated
Comment thread objectstore-service/src/backend/gcs.rs Outdated
Comment thread objectstore-service/src/backend/gcs.rs Outdated
@matt-codecov
matt-codecov force-pushed the matth/storage-inventory-tracker-3 branch from 28100c2 to 836790e Compare August 15, 2026 03:32

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 836790e. Configure here.

Comment thread objectstore-service/src/backend/gcs.rs
Comment thread objectstore-service/src/backend/bigtable.rs
@linear-code

linear-code Bot commented Aug 17, 2026

Copy link
Copy Markdown

FS-210

FS-489

@matt-codecov
matt-codecov force-pushed the matth/storage-inventory-tracker-3 branch from 836790e to da74fdb Compare August 17, 2026 22:02
Comment thread objectstore-service/src/backend/gcs.rs
Comment thread objectstore-service/src/backend/bigtable.rs

@jan-auer jan-auer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Comment thread objectstore-service/src/backend/gcs.rs Outdated
Comment thread objectstore-service/src/backend/gcs.rs Outdated
Comment thread objectstore-service/src/backend/gcs.rs Outdated
Comment thread objectstore-service/src/backend/gcs.rs
@matt-codecov
matt-codecov force-pushed the matth/storage-inventory-tracker-3 branch from da74fdb to 985b88f Compare August 26, 2026 21:42
@matt-codecov
matt-codecov merged commit a6df1df into main Aug 26, 2026
26 checks passed
@matt-codecov
matt-codecov deleted the matth/storage-inventory-tracker-3 branch August 26, 2026 21:57
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.

2 participants