Skip to content

Move GenericStringModel to warp_server_client.#11117

Open
vorporeal wants to merge 1 commit into
masterfrom
david/move-GenericStringModel-to-warp_server_client
Open

Move GenericStringModel to warp_server_client.#11117
vorporeal wants to merge 1 commit into
masterfrom
david/move-GenericStringModel-to-warp_server_client

Conversation

@vorporeal
Copy link
Copy Markdown
Contributor

@vorporeal vorporeal commented May 16, 2026

Description

Moves the portable generic-string scaffolding into warp_server_client as the next conservative step in the cloud-object extraction stack. Now that GenericCloudObject lives 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, ObjectClient dispatch, Drive rendering, and concrete model types. The only additional upstream hook is serializer-provided object-format metadata, which lets warp_server_client own the generic ServerObjectModel implementation without depending on app traits.

Testing

  • cargo fmt --manifest-path /Users/david/src/warp/Cargo.toml --all
  • cargo check --manifest-path /Users/david/src/warp/Cargo.toml -p warp_server_client
  • cargo check --manifest-path /Users/david/src/warp/Cargo.toml -p warp
  • git -C /Users/david/src/warp --no-pager diff --check

Co-Authored-By: Oz oz-agent@warp.dev

@cla-bot cla-bot Bot added the cla-signed label May 16, 2026
@vorporeal vorporeal force-pushed the david/move-GenericStringModel-to-warp_server_client branch from 7722c37 to fb75c88 Compare May 18, 2026 01:30
@vorporeal vorporeal force-pushed the david/move-GenericCloudObject-to-warp_server_client branch from 0b75331 to a4c4a9f Compare May 18, 2026 01:30
@vorporeal vorporeal force-pushed the david/move-GenericCloudObject-to-warp_server_client branch from a4c4a9f to cd81967 Compare May 18, 2026 14:52
@vorporeal vorporeal force-pushed the david/move-GenericStringModel-to-warp_server_client branch from fb75c88 to 8de3209 Compare May 18, 2026 14:53
@vorporeal vorporeal force-pushed the david/move-GenericCloudObject-to-warp_server_client branch from cd81967 to 6c5185b Compare May 19, 2026 18:43
@vorporeal vorporeal force-pushed the david/move-GenericStringModel-to-warp_server_client branch from 8de3209 to 30262f4 Compare May 19, 2026 18:43
@vorporeal vorporeal marked this pull request as ready for review May 20, 2026 15:26
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 20, 2026

@vorporeal

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 /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@vorporeal vorporeal requested a review from bnavetta May 20, 2026 15:29
Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

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

@vorporeal vorporeal force-pushed the david/move-GenericStringModel-to-warp_server_client branch from 30262f4 to dbe2413 Compare May 20, 2026 15:56
@vorporeal vorporeal force-pushed the david/move-GenericCloudObject-to-warp_server_client branch 2 times, most recently from 56de057 to 840dafb Compare May 21, 2026 14:59
@vorporeal vorporeal force-pushed the david/move-GenericStringModel-to-warp_server_client branch 2 times, most recently from 1f9d920 to f876c67 Compare May 21, 2026 16:47
@vorporeal vorporeal force-pushed the david/move-GenericCloudObject-to-warp_server_client branch from 840dafb to 211b3f2 Compare May 21, 2026 16:47
@vorporeal vorporeal force-pushed the david/move-GenericCloudObject-to-warp_server_client branch from 211b3f2 to aaf4b43 Compare May 22, 2026 18:51
@vorporeal vorporeal force-pushed the david/move-GenericStringModel-to-warp_server_client branch from f876c67 to eb76b2c Compare May 22, 2026 18:51
@vorporeal vorporeal force-pushed the david/move-GenericCloudObject-to-warp_server_client branch from aaf4b43 to afc2903 Compare May 22, 2026 18:53
@vorporeal vorporeal force-pushed the david/move-GenericStringModel-to-warp_server_client branch from eb76b2c to 9dffd19 Compare May 22, 2026 18:53
@vorporeal vorporeal changed the base branch from david/move-GenericCloudObject-to-warp_server_client to graphite-base/11117 May 22, 2026 20:04
@vorporeal vorporeal force-pushed the graphite-base/11117 branch from afc2903 to a76823c Compare May 22, 2026 20:27
@vorporeal vorporeal force-pushed the david/move-GenericStringModel-to-warp_server_client branch from 9dffd19 to b21aa34 Compare May 22, 2026 20:27
@vorporeal vorporeal changed the base branch from graphite-base/11117 to master May 22, 2026 20:27
@vorporeal vorporeal closed this May 22, 2026
@vorporeal vorporeal reopened this May 22, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 22, 2026

@vorporeal

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 /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant