Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/opencode-review-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -653,10 +653,21 @@ jobs:
r-cran-covr \
r-cran-testthat \
rustc \
rust-llvm \
util-linux \
vulkan-tools \
xz-utils \
&& rm -rf /var/lib/apt/lists/*
RUN set -eu; \
rust_llvm_tools_dir="$(dirname "$(rustc --print target-libdir)")/bin"; \
test -x "$rust_llvm_tools_dir/llvm-cov"; \
test -x "$rust_llvm_tools_dir/llvm-profdata"; \
ln -s "$rust_llvm_tools_dir/llvm-cov" /usr/local/bin/rust-llvm-cov; \
ln -s "$rust_llvm_tools_dir/llvm-profdata" /usr/local/bin/rust-llvm-profdata; \
/usr/local/bin/rust-llvm-cov --version; \
/usr/local/bin/rust-llvm-profdata --version
ENV LLVM_COV=/usr/local/bin/rust-llvm-cov \
LLVM_PROFDATA=/usr/local/bin/rust-llvm-profdata
RUN curl --proto '=https' --tlsv1.2 -fsSLo /tmp/node-linux-x64.tar.xz \
https://nodejs.org/dist/v24.18.0/node-v24.18.0-linux-x64.tar.xz \
&& echo '55aa7153f9d88f28d765fcdad5ae6945b5c0f98a36881703817e4c450fa76742 /tmp/node-linux-x64.tar.xz' | sha256sum -c - \
Expand Down
4 changes: 4 additions & 0 deletions scripts/ci/test_strix_quick_gate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,10 @@ assert_file_contains "$REPO_ROOT/scripts/ci/run_opencode_review_model_pool.sh" '
assert_file_not_contains "$workflow_file" "https://sh.rustup.rs" "coverage refuses a mutable Rust network installer"
assert_file_contains "$workflow_file" "cargo-llvm-cov-x86_64-unknown-linux-musl.tar.gz" "coverage pins the official cargo-llvm-cov 0.8.7 Linux asset"
assert_file_contains "$workflow_file" "967b5cc996c29d8baa52bbb4595ef1f53af35255af8e2036ddbc6468d7b523c7" "coverage verifies the official cargo-llvm-cov 0.8.7 asset digest"
assert_file_contains "$workflow_file" "rust-llvm \\" "coverage installs LLVM tools built for the Debian Rust compiler"
assert_file_contains "$workflow_file" 'rustc --print target-libdir' "coverage resolves LLVM tools from the active Rust compiler sysroot"
assert_file_contains "$workflow_file" "ENV LLVM_COV=/usr/local/bin/rust-llvm-cov" "coverage tells cargo-llvm-cov where to find the trusted llvm-cov binary"
assert_file_contains "$workflow_file" "LLVM_PROFDATA=/usr/local/bin/rust-llvm-profdata" "coverage tells cargo-llvm-cov where to find the trusted llvm-profdata binary"
assert_file_contains "$workflow_file" "Run merge scheduler after approval" "opencode approval runs the merge scheduler after current-head review publication"
assert_file_contains "$workflow_file" "python3 scripts/ci/pr_review_merge_scheduler.py" "opencode approval directly executes the trusted central merge scheduler when required workflows are not repo-local dispatch targets"
assert_file_contains "$workflow_file" "--require-opencode-app" "opencode approval reuse and post-publication follow-up reject GitHub Actions-authored review evidence"
Expand Down
Loading