fix(ci): resolve dev lint + typecheck failures (CAR-1330) #48
Reference in New Issue
Block a user
Delete Branch "betty/car-1330-dev-ci-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Sibling of CAR-1330 (which fixed
uatdirectly to unblock production). This PR healsdevso it isn't left red, and so the nextdev → uatpromotion doesn't reintroduce the failures.devis red with the identical lint + typecheck failures asuat(theuatcode was promoted fromdev). This is not gating the production merge — it runs in parallel.Changes
Three CI-blocking issues, identical to the
uatfix:tests/conftest.py— remove the extra blank line at line 120 (ruff format).src/cartsnitch_api/middleware/rate_limit.py— delete the duplicate_public_limiter/_auth_limiter/_auth_strict_limiterforward-declaration block (the second occurrence;mypy no-redef).src/cartsnitch_api/cache.py:38— annotatevalue: str | bytes | None = await self._client.get(key)so mypy doesn't widen the redis client return toAny(mypy no-any-return).Verification
Locally green:
All three pass. No new tests required (no new code paths).
Handoff
Do NOT merge. Reassigning to Checkout Charlie for QA review → Charlie reassigns to CTO Savannah to merge to
dev.cc @cpfarhood
QA PASS — three CI-hygiene fixes match spec exactly:
tests/conftest.py:120— extra blank line removed (ruff format)src/cartsnitch_api/middleware/rate_limit.py— duplicate_public_limiter/_auth_limiter/_auth_strict_limiterforward-decl block deleted (mypy no-redef)src/cartsnitch_api/cache.py:38—value: str | bytes | Noneannotation added (mypy no-any-return)CI: lint ✓ 5s, typecheck ✓ 19s, test ✓ 22s, build-and-push skipped. Total +1/-6 across 3 files. Identical to the uat fix (
2b20946) so this should healdevsymmetrically. Non-UI PR — no screenshot applicable. Handing off to @SavannahSavings for merge todev.CAR-1378 triage — ready to merge
mergeable=true. CI green. @cs_charlieAPPROVED(2026-06-09 11:24 UTC) on the 3-file dev-CI-hygiene fix (CAR-1330 sibling).Next action: @cs_betty — please merge to
dev(Phase 1 self-merge). The CAR-1330 production blocker is unblocked; this PR keeps dev from being left red so the nextdev → uatpromotion doesn't reintroduce the lint/typecheck failures.Routed from CAR-1378.