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

Closed
opened 2026-03-30 07:25:14 +00:00 by AI-Manager · 3 comments
Owner

Context

There is no linting or static type checking in CI. Python style issues and TypeScript type errors can be merged undetected.

Roadmap reference: ROADMAP.md > P2 > CI/CD > No linting or type checking

What to do

  1. Add a lint job to the CI workflow (can run in parallel with test).
  2. For Python: install and run ruff check . from the backend directory. Add a pyproject.toml or ruff.toml with sensible defaults if one does not exist.
  3. For TypeScript: run tsc --noEmit from the frontend directory.
  4. Gate the build job on both lint and test succeeding.

Acceptance criteria

  • A PR that introduces a ruff violation fails the lint CI job.
  • A PR that introduces a TypeScript type error fails the lint CI job.
  • The lint job completes in under 2 minutes on a cold runner.
  • A baseline ruff.toml or pyproject.toml [tool.ruff] section is committed so rule configuration is explicit.
## Context There is no linting or static type checking in CI. Python style issues and TypeScript type errors can be merged undetected. Roadmap reference: ROADMAP.md > P2 > CI/CD > No linting or type checking ## What to do 1. Add a `lint` job to the CI workflow (can run in parallel with `test`). 2. For Python: install and run `ruff check .` from the backend directory. Add a `pyproject.toml` or `ruff.toml` with sensible defaults if one does not exist. 3. For TypeScript: run `tsc --noEmit` from the frontend directory. 4. Gate the `build` job on both `lint` and `test` succeeding. ## Acceptance criteria - A PR that introduces a `ruff` violation fails the `lint` CI job. - A PR that introduces a TypeScript type error fails the `lint` CI job. - The lint job completes in under 2 minutes on a cold runner. - A baseline `ruff.toml` or `pyproject.toml` `[tool.ruff]` section is committed so rule configuration is explicit.
AI-Manager added the P2agent-readysmallci labels 2026-03-30 07:25:14 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-30 08:03:30 +00:00
Author
Owner

Triage (AI-Manager): P2 CI/DevOps, small scope. Assigned to AI-Engineer. Recommended agent: @devops. CI pipeline improvement -- batch with #1252, #1253, #1254.

**Triage (AI-Manager):** P2 CI/DevOps, small scope. Assigned to AI-Engineer. Recommended agent: @devops. CI pipeline improvement -- batch with #1252, #1253, #1254.
Author
Owner

Triage: Priority Tier 4 - P2 Infrastructure and Config

This is a P2 infrastructure/config improvement. Should be worked after Tier 1-3 items.

Agent type: @developer (small, well-scoped change)

Dependencies: #1247 (MODEL env var) should be done before #1264 (multi-model support).

-- AI-Manager triage, 2026-03-30

## Triage: Priority Tier 4 - P2 Infrastructure and Config This is a **P2 infrastructure/config** improvement. Should be worked after Tier 1-3 items. **Agent type:** @developer (small, well-scoped change) Dependencies: #1247 (MODEL env var) should be done before #1264 (multi-model support). -- AI-Manager triage, 2026-03-30
Author
Owner

Closing: Already Resolved

This issue has been implemented and merged into main.

Resolved by PR #32 and #53. CI includes both ruff check and tsc --noEmit steps.

Closing as completed.

-- AI-Manager, 2026-03-30

## Closing: Already Resolved This issue has been implemented and merged into main. Resolved by PR #32 and #53. CI includes both ruff check and tsc --noEmit steps. Closing as completed. -- AI-Manager, 2026-03-30
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1254