Skip to content

fix: install llvm-tools-preview in llvm-cov-install recipe#448

Merged
loonghao merged 2 commits into
mainfrom
fix/llvm-tools-component
Jun 19, 2026
Merged

fix: install llvm-tools-preview in llvm-cov-install recipe#448
loonghao merged 2 commits into
mainfrom
fix/llvm-tools-component

Conversation

@loonghao

Copy link
Copy Markdown
Owner

Summary

  • Fix llvm-profdata missing under vx-managed Rust toolchain in CI
  • Add vx rustup component add llvm-tools-preview to the llvm-cov-install recipe so it runs before each coverage job
  • cargo-llvm-cov requires llvm-profdata from the llvm-tools-preview component to merge profile data

Root Cause

The llvm-tools-preview Rust component was never installed for the vx-managed toolchain. The ci-rust-coverage-lcov recipe's prerequisite llvm-cov-install only installed cargo-llvm-cov itself. When vx cargo llvm-cov report --lcov tried to merge profile data, it looked for llvm-profdata at:

~/.vx/store/rust/1.29.0/rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/.../bin/llvm-profdata

which did not exist because llvm-tools-preview was missing. vx rustup component add is idempotent — it's a no-op when already installed.

Test Plan

  • CI Rust Tests & Coverage job passes on this PR
  • rust-coverage.lcov artifact is generated
  • Existing tests stay green (no coverage behavior change)

The llvm-profdata binary was missing under the vx-managed Rust toolchain
because the llvm-tools-preview component was not installed. cargo-llvm-cov
requires this component to merge profile data and generate coverage reports.

Add vx rustup component add llvm-tools-preview to the llvm-cov-install
recipe so it runs before each coverage job.
@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.12%. Comparing base (7961691) to head (cef368b).
⚠️ Report is 9 commits behind head on main.

❌ Your project check has failed because the head coverage (49.12%) is below the target coverage (70.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #448      +/-   ##
==========================================
+ Coverage   49.11%   49.12%   +0.01%     
==========================================
  Files         119      119              
  Lines       13388    13389       +1     
  Branches       24       24              
==========================================
+ Hits         6576     6578       +2     
+ Misses       6812     6811       -1     
Flag Coverage Δ
py3.11 52.58% <ø> (-0.01%) ⬇️
python 52.58% <ø> (-0.01%) ⬇️
rust 38.75% <ø> (+0.05%) ⬆️
sdk 91.91% <ø> (ø)
typescript 91.91% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Python Core 46.65% <ø> (ø)
Python Qt Integration 66.29% <ø> (-0.05%) ⬇️
Rust Main 38.75% <ø> (+0.05%) ⬆️
AuroraView Core ∅ <ø> (∅)
AuroraView Pack ∅ <ø> (∅)
AuroraView CLI ∅ <ø> (∅)
AuroraView Plugins ∅ <ø> (∅)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4c4fca0...cef368b. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

📸 Gallery E2E Screenshots

Screenshots from this PR's E2E tests. View all artifacts

Page Screenshot
💻 API Patterns View
🚀 Getting Started View
🏠 Home View
⚙️ Settings View
🪟 Window Features View
ℹ️ How to view screenshots
  1. Click "View all artifacts" above
  2. Scroll to "Artifacts" section
  3. Download gallery-e2e-screenshots

@loonghao
loonghao merged commit 9a5c97b into main Jun 19, 2026
60 checks passed
@github-actions
github-actions Bot deleted the fix/llvm-tools-component branch June 19, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant