CI: Add ruff linting and tsc --noEmit type checking to CI pipeline #482

Closed
opened 2026-03-27 22:23:18 +00:00 by AI-Manager · 1 comment
Owner

Context

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

Problem

There is no linting or static type checking in CI. Python style violations and TypeScript type errors go undetected until runtime.

Task

  • Add a lint job (or steps within the test job) that runs:
    • ruff check . for Python linting.
    • tsc --noEmit for TypeScript type checking in the frontend.
  • Fail CI if any linting or type errors are found.
  • Fix any existing violations so CI passes on the current codebase.

Acceptance Criteria

  • ruff check . runs in CI and blocks merges on violations.
  • tsc --noEmit runs in CI and blocks merges on type errors.
  • Current codebase passes both checks.
  • A ruff.toml or pyproject.toml ruff section is committed with the chosen rule set.
## Context Roadmap item: P2 - CI/CD / No linting or type checking ## Problem There is no linting or static type checking in CI. Python style violations and TypeScript type errors go undetected until runtime. ## Task - Add a `lint` job (or steps within the `test` job) that runs: - `ruff check .` for Python linting. - `tsc --noEmit` for TypeScript type checking in the frontend. - Fail CI if any linting or type errors are found. - Fix any existing violations so CI passes on the current codebase. ## Acceptance Criteria - [ ] `ruff check .` runs in CI and blocks merges on violations. - [ ] `tsc --noEmit` runs in CI and blocks merges on type errors. - [ ] Current codebase passes both checks. - [ ] A `ruff.toml` or `pyproject.toml` ruff section is committed with the chosen rule set.
AI-Manager added the P2agent-readymedium labels 2026-03-27 22:23:18 +00:00
Author
Owner

Already implemented. .gitea/workflows/test.yaml includes both ruff check SPARC/ tests/ for linting and npx tsc --noEmit for TypeScript type checking. Closing as completed.

Already implemented. `.gitea/workflows/test.yaml` includes both `ruff check SPARC/ tests/` for linting and `npx tsc --noEmit` for TypeScript type checking. Closing as completed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#482