Repository navigation
contracts: sync the CLI contract to InferenceInfra #5602 - #222
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep wally main's control-plane pin in step with InferenceInfra's control-plane document so the consumer-impact check on InferenceInfra #5602 (feat/model-access-review) can pass. Produced by contracts/sync_from_inferenceinfra.py; the pin moves to aa1298ba (the #5602 head) and the generated binding gains five ApiErrorCode values: access_request_exists, access_request_closed, access_programme_closed, not_staff, invalid_transition. No version bump, no feature code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
OpenAPI contract declarations contracts/wally-cli-v1.openapi.json |
The schema adds five error-code values. The datacenters description and source metadata are updated. |
Rust error-code mappings src/account/console_contract.rs |
ApiErrorCode adds five variants and maps each to and from its snake-case string. The contract digest is updated. |
Priority:
Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Other
Possibly related PRs
- RunanywhereAI/wally#219: Adds the same five error codes in the related Shannon model-access flow.
Suggested reviewers: shubhammalhotra28
Merge Risk: 
Minimal · up to 2c24e
-
This is a synchronized contract-only change with no identified merge-blocking risk.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passedFull details: Docstring Coverage
-
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 1 files. (1 skipped: 1 unsupported.)
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
-
Finishing Touches: 💡 1
-
📝 Generate docstrings: 💡
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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 @coderabbitai help to get the list of available commands.
What changed
Contract sync only, produced by
python3 contracts/sync_from_inferenceinfra.py --from <InferenceInfra checkout at #5602 head>:contracts/wally-cli-v1.openapi.json: source pin moves to InferenceInfraaa1298ba(branchfeat/model-access-review);ApiErrorCodegainsaccess_request_exists,access_request_closed,access_programme_closed,not_staff,invalid_transition; onedatacentersdescription is reworded upstream.src/account/console_contract.rs: regenerated binding (newApiErrorCodevariants, newCONTRACT_SHA256).No version bump, no
versions.toml/Cargo changes, no feature code. Same shape as the equivalent sync commitb7a5b4donfeat/wally-shannon(#219): 2 files, +25/-5.Why
InferenceInfra #5602's "consumer contract impact" check reports that wally main's pin is stale against the control-plane document (
874aaee1b08b->4b98a4ca3c3e). Landing this keeps wally main's pin in step so that gate can pass.Validation
python3 contracts/sync_from_inferenceinfra.py --check: console_contract.rs and decisions_contract.rs match the pinned contract; lock OK (aa1298ba).python3 contracts/sync_from_inferenceinfra.py --check --from <#5602 checkout>: lock OK, no drift.cargo fmt --check: clean.cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DWALLY_APPLE_MLX_HOST=OFF -DWALLY_APPLE_CXX_BINARY=ON+cmake --build build+ctest --test-dir build: 6/6 passed (rust tests, help, account, decisions, local harness bins and e2e). Build ran with placeholder console URLs; the Swift MLX host was skipped (needs the SDK tree).🤖 Generated with Claude Code
Summary by CodeRabbit