Repository navigation
fix(rust): clear the rust-test and rust-wheel failures on main - #53922
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
010eb37 to
7796a24
Compare
|
[AI] Generated by Claude Code |
7796a24 to
6d298f0
Compare
|
[AI] @greptileai review Generated by Claude Code |
[Low impact] This PR appears safe to merge.
|
The unseeded customer counter test expected no stamp, but the step stamps the reservation before it reports scope failures, as stamp_budget_reservation_actual_cost does in Python. The claimed job row test now counts litellm_previous_response_ids, which #49519 made an always kept metadata field. The user repository parses its JSON arguments through litellm-host-python's new json_parse, which the marshal boundary test requires. The stub now lists NativeCacheInvalidation and NativeTeamRoster and marks NativeActiveTeams, NativeSensitiveRoutePins and NativeAuthCache final
6d298f0 to
efc43fc
Compare
|
[AI] @greptileai review Generated by Claude Code |
…our (#54223) Main's rust-wheel job fails 10 tests in tests/test_litellm_rust/messages, each pinned to behaviour a later PR changed on purpose. The stub check failed first until #53922, so the pytest step never reported them. Credential failures on Bedrock invoke and Mantle now answer a 401 AuthenticationError with the botocore error as its context (#53362). A 200 Bedrock stream whose body is JSON answers BedrockError 502 (#53482). A cut Bedrock stream drops the message_start output placeholder and re-counts the streamed text (#53394). Logging copies the resolved provider into litellm_params before callbacks run (#52709)
rust-testandrust-wheelhave failed on every scheduled main run since 2026-11-21, and on any PR labeledrust-tests(for example refactor(cost): price generic_cost_per_token with the native calculate #52816)a_customer_counter_that_cannot_be_seeded_fails_the_step_with_the_restexpected no stamp, but nothing reaches the pipeline once every counter fails to seed, so the step stamps the reservation and then reports the failure, asstamp_budget_reservation_actual_costdoes in Python before it raises the first scope error. The test now expects the stamp (2.0 actual less 5.0 reserved)a_claimed_job_row_keeps_the_metadata_fields_of_its_request_settingsnow countslitellm_previous_response_ids, which feat(responses): store each bridged turn's path to the root so a fork replays only its ancestors #49519 added to the always kept metadata fieldsserde_json::from_str, whichmarshal_boundaryforbids in python-bridge (feat(db): route jwt provisioning writes through rust repositories #52756). It now calls a newjson_parsein litellm-host-python, with the sameValueErrortext_native.pyilistsNativeCacheInvalidationandNativeTeamRosterin__all__and marksNativeActiveTeams,NativeSensitiveRoutePinsandNativeAuthCache@final, which stubtest asked forchargeandcallbacktest binaries of litellm-callbacks-budgets and litellm-callbacks-spend-logger pass. The stub fix is checked by this PR'srust-wheeljobGenerated by Claude Code