Move GenericStringModel to warp_server_client.#11117
Conversation
7722c37 to
fb75c88
Compare
0b75331 to
a4c4a9f
Compare
a4c4a9f to
cd81967
Compare
fb75c88 to
8de3209
Compare
cd81967 to
6c5185b
Compare
8de3209 to
30262f4
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 moves the portable GenericStringModel and Serializer scaffolding into warp_server_client, re-exports it for app-local cloud object code, and keeps concrete app behavior in warp. The added serializer-provided object-format hook preserves the generic ServerObjectModel implementation without pulling app traits upstream.
Concerns
- No blocking concerns found.
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
30262f4 to
dbe2413
Compare
56de057 to
840dafb
Compare
1f9d920 to
f876c67
Compare
840dafb to
211b3f2
Compare
211b3f2 to
aaf4b43
Compare
f876c67 to
eb76b2c
Compare
aaf4b43 to
afc2903
Compare
eb76b2c to
9dffd19
Compare
afc2903 to
a76823c
Compare
9dffd19 to
b21aa34
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 moves the portable GenericStringModel and Serializer scaffolding into warp_server_client, re-exports them back through the app module, and keeps the app-specific cloud object behavior in warp. The new serializer-provided object-format hook preserves the existing generic string object type mapping for JSON-backed models.
Concerns
- No blocking correctness, spec-alignment, or security concerns found in the annotated diff.
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

Description
Moves the portable generic-string scaffolding into
warp_server_clientas the next conservative step in the cloud-object extraction stack. Now thatGenericCloudObjectlives upstream,GenericStringModel,Serializer, and their portable helpers can move with it without pulling concrete model behavior out of the app crate.This intentionally keeps the app-local pieces in
warp:StringModel,CloudStringObject,CloudModelType,ModelEvent,QueueItem,ObjectClientdispatch, Drive rendering, and concrete model types. The only additional upstream hook is serializer-provided object-format metadata, which letswarp_server_clientown the genericServerObjectModelimplementation without depending on app traits.Testing
cargo fmt --manifest-path /Users/david/src/warp/Cargo.toml --allcargo check --manifest-path /Users/david/src/warp/Cargo.toml -p warp_server_clientcargo check --manifest-path /Users/david/src/warp/Cargo.toml -p warpgit -C /Users/david/src/warp --no-pager diff --checkCo-Authored-By: Oz oz-agent@warp.dev