Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[DevOps/CI] Automated Code Coverage Enforcement & Vitest CI Gate

Đang mở
#1,333 5 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 7 ngày

@Hollujay đang làm issue này rồi.

Từ ngày 29/9/2026.

  • #1595 của @Hollujay — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

ci codecov drips-wave quality Stellar Wave testing

Overview & Background

To maintain high code quality across the codebase as open-source contributors submit pull requests, an automated test coverage enforcement gate is required in GitHub Actions CI to prevent coverage regressions.


Technical Specification & Architecture

  1. Vitest Coverage Configuration:
    • Configure @vitest/coverage-v8 in backend/vitest.config.ts and frontend/vitest.config.ts.
    • Set minimum coverage thresholds:
      • Statements: 80%
      • Branches: 75%
      • Functions: 80%
      • Lines: 80%
  2. GitHub Actions Integration:
    • Add coverage generation step in .github/workflows/ci.yml.
    • Post automated coverage summary comment on pull requests.
    • Fail PR build if coverage decreases by $> 1%$.

Target Files

  • backend/vitest.config.ts
  • frontend/vitest.config.ts
  • .github/workflows/ci.yml
  • .github/codecov.yml

Acceptance Criteria

  • Vitest generates lcov coverage reports for backend and frontend.
  • CI workflow fails if code coverage falls below threshold.
  • Automated PR summary table showing coverage changes per modified file.
Ngôn ngữ chính
TypeScript
Star
18
Fork
250
Merge trung bình
5 ngày 6 giờ
Pull request đã merge (30 ngày)
82

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của LabsCrypt/flowfi

Tất cả issue của LabsCrypt/flowfi

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.