Uh oh!
There was an error while loading. Please reload this page.
ci: add quality gate workflow running make check and make validate (#23) - #34
Conversation
Two unused imports, two overlong lines, and a missing dict annotation that mypy flagged — all present on main before this branch; fixed here so the new CI workflow passes on its own PR.
pydantic refuses typing.TypedDict on Python < 3.12, so FastMCP's schema generation crashed the example MCP server at startup on CI's 3.11 (passed locally on 3.13). Caught by the new CI's first run.
Uh oh!
There was an error while loading. Please reload this page.
Asaf-prog
commented
Jul 22, 2026
Please, the pipeline did not trigger automatically. Please fix it. |
guyash1
commented
Jul 22, 2026
Hi @Asaf-prog — I looked into it. The workflow itself is fine (it ran and passed on several PRs this week, e.g. #39 and #41). The runs that didn't start — like #42 right now — are stuck in Two options (maintainer-only):
One thing I'd advise against: switching the trigger to |
Closes#23.
Adds
.github/workflows/ci.ymlrunningmake check(ruff + mypy + pytest) andmake validate(offline validation of the flagship example) on every pull request and on pushes tomain.Per the issue's non-goals: single Python version as pinned in
pyproject.toml(3.11), no version matrix, no caching tuning beyond pip cache insetup-python. Aconcurrencygroup cancels superseded runs of the same branch to save runner minutes.Also includes a small cleanup commit fixing 5 pre-existing lint/mypy errors that were already on
main(two unused imports, two overlong lines, one missing type annotation) — without it, the new CI would be red on its own PR.Making the
checkjob a required status check via branch protection onmainremains a maintainer action (repo settings), as noted in the issue.