Skip to content

fix(opencode): bake llvm tools for Rust coverage-evidence - #1072

Closed
seonghobae wants to merge 7 commits into
mainfrom
fix/opencode-rust-llvm-tools-v2
Closed

fix(opencode): bake llvm tools for Rust coverage-evidence#1072
seonghobae wants to merge 7 commits into
mainfrom
fix/opencode-rust-llvm-tools-v2

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Summary

  • OpenCode Review Dispatch coverage-evidence fails on Rust repos (e.g. TEPP#46) with:
    error: failed to find llvm-tools-preview
  • Offline image had cargo-llvm-cov + Debian rustc/cargo but no llvm-cov/llvm-profdata.
  • Install llvm in the coverage image and export LLVM_COV/LLVM_PROFDATA from ensure_rust_toolchain.

Unblocks

Test plan

  • Merge this PR
  • Re-dispatch OpenCode Review for TEPP#46 current head
  • coverage-evidence no longer fails on missing llvm tools

OpenCode Review Dispatch failed TEPP#46 because cargo-llvm-cov could not
find llvm-tools-preview. Install Debian llvm in the offline coverage image
and export LLVM_COV/LLVM_PROFDATA in ensure_rust_toolchain before coverage.
@cursor

cursor Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f2480c50-7715-48da-8bdc-92d48560248c


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

Comment @coderabbitai help to get the list of available commands.

@seonghobae

Copy link
Copy Markdown
Contributor Author

@opencode-agent review

Please APPROVE exact head 7badfd61e0031e632ddcf9394ba21500097cb7ee if the llvm bake is sound. This unblocks Rust coverage-evidence (TEPP #46 OpenCode APPROVE). Last pusher is seonghobae; no self-approve.

@seonghobae

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review please review exact head 7badfd6.

This unblocks TEPP#46 OpenCode primary APPROVE: coverage-evidence was failing with missing llvm-tools-preview / LLVM_COV. This PR bakes Debian llvm into the offline coverage image and exports LLVM_COV/LLVM_PROFDATA.

Strix on the prior attempt was NIM 429 then runner cancel (infra), not a finding. Requeued.

@seonghobae

Copy link
Copy Markdown
Contributor Author

@opencode-agent review exact head 7badfd61e0031e632ddcf9394ba21500097cb7ee.

Required checks no longer list Strix as in progress. Remaining merge 405 is last-pusher approval only. Please APPROVE this llvm bake if sound so TEPP #46 can get a current-head OpenCode APPROVE. No self-approve.

@seonghobae

Copy link
Copy Markdown
Contributor Author

Hourly: Strix green; OpenCode Review Dispatch at coverage-evidence waiting on runners. All other checks green. Need independent APPROVE then merge to unblock TEPP#46 llvm-tools.

Head 7badfd6. No self-approve.

@seonghobae

Copy link
Copy Markdown
Contributor Author

Hourly: All required checks green (incl. Strix). OpenCode Review Dispatch coverage-evidence success on this head; opencode-review job still in_progress (~30m+, runner 1000965167) at https://github.com/ContextualWisdomLab/.github/actions/runs/31987744089

.github ruleset needs 2 approving reviews + last-push approval (author/last pusher is seonghobae). @opencode-agent @cwl-noema-review please complete APPROVE on 7badfd6 when review finishes. Unblocks TEPP#46 llvm-tools OpenCode path.

@seonghobae

Copy link
Copy Markdown
Contributor Author

Hourly: Force-cancelled hung OpenCode run; redispatched via merge scheduler.

New OpenCode Review Dispatch https://github.com/ContextualWisdomLab/.github/actions/runs/31996005046coverage-evidence success, opencode-review in_progress.

Ruleset: 2 APPROVEs + last-push approval (pusher seonghobae). @opencode-agent @cwl-noema-review please APPROVE 7badfd6 when complete. Unblocks TEPP#46.

Unblocks TEPP#46 primary APPROVE after sticky coverage-evidence llvm gap.
seonghobae added a commit that referenced this pull request Aug 19, 2026
Same fix as #1081/#1072: install Debian llvm and export LLVM_COV/
LLVM_PROFDATA so OpenCode coverage-evidence can run cargo-llvm-cov on
Rust repos (e.g. TEPP#46) without rustup llvm-tools-preview.

#1081 concurrency group is held by a non-terminating cancelled model-pool
job; new PR number frees repository_dispatch concurrency.
seonghobae added a commit that referenced this pull request Aug 19, 2026
Same fix as #1081/#1072: install Debian llvm and export LLVM_COV/
LLVM_PROFDATA so OpenCode coverage-evidence can run cargo-llvm-cov on
Rust repos (e.g. TEPP#46) without rustup llvm-tools-preview.

#1081 concurrency group is held by a non-terminating cancelled model-pool
job; new PR number frees repository_dispatch concurrency.

Copy link
Copy Markdown
Contributor Author

Superseded by #1089. The v3 PR is the same bounded system-LLVM coverage fix on current main with a fresh concurrency identity, current exact-head required checks green, and auto-merge armed. Closing this older landing vehicle prevents duplicate coverage producer changes.

@seonghobae seonghobae closed this Aug 19, 2026
seonghobae added a commit that referenced this pull request Aug 19, 2026
Same fix as #1081/#1072: install Debian llvm and export LLVM_COV/
LLVM_PROFDATA so OpenCode coverage-evidence can run cargo-llvm-cov on
Rust repos (e.g. TEPP#46) without rustup llvm-tools-preview.

#1081 concurrency group is held by a non-terminating cancelled model-pool
job; new PR number frees repository_dispatch concurrency.
seonghobae added a commit that referenced this pull request Aug 20, 2026
Same fix as #1081/#1072: install Debian llvm and export LLVM_COV/
LLVM_PROFDATA so OpenCode coverage-evidence can run cargo-llvm-cov on
Rust repos (e.g. TEPP#46) without rustup llvm-tools-preview.

#1081 concurrency group is held by a non-terminating cancelled model-pool
job; new PR number frees repository_dispatch concurrency.
seonghobae added a commit that referenced this pull request Aug 20, 2026
Same fix as #1081/#1072: install Debian llvm and export LLVM_COV/
LLVM_PROFDATA so OpenCode coverage-evidence can run cargo-llvm-cov on
Rust repos (e.g. TEPP#46) without rustup llvm-tools-preview.

#1081 concurrency group is held by a non-terminating cancelled model-pool
job; new PR number frees repository_dispatch concurrency.
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