Skip to content

CI/CD Reports

Welcome to the automated reports section. This area contains comprehensive reports generated by our CI/CD pipeline, providing insights into code quality, test coverage, security vulnerabilities, and licensing compliance.

📊 Available Reports

Report Type Description
CI/CD Status Pipeline execution details and metrics
Test Results Unit, integration, and security test execution results
Coverage Report Code coverage metrics and analysis
Security Scan Security vulnerability scanning results
Performance Testing Load testing and benchmark results
License Report Dependency licensing information

🔄 Report Generation

Reports are generated and deployed on every push to main:

  • Trigger Events: Generated and deployed on every push to main (the deploy.yml workflow called by ci.yml)
  • Generation Process:
  • CI pipeline runs tests, coverage analysis, and security scans
  • Artifacts are collected from all pipeline jobs
  • scripts/generate_reports.py --type {test,coverage,security,license,cicd,performance} processes artifacts into markdown under docs/reports/
  • Reports are deployed to GitHub Pages (mkdocs gh-deploy) with updated timestamps
  • Update Frequency: Real-time (on every commit to main branch)
  • Timestamp Format: Each report includes generation timestamp at bottom
  • Retention: Latest reports in documentation site, historical data in CI artifacts

📈 Key Metrics

Current figures live in the generated pages rather than here, so they never go stale:

What runs on every pipeline:

  • Python Versions: 3.10–3.15 (CI test matrix)
  • Linting: Ruff (PEP 8 compliant)
  • Type Checking: mypy strict mode
  • Security Scans: Bandit, Semgrep, pip-audit, Trivy, Grype (plus CodeQL)

🎯 Quality Standards

Our CI/CD pipeline enforces these quality gates:

  • ✅ All tests must pass
  • ✅ Code coverage is reported (not gated; no threshold is enforced)
  • ✅ No fixable critical/high container findings and no SAST/pip-audit findings
  • ✅ Type checking passes in strict mode
  • ✅ Code formatting compliant (Ruff)
  • ✅ All licenses compatible with MIT
  • ✅ Load tests complete with <1% failure rate

🔍 Viewing Reports

Latest Reports

Latest reports are available in this documentation site and updated automatically on every deployment to the main branch.

Historical Reports

Historical reports are available as CI/CD artifacts:

  1. Navigate to GitHub Actions
  2. Select a workflow run
  3. Download artifacts from the "Artifacts" section

Local Generation

To generate reports locally:

# Run tests with coverage
pytest --cov=backend --cov-report=html

# Run security scans
bandit -r backend/ -f txt
semgrep --config auto backend/
pip-audit

# Generate license report
pip-licenses --format=markdown

📝 Report Details

Test Report

Detailed breakdown of all test executions including: - Test suite summary (unit, security, integration) - Individual test results - Failure analysis and error messages - Performance metrics

Coverage Report

Comprehensive code coverage analysis: - Overall coverage percentage - Module-by-module breakdown - Uncovered lines identification - Coverage trends over time

Security Report

Security scanning results: - Bandit and Semgrep static analysis - pip-audit CVE scanning - Container vulnerability scanning (Trivy and Grype) - Remediation recommendations

License Report

Dependency licensing information: - All package licenses - License compatibility analysis - Compliance status - Potential license conflicts

CI/CD Report

Pipeline execution details: - Job execution status - Build times and performance - Artifact generation summary - Deployment status

Performance Report

Load testing and benchmark results: - Load test execution results - API endpoint response times - Throughput and concurrency metrics - Performance trend analysis - Benchmark comparisons (when available)

🚨 Alerts and Notifications

The CI/CD pipeline will fail if: - Tests fail (any Python version) - Fixable critical/high container findings, or any SAST/pip-audit findings, are detected (coverage is reported but not gated) - Type checking errors - Code formatting issues - Load test request failure rate exceeds 1% - Server crashes during performance testing


Reports generated automatically by GitHub Actions CI/CD pipeline Timestamps updated on every pipeline run