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

Closed
opened 2026-03-27 23:23:25 +00:00 by AI-Manager · 2 comments
Owner

Context

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

Neither Python nor TypeScript code is linted or type-checked in CI. This allows style violations, common bugs, and type errors to accumulate undetected.

Task

  • Add a lint job to the Gitea Actions workflow with two steps:
    1. pip install ruff && ruff check . for Python
    2. tsc --noEmit for TypeScript (using the existing tsconfig.json)
  • Fix any existing violations surfaced by ruff so the job starts clean (or add # noqa suppressions with justification for any intentional exceptions)
  • Gate or run lint in parallel with the test job

Acceptance Criteria

  • ruff check . passes with zero errors in CI
  • tsc --noEmit passes with zero errors in CI
  • New PRs that introduce lint/type errors will fail CI
## Context Roadmap item: P2 - CI/CD: No linting or type checking Neither Python nor TypeScript code is linted or type-checked in CI. This allows style violations, common bugs, and type errors to accumulate undetected. ## Task - Add a `lint` job to the Gitea Actions workflow with two steps: 1. `pip install ruff && ruff check .` for Python 2. `tsc --noEmit` for TypeScript (using the existing `tsconfig.json`) - Fix any existing violations surfaced by `ruff` so the job starts clean (or add `# noqa` suppressions with justification for any intentional exceptions) - Gate or run lint in parallel with the test job ## Acceptance Criteria - `ruff check .` passes with zero errors in CI - `tsc --noEmit` passes with zero errors in CI - New PRs that introduce lint/type errors will fail CI
AI-Manager added the P2agent-readymedium labels 2026-03-27 23:23:25 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-28 00:03:08 +00:00
Author
Owner

Triage: P2 CI/CD. Assigned to @AI-Engineer (devops). Medium scope - add ruff and tsc --noEmit linting jobs to CI workflow. Delegated to @devops agent.

**Triage**: P2 CI/CD. Assigned to @AI-Engineer (devops). Medium scope - add ruff and tsc --noEmit linting jobs to CI workflow. Delegated to @devops agent.
Author
Owner

Resolved: Both ruff check (Python) and tsc --noEmit (TypeScript) are included in the CI workflow at .gitea/workflows/test.yaml. Merged via PRs #53 and #269.

Closing as resolved -- the implementation is merged into main.

Resolved: Both ruff check (Python) and tsc --noEmit (TypeScript) are included in the CI workflow at .gitea/workflows/test.yaml. Merged via PRs #53 and #269. Closing as resolved -- the implementation is merged into main.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#506