Skip to content

fix(opencode): system llvm for cargo-llvm-cov (v3 concurrency) - #1089

Open
seonghobae wants to merge 2 commits into
mainfrom
fix/opencode-coverage-llvm-tools-v3
Open

fix(opencode): system llvm for cargo-llvm-cov (v3 concurrency)#1089
seonghobae wants to merge 2 commits into
mainfrom
fix/opencode-coverage-llvm-tools-v3

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Same llvm bake as #1081 / #1072 so OpenCode Review Dispatch coverage-evidence can run cargo-llvm-cov on Rust repos.

Why v3

Unblocks

  • TEPP#46 commercialization serial (local CI green; blocked only on central OpenCode APPROVE after llvm bake).

Test plan

Summary by CodeRabbit

  • 개선 사항
    • 코드 커버리지 측정 환경에서 LLVM 도구를 안정적으로 사용할 수 있도록 개선했습니다.
    • 시스템에 설치된 LLVM 도구를 자동으로 감지하고 실행 경로를 설정합니다.

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.
@cursor

cursor Bot commented Aug 17, 2026

Copy link
Copy Markdown

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

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 33291f64-fc49-4b06-976a-38de79d5add1

📥 Commits

Reviewing files that changed from the base of the PR and between c47afc2 and 16d2301.

📒 Files selected for processing (1)
  • .github/workflows/opencode-review-dispatch.yml

Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

Coverage 이미지에 LLVM을 설치하고 llvm-covllvm-profdata를 고정 경로로 연결합니다. Rust toolchain 초기화는 명시적 설정이 없을 때 시스템 LLVM 경로를 사용합니다.

Changes

LLVM coverage toolchain

Layer / File(s) Summary
Coverage 이미지의 LLVM 도구 설치
.github/workflows/opencode-review-dispatch.yml
이미지에 llvm를 설치합니다. llvm-covllvm-profdata를 탐색한 후 /usr/local/bin에 심볼릭 링크를 생성합니다. LLVM_COVLLVM_PROFDATA를 고정 경로로 설정합니다.
Rust toolchain의 LLVM 경로 보완
.github/workflows/opencode-review-dispatch.yml
LLVM_COV 또는 LLVM_PROFDATA가 없으면 시스템에서 검색한 실행 파일 경로를 설정합니다. 기존 환경 변수는 유지합니다.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 16d23

This PR makes a localized workflow change to provide system LLVM tooling for coverage checks. No actionable merge-blocking risk remains beyond normal checks and review.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 제목은 system LLVM을 사용해 cargo-llvm-cov를 지원하는 주요 변경 사항을 명확하게 설명합니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/opencode-coverage-llvm-tools-v3

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

Opened as v3 because #1081 concurrency group is held by non-terminating cancelled model-pool job. Priority unblock for ContextualWisdomLab/TEPP#46. Land this; close #1081/#1072 as superseded.

All required checks green including Strix. Trigger pull_request_target
merge-scheduler path so OpenCode can APPROVE llvm bake for TEPP#46.
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