Skip to content

fix(ci): install llvm-tools-preview through vx for rust coverage#439

Merged
loonghao merged 1 commit into
mainfrom
fix/llvm-profdata-path
Jun 16, 2026
Merged

fix(ci): install llvm-tools-preview through vx for rust coverage#439
loonghao merged 1 commit into
mainfrom
fix/llvm-profdata-path

Conversation

@loonghao

Copy link
Copy Markdown
Owner

Problem

The rust-tests CI job in pr-checks.yml fails on dependabot PRs because vx cargo llvm-cov can't find llvm-profdata:

error: failed to merge profile data: could not execute process
/home/runner/.vx/store/rust/1.29.0/rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-profdata merge ...
(never executed): No such file or directory (os error 2)

Root Cause

The workflow uses dtolnay/rust-toolchain@stable to install llvm-tools-preview to the system Rust toolchain. However, vx cargo llvm-cov uses the vx-managed Rust store (~/.vx/store/rust/...) which lacks these tools.

Fix

Add an explicit step after vx setup to install llvm-tools-preview through vx, ensuring the vx-managed Rust toolchain has the required llvm-profdata binary.

Affected PRs

The dtolnay/rust-toolchain installs llvm-tools-preview to the system
Rust toolchain, but vx cargo llvm-cov uses the vx-managed Rust store
(~/.vx/store/rust/...) which lacks these tools.

Add an explicit step to install llvm-tools-preview through vx
after vx setup, ensuring the vx-managed toolchain has the required
llvm-profdata binary.

Fixes dependabot PR CI failures.
@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.00%. Comparing base (0d107d8) to head (f4e8cad).
⚠️ Report is 11 commits behind head on main.

❌ Your project check has failed because the head coverage (48.00%) 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     #439   +/-   ##
=======================================
  Coverage   48.00%   48.00%           
=======================================
  Files         118      118           
  Lines       13070    13070           
  Branches       24       24           
=======================================
  Hits         6274     6274           
  Misses       6796     6796           
Flag Coverage Δ
py3.11 51.08% <ø> (ø)
python 51.08% <ø> (ø)
rust 38.80% <ø> (ø)
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.34% <100.00%> (ø)
Rust Main 38.80% <ø> (ø)
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 abdf985...f4e8cad. 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

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 17c5583 into main Jun 16, 2026
51 of 52 checks passed
@github-actions
github-actions Bot deleted the fix/llvm-profdata-path branch June 16, 2026 07:49
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