#16

ci: upload Rust coverage to Codecov

Draftashcoftwants to merge intofrom

Add Codecov integration for Rust backend code coverage reporting.

This PR modifies the CI workflow to:

  • Install cargo-llvm-cov for generating coverage reports
  • Run tests with coverage collection, outputting results in LCOV format to backend/lcov.info
  • Upload the coverage data to Codecov using the Codecov GitHub Action

The coverage upload is configured to not fail the CI pipeline if errors occur (fail_ci_if_error: false).


This change is 

Activity

9
aviator-app[bot]2d ago

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes. Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This pull request is currently open (not queued).

How to merge

To merge this PR, comment /aviator merge or add the mergequeue label.


See the real-time status of this PR on the Aviator webapp.
Use the Aviator Chrome Extension to see the status of your PR within GitHub.
coderabbitai[bot]2d ago

IMPORTANT

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

kody-ai[bot]2d ago

Kody Review Complete

Great news! 🎉 No issues were found that match your current review configurations.

Keep up the excellent work! 🚀

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

OptionsEnabled
Bug✅
Performance✅
Security✅
Business Logic✅

Access your configuration settings here.

​

sourcery-ai[bot]2d ago

Reviewer's Guide

Configuration

Install cargo-llvm-cov, run backend tests while generating an LCOV report, and upload that report to Codecov from CI.

  • .github/workflows/ci.yml L27-43

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an issue from a review comment by replying to it. You can also reply to a review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull request title to generate a title at any time. You can also comment @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in the pull request body to generate a PR summary at any time exactly where you want it. You can also comment @sourcery-ai summary on the pull request to (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the pull request to resolve all Sourcery comments. Useful if you've already addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull request to dismiss all existing Sourcery reviews. Especially useful if you want to start fresh with a new review - don't forget to comment @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

sonarqubecloud[bot]2d ago

Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

codereviewbot-ai[bot]2d ago

Summary & Verdict

LGTM! The CI workflow configuration is clean and well-structured:

  • Tooling: Uses taiki-e/install-action@v2 for pre-built cargo-llvm-cov installation and ensures llvm-tools-preview is available.
  • Coverage generation: Seamlessly replaces cargo test --all-targets with cargo llvm-cov --all-targets --lcov --output-path lcov.info, continuing to execute all test targets while generating LCOV profiling output.
  • Upload & Reliability: Uses codecov/codecov-action@v5 targeting backend/lcov.info with fail_ci_if_error: false to ensure transient Codecov issues or forks without secrets do not break CI.

🤖 Reviewed by codereviewbot.ai - Catch bugs before your team does.

kody-ai[bot]approved changes2d ago

This pull request is a draft

Merging is unavailable until it is marked ready for review.