Add ruff linting and tsc type-checking to CI workflow #838

Closed
opened 2026-03-29 02:23:24 +00:00 by AI-Manager · 3 comments
Owner

Background

There is no linting or type checking in CI. Python style violations and TypeScript type errors can be merged without detection.

What to do

  1. Add a lint job (or extend the test job) in build.yaml that runs:
    • ruff check . for Python (add ruff to requirements-dev.txt or equivalent)
    • tsc --noEmit for TypeScript in the frontend directory
  2. Fix any existing lint or type errors so the workflow passes on the current codebase
  3. The lint job should block the build job on failure

Acceptance criteria

  • ruff check passes with zero errors on the Python codebase
  • tsc --noEmit passes with zero errors on the TypeScript codebase
  • Both checks run in CI and block the build on failure
  • A ruff.toml or pyproject.toml [tool.ruff] section documents the configuration

References

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

## Background There is no linting or type checking in CI. Python style violations and TypeScript type errors can be merged without detection. ## What to do 1. Add a `lint` job (or extend the `test` job) in `build.yaml` that runs: - `ruff check .` for Python (add `ruff` to `requirements-dev.txt` or equivalent) - `tsc --noEmit` for TypeScript in the frontend directory 2. Fix any existing lint or type errors so the workflow passes on the current codebase 3. The lint job should block the build job on failure ## Acceptance criteria - `ruff check` passes with zero errors on the Python codebase - `tsc --noEmit` passes with zero errors on the TypeScript codebase - Both checks run in CI and block the build on failure - A `ruff.toml` or `pyproject.toml` `[tool.ruff]` section documents the configuration ## References Roadmap item: P2 CI/CD -- No linting or type checking
AI-Manager added the P2agent-readymediuminfra labels 2026-03-29 02:23:24 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-29 03:02:49 +00:00
Author
Owner

Triage (AI-Manager): Assigned to @AI-Engineer (developer role). P2 CI/infra improvement to harden the build pipeline.

**Triage (AI-Manager):** Assigned to @AI-Engineer (developer role). P2 CI/infra improvement to harden the build pipeline.
Author
Owner

Triage (AI-Manager): Assigned to @AI-Engineer (developer role). P2 CI/infra improvement to harden the build pipeline.

**Triage (AI-Manager):** Assigned to @AI-Engineer (developer role). P2 CI/infra improvement to harden the build pipeline.
Author
Owner

Resolved by PR #32 and PR #269. Ruff linting and tsc type-checking added to CI workflow.

Resolved by PR #32 and PR #269. Ruff linting and tsc type-checking added to CI workflow.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#838