test: add deterministic QA versioning coverage - #169
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 237 |
| Duplication | 2 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
|
|
Overall Grade |
Security Reliability Complexity Hygiene |
Code Review Summary
| Analyzer | Status | Updated (UTC) | Details |
|---|---|---|---|
| Go | Apr 30, 2026 7:39p.m. | Review ↗ |
Important
AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dev #169 +/- ##
==========================================
+ Coverage 24.18% 26.70% +2.52%
==========================================
Files 93 90 -3
Lines 21097 21515 +418
==========================================
+ Hits 5102 5746 +644
+ Misses 15412 15110 -302
- Partials 583 659 +76 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
1119277 to
ed234c9
Compare
Summary
Adds a deterministic QA/versioning gate for GoAnime so release-critical flows are covered without relying on external providers, mpv, ffmpeg, Discord, or interactive terminals.
What changed
Why
The current PR coverage report showed low patch coverage on composed runtime flows, especially download workflow orchestration. These tests move the release gate from argument parsing only to proving that important commands reach the right subsystems under controlled, repeatable conditions.
Validation
Executed locally on Windows with Go 1.26.2 and
CGO_ENABLED=0:go test ./internal/handlers ./internal/download ./internal/tracking -count=1go test -tags e2e ./test/e2e -count=1go test -count=1 ./...go fmt ./...go mod verifygo vet ./...go test -tags e2e -count=1 -v ./test/e2ego build -v ./cmd/goanimegovulncheck ./...gosec ./...staticcheck ./...golangci-lint run --timeout=15mNote: local
go test -racecould not run on this Windows environment becauseruntime/cgorequiresgcc; the GitHub Linux CI/release workflow still runs the race suite.Codacy and Codecov
0 new issues.dev; this branch is created from the latestorigin/devcommit before applying the QA coverage changes.