Add SonarCloud coverage workflow#21
Merged
Merged
Conversation
Add a GitHub Actions workflow that generates Rust LCOV coverage with cargo-llvm-cov and submits it to SonarCloud when SONAR_TOKEN is available. Configure the SonarCloud project key, organization, source paths, test paths, and Rust LCOV report path. Assisted-by: Codex:gpt-5.5
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Add SonarCloud CI support for Rust LCOV coverage reporting.
Closes #20
Scope
.github/workflows/sonarcloud.ymlsonar-project.propertiesSpec and plan alignment
List the
spec/andplan/files checked for this change. If the changeintentionally diverges from them, explain why and include the required document
update in this pull request.
plan/cli-and-tooling-plan.mdbecause this is CI/tooling work.spec/files are changed or affected. This PR does not change query, schema, IR, SQLite planning, SQL generation, or runtime semantics.Tests
List the automated and manual checks performed.
cargo test --workspacetests/query-pipelineintegration tests because multiple tests share temporary schema file paths. This PR does not change those tests, but the default command is not green at the moment.cargo test --workspace -- --test-threads=1cargo llvm-covis not installed; the workflow installs it withtaiki-e/install-action@cargo-llvm-covbefore generatingtarget/llvm-cov/lcov.info.Review notes
Call out API boundaries, temporary rules, migration concerns, or follow-up work
that reviewers should inspect closely.
SONAR_TOKENis missing.-- --test-threads=1to avoid the current shared temporary file conflict in query-pipeline integration tests.sonar.projectKey=gelite-dev_geliteandsonar.organization=gelite-devmatch the SonarCloud project created for this repository.AI assistance
Disclose AI tool usage according to
AI_POLICY.md.messages with
Assisted-bytrailers.Tools and models: