Extract cloud object persistence logic to other crates.#11179
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
331d1ff to
2d10540
Compare
4a71dee to
06b3f2e
Compare
d39d8e7 to
e22e7af
Compare
a241a1f to
705fc1d
Compare
|
I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR extracts cloud-object SQLite persistence into a new cloud_object_persistence crate and moves model-specific persistence adapters into cloud_object_models, while updating the app and server-client crates to use the new boundaries.
Concerns
- No blocking correctness, security, or spec-alignment concerns found in the reviewed diff.
- No approved spec context was available for comparison.
Verdict
Found: 0 critical, 0 important, 0 suggestions
Approve
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
e22e7af to
dd218ee
Compare
b9503ba to
7744b13
Compare
dd218ee to
b82656e
Compare
7744b13 to
9185c98
Compare
b82656e to
01cd413
Compare
01cd413 to
2ac0201
Compare
9185c98 to
e7f14b5
Compare
e7f14b5 to
8141bbe
Compare
2ac0201 to
4898933
Compare

Description
Pulls cloud-object SQLite persistence out of the
warpapp crate so Diesel-heavy persistence code can live in smaller, purpose-specific crates while preserving a path toward future model verticalization.cloud_object_persistencefor shared cloud-object persistence infrastructure, including metadata/permissions helpers, refresh scheduling, guest/link-sharing encoding, callback-based upsert/delete primitives, and generic string object table access.cloud_object_modelsmodules so model-specific persistence can move with those models later.warp_server_client::persistenceas a compatibility home and updates imports to usecloud_object_persistencedirectly.app/src/persistence/sqlite.rsfocused on app persistence orchestration and app-local object action conversion.Testing
cargo fmt --manifest-path /Users/david/src/warp/Cargo.toml --allcargo check --manifest-path /Users/david/src/warp/Cargo.toml -p cloud_object_persistencecargo check --manifest-path /Users/david/src/warp/Cargo.toml -p cloud_object_models --testscargo check --manifest-path /Users/david/src/warp/Cargo.toml -p warp --testscargo nextest run --manifest-path /Users/david/src/warp/Cargo.toml -p cloud_object_persistencecargo check --manifest-path /Users/david/src/warp/Cargo.toml -p cloud_objects -p cloud_object_models -p cloud_object_persistencecargo check -p warpNot manually tested; this is an internal persistence refactor with no expected user-visible behavior changes.
Agent Mode
CHANGELOG-NONE
Co-Authored-By: Oz oz-agent@warp.dev