fix(interactions): add queued to the Interaction status enum - #34135
Merged
yuneng-berri merged 2 commits intoJul 21, 2026
Merged
Conversation
Google added a queued value to Interaction.status in the live Interactions OpenAPI spec, so the compliance canary test_status_enum_values started failing on every open PR. The exact-match assertion is deliberate; it is how we find out the spec moved, so this adds the new value rather than loosening the check, and mirrors it into the generated Status enums so InteractionStatus stays truthful.
…itellm_/status-enum-values-test-042481
Contributor
Greptile SummaryThis PR adds the new
Confidence Score: 5/5This looks safe to merge.
|
| Filename | Overview |
|---|---|
| litellm/types/interactions/generated.py | Adds the queued wire value to both generated interaction status enums while preserving their existing member naming conventions |
| tests/test_litellm/interactions/test_openapi_compliance.py | Adds queued to the exact expected status list without weakening the compliance assertion |
Reviews (1): Last reviewed commit: "Merge remote-tracking branch 'origin/lit..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ryan-crabbe-berri
approved these changes
Jul 21, 2026
blackflame007
pushed a commit
to nolgiainc/litellm
that referenced
this pull request
Jul 26, 2026
…#34135) Google added a queued value to Interaction.status in the live Interactions OpenAPI spec, so the compliance canary test_status_enum_values started failing on every open PR. The exact-match assertion is deliberate; it is how we find out the spec moved, so this adds the new value rather than loosening the check, and mirrors it into the generated Status enums so InteractionStatus stays truthful. (cherry picked from commit fcd2360)
This was referenced Aug 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relevant issues
Linear ticket
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
@greptileaito re-request a review after pushing changes)Delays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
The user-facing surface here is Google's published spec, so the proof is a live fetch of it rather than an LLM call; no proxy request is involved in what broke
Before, at
212a9213c4(staging tip); the live spec already carries the new value, so the canary fails on every open PR:Google's own description for the new value, from the same fetch:
After, at
6c31aab6f2:Type
✅ Test
Changes
Google added a
queuedvalue toInteraction.statusin the live Interactions OpenAPI spec, whichtest_status_enum_valuesfetches at test time and asserts exact equality against, so the assertion started failing on every open PR in the repoThat exact-match assertion is deliberate; it is how we find out the spec moved. So this adds the new value to the expected list instead of loosening the check to a subset comparison, same as the previous spec drifts in #21943, #27432 and #30986
The
queuedvalue is also mirrored into the two generatedStatusenums that track the spec, one of which is exported asInteractionStatus. There is no runtime behavior change:InteractionsAPIResponse.statusis a plainOptional[str], so aqueuedstatus from Google already parsed fineFinal Attestation