chore: CI workflow (lint, typecheck, tests, coverage >=75%, architecture)#39
Merged
Conversation
…ure) (#9) Port .github/workflows/ci.yml from Teller. Bump python-version 3.12 -> 3.14 and node-version 20 -> 24. Pin all action references to commit SHAs (acceptance criterion). Make frontend-build / frontend-quality jobs guarded by `hashFiles('frontend/package.json') != ''` so they skip cleanly until #21. Coverage gate: pyproject.toml's [tool.coverage.report].fail_under stays at 75 (the eventual target). CI uses --cov-fail-under=0 until #17 + #18 land real source under src/; once those merge, drop the override and let CI honour the pyproject default. Drops the meta-gate jobs (branch-protection-sync, commit-type-sync) — those land in #10 with the .github/scripts/ they invoke. Closes #9 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/ci.ymlfrom Teller. Eight jobs: Lint & Format, Type Check, Unit tests, Integration tests, Coverage, Architecture (import-linter), Pre-commit, Frontend Build, Frontend Quality.python-version3.12 → 3.14 andnode-version20 → 24.hashFiles('frontend/package.json') != ''so they skip cleanly until feat: frontend scaffold (Vite + React 19.2 + TS strict, eslint flat + prettier + vitest) #21 lands the scaffold.[tool.coverage.report].fail_under = 75inpyproject.toml(the eventual target); CI uses--cov-fail-under=0until real source undersrc/lands in feat: backend scaffold (FastAPI app, /api/v1/health, /api/v1/echo, sessions) #17 + feat: Pydantic StrictModel base + example schemas (health, session, config) #18, at which point the override is dropped.branch-protection-sync,commit-type-sync) — those land in chore: CI meta-gates (branch-protection contexts sync, commit-types sync) #10 alongside the.github/scripts/files they invoke.Closes #9.
Test plan
pre-commit run check-yamlpasses).frontend/package.jsonexists.🤖 Generated with Claude Code