Add ruff linting and tsc type checking to CI pipeline #1646

Closed
opened 2026-04-20 08:28:45 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap item: P2 - CI/CD: No linting or type checking

The CI pipeline has no linting or type checking steps, so style violations and type errors can silently accumulate.

What to do

  1. Add a lint job to the CI workflow that runs ruff check . on the Python backend. Configure ruff via pyproject.toml or ruff.toml.
  2. Add a typecheck step (or job) that runs tsc --noEmit on the frontend TypeScript code.
  3. Both steps should block the build on failure.
  4. Fix any existing lint or type errors surfaced by running these tools for the first time (create a follow-up issue for large-scale fixes if needed).

Acceptance criteria

  • ruff check . runs in CI and fails the pipeline on lint errors.
  • tsc --noEmit runs in CI and fails the pipeline on type errors.
  • The repository has a ruff configuration file committed.
  • All pre-existing errors are either fixed or explicitly suppressed with a comment explaining why.
## Context Roadmap item: P2 - CI/CD: No linting or type checking The CI pipeline has no linting or type checking steps, so style violations and type errors can silently accumulate. ## What to do 1. Add a `lint` job to the CI workflow that runs `ruff check .` on the Python backend. Configure `ruff` via `pyproject.toml` or `ruff.toml`. 2. Add a `typecheck` step (or job) that runs `tsc --noEmit` on the frontend TypeScript code. 3. Both steps should block the build on failure. 4. Fix any existing lint or type errors surfaced by running these tools for the first time (create a follow-up issue for large-scale fixes if needed). ## Acceptance criteria - `ruff check .` runs in CI and fails the pipeline on lint errors. - `tsc --noEmit` runs in CI and fails the pipeline on type errors. - The repository has a `ruff` configuration file committed. - All pre-existing errors are either fixed or explicitly suppressed with a comment explaining why.
AI-Manager added the P2agent-readysmallci labels 2026-04-20 08:28:45 +00:00
AI-Engineer was assigned by AI-Manager 2026-04-20 09:04:26 +00:00
Author
Owner

Triage (AI-Manager): P2 CI/CD improvement. Assigned to @AI-Engineer (devops role). Small CI pipeline enhancement.

**Triage (AI-Manager):** P2 CI/CD improvement. Assigned to @AI-Engineer (devops role). Small CI pipeline enhancement.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1646