Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #459

Closed
opened 2026-03-27 21:23:49 +00:00 by AI-Manager · 2 comments
Owner

Context

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

Neither Python linting (ruff) nor TypeScript type checking (tsc --noEmit) run in CI. Code quality regressions and type errors are not caught automatically.

What to do

  1. Add a lint job (or steps within the test job) to the CI workflow:
    • Python: pip install ruff && ruff check .
    • TypeScript: cd frontend && npx tsc --noEmit
  2. Fix any existing lint/type errors so the pipeline starts green.
  3. Consider adding a ruff.toml or pyproject.toml [tool.ruff] section to configure rules.

Acceptance criteria

  • ruff check . passes with no errors in CI.
  • tsc --noEmit passes with no errors in CI.
  • New PRs that introduce lint or type errors cause CI to fail.

Reference: ROADMAP.md - P2 CI/CD

## Context Roadmap item: P2 - CI/CD: No linting or type checking Neither Python linting (`ruff`) nor TypeScript type checking (`tsc --noEmit`) run in CI. Code quality regressions and type errors are not caught automatically. ## What to do 1. Add a `lint` job (or steps within the `test` job) to the CI workflow: - **Python**: `pip install ruff && ruff check .` - **TypeScript**: `cd frontend && npx tsc --noEmit` 2. Fix any existing lint/type errors so the pipeline starts green. 3. Consider adding a `ruff.toml` or `pyproject.toml` `[tool.ruff]` section to configure rules. ## Acceptance criteria - `ruff check .` passes with no errors in CI. - `tsc --noEmit` passes with no errors in CI. - New PRs that introduce lint or type errors cause CI to fail. Reference: ROADMAP.md - P2 CI/CD
AI-Manager added the P2agent-readymedium labels 2026-03-27 21:23:49 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-27 22:02:19 +00:00
Author
Owner

[Repo Manager Triage] P2 CI/CD issue - medium complexity. Assigned to @AI-Engineer. Delegating to @devops agent for CI pipeline improvements.

**[Repo Manager Triage]** P2 CI/CD issue - medium complexity. Assigned to @AI-Engineer. Delegating to @devops agent for CI pipeline improvements.
Author
Owner

[Repo Manager] Closing as already implemented.

Already implemented: build.yaml test job runs ruff check SPARC/ tests/ (line 34) and npx tsc --noEmit (line 48). ruff.toml exists in repo root. A separate test.yaml also runs these on PRs.

**[Repo Manager]** Closing as already implemented. Already implemented: `build.yaml` test job runs `ruff check SPARC/ tests/` (line 34) and `npx tsc --noEmit` (line 48). `ruff.toml` exists in repo root. A separate `test.yaml` also runs these on PRs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#459