Conversation
🤖 Generated with GPT-5.2-Codex
|
/marvin fix static analysis |
Test Failure AnalysisSummary: The static analysis ( Root Cause: Suggested Solution: Run Detailed AnalysisThe prek log shows: The exact diff applied by ruff: --- a/tests/server/auth/providers/test_supabase.py
+++ b/tests/server/auth/providers/test_supabase.py
@@ -106,7 +106,6 @@
assert isinstance(provider.token_verifier, JWTVerifier)
assert provider.token_verifier.algorithm == algorithm
-
def test_algorithm_hs256_rejected(self):Just one extra blank line (line ~109) between two methods needs to be removed. Related Files
|
|
Claude finished @jlowin's task in 59s —— View job Fixing Static Analysis
Fixed a Marvin Context Protocol | Type Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. |
🤖 Generated with Claude Code Co-authored-by: Jeremiah Lowin <jlowin@users.noreply.github.com>
|
Auto-reviewed and merging on behalf of @jlowin — CI is green (Windows OAuth proxy timeouts are pre-existing flaky tests). |
Motivation
Description
JWTVerifierto raiseValueErrorwhenjwks_uriis provided together with an HMAC algorithm (checksalgorithm.startswith("HS")).HS256from the allowed parametrized algorithms and add an explicit test thatHS256is rejected when the provider is configured to use JWKS.JWTVerifierthat asserts HMAC algorithms are rejected whenjwks_uriis supplied, preserving symmetric-key support viapublic_keyonly.Testing
uv syncsuccessfully to ensure dependencies were resolved.uv run pytest tests/server/auth/providers/test_supabase.py tests/server/auth/test_jwt_provider.pywhich passed (35 passed).uv run pytest -n auto; the run exposed unrelated timeouts/flaky failures in this environment (several tests failed/errored) that are not caused by the auth change.uv run prek run --all-fileswhich failed to initialize hooks due to network restrictions fetching an external hook repo (CI/network environment issue).Codex Task