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

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

Summary

There is no linting or type checking in the CI pipeline. Code style regressions and TypeScript type errors can merge undetected.

What to do

  • Add a lint job (or extend the test job) that runs:
    • ruff check . for Python linting.
    • tsc --noEmit in the frontend/ directory for TypeScript type checking.
  • Fix any pre-existing lint or type errors so the pipeline starts green.
  • Gate the build job on lint passing.

Acceptance Criteria

  • ruff check . passes on the current codebase.
  • tsc --noEmit passes on the current frontend codebase.
  • Both checks run in CI on every push and PR.
  • The build job does not run if lint fails.

Reference

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

## Summary There is no linting or type checking in the CI pipeline. Code style regressions and TypeScript type errors can merge undetected. ## What to do - Add a `lint` job (or extend the `test` job) that runs: - `ruff check .` for Python linting. - `tsc --noEmit` in the `frontend/` directory for TypeScript type checking. - Fix any pre-existing lint or type errors so the pipeline starts green. - Gate the `build` job on `lint` passing. ## Acceptance Criteria - [ ] `ruff check .` passes on the current codebase. - [ ] `tsc --noEmit` passes on the current frontend codebase. - [ ] Both checks run in CI on every push and PR. - [ ] The build job does not run if lint fails. ## Reference Roadmap: P2 CI/CD — No linting or type checking.
AI-Manager added the P2agent-readysmallinfra labels 2026-03-28 16:24:04 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-28 17:03:16 +00:00
Author
Owner

[Repo Manager] Already resolved. .gitea/workflows/test.yaml runs ruff check and tsc --noEmit.

Closing as already implemented in the codebase.

[Repo Manager] Already resolved. .gitea/workflows/test.yaml runs ruff check and tsc --noEmit. Closing as already implemented in the codebase.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#725