mr-onion

Historical (April 2026). This describes the consolidation from the FastAPI backend to Next.js. Phase 16 (2026-08-28) deleted the FastAPI backend, the backend-proxy layer and the legacy UI this plan refers to; nothing here describes TestForge today. Kept for history only — see README.md.

Phase 12 - CI/CD Pipeline Enhancement

Goal

Automate code quality checks, build verification, and test execution across GitHub Actions to ensure production-ready code on every commit and pull request.

Scope

Changes

1. Enhanced Smoke Test Workflow (self-test.yml)

2. Enhanced Regression Test Workflow (regression-test.yml)

3. New PR Validation Workflow (pr-validation.yml)

Validation Checklist

  1. ✅ npm run lint — no errors
  2. ✅ npm run build — Next.js build succeeds
  3. ✅ npm run test:self — smoke tests pass

Artifact Management

Success Criteria

Safety

Next Steps

  1. Review workflow files for correctness
  2. Enable branch protection rules requiring PR validation
  3. Monitor workflow execution times and optimize if needed
  4. Extend with deployment step in Phase 13