The Wire · Showcase
FASTAPI HARDENS CI PIPELINE WHILE FIXING HTTPX2 DEPRECATION WALL
By RepoJournal · Filed · About FastAPI & Pydantic
FastAPI's CI is now locked down with job timeouts and workflow security scanning, but the team is scrambling to patch a deprecation warning that's blocking builds.
GitHub Actions just got tighter across the FastAPI repo [1] with job timeouts, zizmor security scanning, and explicit guidance on keeping the setup-uv action version current. This mirrors hardening patterns already deployed in sibling projects, closing a gap that shouldn't have existed. In parallel, the team is racing a deprecation wall: Starlette's httpx2 changes [2] [3] introduced a warning that's now failing CI, forcing FastAPI to add httpx2 as an explicit test dependency to silence the noise. Meanwhile, housekeeping PRs [4] are stripping out obsolete ruff and coverage ignores, keeping the signal-to-noise ratio clean as the codebase evolves. None of these are breaking changes, but the httpx2 fix needs to land before the next release cycle to keep CI green.
Action items
- → Merge httpx2 test dependency PR before next CI run fastapi/fastapi [immediate]
- → Review and approve GitHub Actions security hardening fastapi/fastapi [plan]
- → Monitor Starlette httpx2 deprecation path for breaking changes fastapi/fastapi [monitor]
References
- [1] 🔒️ Improve GitHub actions security (#15607) fastapi/fastapi
- [2] ✅ Add `httpx2` test dependency to avoid deprecation warning ↗ fastapi/fastapi
- [3] ✅ Add `httpx2` test dependency to avoid deprecation warning (#15603) fastapi/fastapi
- [4] ⚰️ Remove ruff and coverage ignores for non-existing files (#15610) fastapi/fastapi
FAQ
- What changed in FastAPI & Pydantic on May 28, 2026?
- FastAPI's CI is now locked down with job timeouts and workflow security scanning, but the team is scrambling to patch a deprecation warning that's blocking builds.
- What should FastAPI & Pydantic teams do about it?
- Merge httpx2 test dependency PR before next CI run • Review and approve GitHub Actions security hardening • Monitor Starlette httpx2 deprecation path for breaking changes
- Which FastAPI & Pydantic repositories shipped on May 28, 2026?
- fastapi/fastapi