Skip to content

Feature: Add Complete Backend CI Quality Gates #127

Description

@3m1n3nc3

Description

Require clean install, Prisma generation, migration validation, formatting, lint, type checking, tests, coverage, and build in CI.

File Location

learnault-api/.github/workflows/, learnault-api/package.json, and quality config

Design Reference

API Roadmap Phase 0: Add Complete Backend CI Quality Gates.

Dependencies

Tasks

  • Use the committed package manager and lockfile
  • Start healthy PostgreSQL and Redis services
  • Validate Prisma format, generation, and empty-database migrations
  • Run format, lint, type-check, tests, coverage, and build
  • Upload actionable failure artifacts and enforce coverage
  • Use least permissions and concurrency cancellation

Acceptance Criteria

  • Every gate runs on clean pull requests
  • Intentional failures fail the correct gate
  • CI and documented local commands agree
  • Workflow is green

Verification Evidence

  • Attach green workflow evidence and one intentional gate failure

Difficulty

Medium

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions