Repository navigation
refactor(proxy-extras): drop the spend-log api_key special case from the row check remedy - #48636
Merged
Merged
Conversation
…the row check remedy Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
yuneng-berri
approved these changes
Oct 27, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
kerry-berri
enabled auto-merge (squash)
October 27, 2026 20:11
kerry-berri
disabled auto-merge
October 27, 2026 20:37
…a_checks_generic_remedy
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.
Summary
Removes the one table-specific remedy from the pre-migration row check (#48493).
_remedyinmigration_data_checks.pyprinted a hashUPDATEfor atoo_longfinding onLiteLLM_SpendLogs.api_key; every other finding got a generic sentence for its kind. The special case made the report noisy and put a data rewrite in the code path, so it goes, and atoo_longfinding now always printsShorten or hash the long "<table>" (<columns>) values so every row's index entry fits.The row-level fix for pre-v1.99.0 raw keys lives in the docs (litellm-docs troubleshooting section 6) insteadTests: the unit report test asserts the generic line; the integration migration-job test, which took its hash SQL out of the refusal text, now holds that SQL as a constant and still proves the job refuses on the legacy rows and succeeds after the hash. 28 unit and the 3 touched integration tests pass locally
No behavior change for anything except the text of that one remedy line. Companion docs PR removes the UPDATE from the report examples
Link to Devin session: https://app.devin.ai/sessions/14b2bd229edf4b11a3220d90993f6708
Open in Devin Desktop: https://app.devin.ai/desktop/session/14b2bd229edf4b11a3220d90993f6708?variant=devin
Requested by: @kerry-berri