-
Notifications
You must be signed in to change notification settings - Fork 672
fix: Make planner VirtualConnectorClient also use v1/ prefix. #3468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Graham King <[email protected]>
WalkthroughThe KvCache::new API removed its version parameter. Callers now supply a fully formed prefix. Planner root keys are updated to include a leading "v1/" segment. Planner async initialization now passes the computed prefix directly to KvCache. Etcd transport uses the provided prefix as-is for key listing and storage. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Caller as Python Binding
participant Planner as Planner (Rust)
participant Kv as KvCache
participant Etcd as Etcd Client
Caller->>Planner: async_init(namespace)
Note over Planner: Build prefix with v1/namespace/planner/
Planner->>Kv: new(client, prefix, initial_values)
Note right of Kv: Uses prefix as-is (no version composition)
Kv->>Etcd: list(prefix)
Etcd-->>Kv: existing keys
Kv-->>Planner: cache ready
Planner-->>Caller: init complete
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🧬 Code graph analysis (1)lib/bindings/python/rust/planner.rs (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (13)
🔇 Additional comments (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: Graham King <[email protected]> Signed-off-by: Piotr Tarasiewicz <[email protected]>
Signed-off-by: Graham King <[email protected]>
Codex caught the bug! Thanks @paulhendricks for doing a review with it.
Follow-up to #3458 .
Summary by CodeRabbit