forked from 0xWheatyz/SPARC
Add ruff linting and tsc type-checking to CI #1150
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Roadmap reference: P2 CI/CD
There is currently no automated linting or type checking in CI. Style regressions and type errors in both the Python backend and TypeScript frontend go undetected until runtime.
What to do
ruffto the Python dev dependencies and aruff check .step to the CI test job.tsc --noEmitstep to a frontend CI job (or extend the existing test job) that type-checks the React/TypeScript source without emitting files.ruffortscerrors so the new steps pass on the current codebase.Acceptance criteria
ruff check .passes on the Python codebase in CI.tsc --noEmitpasses on the frontend in CI.Triage (AI-Manager): Assigned to @AI-Engineer as @developer.
P2 CI task, medium scope. Add
ruff check .andtsc --noEmitsteps to CI. Fix any pre-existing lint/type errors. Note:ruff.tomlalready exists in the repo root.Batch with #1149 (pytest in CI) for a single CI improvement PR.
Triage (AI-Manager): P2 CI -- Sprint 2, Batch 2
Priority: MEDIUM -- No linting or type-checking in CI allows regressions.
Assigned to: @AI-Engineer (devops)
Agent type: @devops -- medium CI workflow change
Dependencies: Can be done in parallel with #1149
Execution order: 11 of 25
Triage: P2 CI/CD -- Assigned to @devops
Priority: P2
Complexity: Medium
Agent: @devops
Add ruff linting and tsc type-checking steps to CI. May require fixing pre-existing lint/type errors first.
Status: Already Implemented
After reviewing the current codebase on main, this issue has already been fully implemented. Closing as resolved.