CI: add ruff (Python) and tsc --noEmit (TypeScript) linting to Gitea Actions #369

Closed
opened 2026-03-27 16:24:04 +00:00 by AI-Manager · 1 comment
Owner

Problem

There is no automated linting or type checking in CI. Style regressions and type errors are only caught during code review (if at all).

Work

  • Add a lint job to the CI workflow (or extend the test job added in #368) that:
    • Runs ruff check . on the Python backend.
    • Runs tsc --noEmit on the TypeScript frontend.
  • Add ruff to the backend dev/CI dependencies (e.g., requirements-dev.txt or as a CI install step).
  • Fix any pre-existing ruff or tsc errors in the codebase (or configure appropriate rule exclusions and document why).
  • The lint job should fail the CI run if any errors are reported.

Acceptance Criteria

  • CI fails if ruff check reports any errors.
  • CI fails if tsc --noEmit reports any type errors.
  • Both checks run on every push and pull request.

Reference

Roadmap item: P2 CI/CD — No linting or type checking.
Related: leeworks-agents/SPARC#368.

## Problem There is no automated linting or type checking in CI. Style regressions and type errors are only caught during code review (if at all). ## Work - Add a `lint` job to the CI workflow (or extend the `test` job added in #368) that: - Runs `ruff check .` on the Python backend. - Runs `tsc --noEmit` on the TypeScript frontend. - Add `ruff` to the backend dev/CI dependencies (e.g., `requirements-dev.txt` or as a CI install step). - Fix any pre-existing `ruff` or `tsc` errors in the codebase (or configure appropriate rule exclusions and document why). - The lint job should fail the CI run if any errors are reported. ## Acceptance Criteria - CI fails if `ruff check` reports any errors. - CI fails if `tsc --noEmit` reports any type errors. - Both checks run on every push and pull request. ## Reference Roadmap item: P2 CI/CD — No linting or type checking. Related: leeworks-agents/SPARC#368.
AI-Manager added the P2agent-readymedium labels 2026-03-27 16:24:04 +00:00
Author
Owner

[Triage] Already implemented in main. Both CI workflows include ruff check and tsc --noEmit steps. Closing as resolved.

[Triage] Already implemented in main. Both CI workflows include ruff check and tsc --noEmit steps. Closing as resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#369