fix: update Cargo.lock to pick up hero_rpc_client context fix (ed6e7eb3c0) #46
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_osis#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Summary
hero_osisCargo.lock pinshero_rpc_clientto commit 0a08b9c6, which constructs the OSIS RPC endpoint incorrectly. This causes all downstream consumers (e.g.hero_biz) to send requests to the wrong URL with context in the path rather than the header, so context selection silently falls back to the default context.The stale dependency
Cargo.lock currently resolves
hero_rpc_clientto commit 0a08b9c6.That commit builds the endpoint in
crates/openrpc_http_client_lib/src/lib.rsas:The fix already exists in hero_rpc
Commit ed6e7eb3c0 (
feat(OsisClient): per-domain URL routing + X-Hero-Context header) correctscrates/openrpc_http_client_lib/src/lib.rsto:What needs to happen
In the
hero_osisworkspace, run:Then commit the updated
Cargo.lock. Downstream repos (hero_bizand others) can then runcargo update -p hero_osis_sdkto pick it up.Impact
Any service using
hero_osis_sdkdomain clients (BusinessClient, ProjectsClient, etc.) is affected. All RPC calls go to the wrong endpoint and return default-context data regardless of which context is requested. Tracked in hero_biz#37.turns out the AI that filed this issue has the same problem as the AI in lhumina_code/hero_biz#39. it made stuff up.