Skip to content

fix(lint): clear the code-quality failures on main - #53237

Merged
narmstrong-berri merged 1 commit into
mainfrom
nate_fix_main_code_quality_lint
Nov 21, 2026
Merged

narmstrong-berri merged 1 commit into
mainfrom
nate_fix_main_code_quality_lint

Conversation

@narmstrong-berri

@narmstrong-berri narmstrong-berri commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Nate · project thread

Handwritten 1-3 sentence description

Fix code quality failures on main

Details

TLDR

Problem this solves:

  • The lint workflow's code-quality job has failed on every main push since 63b7c33 (2026-11-20 19:51 UTC)
  • Each failing step hides the ones after it, so four new breaks piled up behind it

How it solves it:

Screenshots / Proof of Fix

E2E exception at dd2ea51: lint and test only change, no product behaviour changes. Each check run locally on this branch exits 0, and each fails on main at 30a377e:

uv run --no-sync python tests/code_coverage_tests/recursive_detector.py                  rc=0
uv run --no-sync python tests/code_coverage_tests/ban_copy_deepcopy_kwargs.py            rc=0
uv run --no-sync python tests/code_coverage_tests/check_no_publicly_known_master_key.py  rc=0

The Rust test in tests/charge.rs pins the hashed counter name, so its expected SHA-256 is updated to sha256("sk-raw-key"). CI runs the crate tests and the touched unit tests.

Type

🚄 Infrastructure
✅ Test

Caveats (if any)

Low

  • documentation_test_env_keys stays red until the litellm-docs PR merges
  • memory_test was not run locally; it ran after recursive_detector only before 00:31 UTC

Generated by Claude Code


Devin Review

@codecov

codecov Bot commented Nov 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@veria-ai

veria-ai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

PR overview

No security issues were found in this pull request.

Reviews

@narmstrong-berri narmstrong-berri self-assigned this Nov 21, 2026
@narmstrong-berri narmstrong-berri added the autoapprove This PR may be autoapproved by greptile. The author thinks that it does not need human review. label Nov 21, 2026
@narmstrong-berri

Copy link
Copy Markdown
Contributor Author

@greptile-apps

@narmstrong-berri
narmstrong-berri enabled auto-merge (squash) November 21, 2026 03:07

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Devin Review: 2 flags

Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review

@greptile-apps

greptile-apps Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Summary

This PR fixes three lint failures without changing product behavior.

  • The recursion check recognizes the guarded request-body walker.
  • Spend-log golden scenarios use LiteLLM's safe copy helper.
  • Budget and header tests use non-public sample key values.

No actionable issues were found. narmstrong-berri discloses that documentation_test_env_keys depends on a separate docs PR and that memory_test was not run locally.

Reviews (1) · Last reviewed commit: "fix(lint): clear the code-quality failur..." · Reviewed by Greptile

@narmstrong-berri
narmstrong-berri merged commit 3b7bd4d into main Nov 21, 2026
70 checks passed
@narmstrong-berri
narmstrong-berri deleted the nate_fix_main_code_quality_lint branch November 21, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autoapprove This PR may be autoapproved by greptile. The author thinks that it does not need human review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant