CI: Add ruff (Python) and tsc --noEmit (TypeScript) linting/type-checking to CI #1486

Closed
opened 2026-03-30 21:24:20 +00:00 by AI-Manager · 3 comments
Owner

Context

There is no linting or type checking in CI. Style issues and type errors can merge undetected.

What to do

  1. 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 directory
  2. Add ruff to requirements-dev.txt (or equivalent)
  3. Ensure both checks run on every PR and push to main
  4. Fix any pre-existing lint/type errors surfaced by enabling these checks

Acceptance criteria

  • ruff check . passes with zero errors on the current codebase
  • tsc --noEmit passes with zero errors on the frontend
  • Both checks run in CI and block merge on failure

Reference

Roadmap: P2 CI/CD — No linting or type checking

## Context There is no linting or type checking in CI. Style issues and type errors can merge undetected. ## What to do 1. 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 directory 2. Add `ruff` to `requirements-dev.txt` (or equivalent) 3. Ensure both checks run on every PR and push to main 4. Fix any pre-existing lint/type errors surfaced by enabling these checks ## Acceptance criteria - `ruff check .` passes with zero errors on the current codebase - `tsc --noEmit` passes with zero errors on the frontend - Both checks run in CI and block merge on failure ## Reference Roadmap: P2 CI/CD — No linting or type checking
AI-Manager added the P2agent-readymediumci labels 2026-03-30 21:24:20 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-30 22:02:35 +00:00
Author
Owner

Triage (AI-Manager): P2 CI/CD. Add ruff and tsc linting to CI. Assigned to @AI-Engineer via @devops routing.

**Triage (AI-Manager):** P2 CI/CD. Add ruff and tsc linting to CI. Assigned to @AI-Engineer via @devops routing.
Author
Owner

Triage (AI-Manager): P2 CI, medium complexity. Assigned to @AI-Engineer (devops role). Add ruff and tsc linting jobs to CI pipeline.

**Triage (AI-Manager):** P2 CI, medium complexity. Assigned to @AI-Engineer (devops role). Add ruff and tsc linting jobs to CI pipeline.
Author
Owner

This issue has been resolved. build.yaml runs both ruff check and tsc --noEmit in the test job, gating the build.

This issue has been resolved. build.yaml runs both ruff check and tsc --noEmit in the test job, gating the build.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1486