Delete legacy Rust client emitter + generate_rpc2_sdk toggle (#90 Phase 4) #102
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_rpc!102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-90-phase4-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes the #90 migration. With hero_service (PR #5) + hero_logic (PR #47) on hero_rpc2 and the two no-op services confirmed (hero_compute, hero_db never used OServer), the legacy Rust client codegen has zero live consumers.
Deleted
crates/generator/src/generate/rust_rpc.rs— legacyosis_client_generated.rsper-domain emitter.crates/generator/src/rust/rust_client.rs— the actual client codegen body it called.Generator::client()/client_only()/client_types_crate()+ thegenerate_client/client_flat/client_external_typesfields they set..all()no longer turns on client emission.OschemaBuildConfig::generate_rpc2_sdkfield +with_hero_rpc2_sdk()/without_hero_rpc2_sdk()builder methods — the rpc2 trait SDK is now the only Rust client path.Verification
cargo build --workspaceclean.cargo test --workspace --lib --bins: 128 generator + 6 hero_rpc2 + 79 oschema + 66 osis tests all passing.cargo test -p hero_rpc2 --features uds-http,discover --tests: 27 passing (includeshttp_well_known+from_valueround-trip).cargo test -p hero_rpc_osis --features rpc rpc2_adapter: 8 passing.example/recipe_serverregenerates clean; only diff vs prior output is a socket-path catch-up (hero_recipes_server/rpc.sock→hero_recipes/rpc.sock), matching the canonical hero_sockets shape the service.toml was already declaring — improvement, not regression.NOT addressed (pre-existing dev-tip bit-rot)
crates/osis/examples/basic/examples reference removed APIs (Generatorimport,DBTyped::new_with_index,reqwest). Broken ondevelopmentbefore this PR — separate cleanup.crates/derive/tests/sse_proxy.rsmissingherolib_corecrate dep. Same vintage.04c423817b12f9c4c5a4