Repository navigation
fix(review): update offline Rust coverage toolchain #591
Copy link
Copy link
Open
Labels
area: apiAPI, protocol, event, or external contractAPI, protocol, event, or external contractarea: ci-cdCI, GitHub Actions, checks, release, or supply chainCI, GitHub Actions, checks, release, or supply chainbugSomething isn't workingSomething isn't workingpriority: highHigh-priority or P1 workHigh-priority or P1 workstatus: triagedOpen issue has an organization taxonomy assignmentOpen issue has an organization taxonomy assignmenttype: bugDefect or incorrect behaviorDefect or incorrect behavior
Description
Evidence
The required OpenCode repository_dispatch run https://github.com/ContextualWisdomLab/.github/actions/runs/29676953842 evaluated ContextualWisdomLab/codec-carver#250 at current head 4ffe820524640c84f904d93900a735cd21e61375.
- Python: 561 collected, 486 passed, 75 skipped, 100% line coverage.
- Python docstrings: 100%.
- Rust: failed before test execution because the trusted coverage image installed Ubuntu Cargo 1.75.0 and could not parse
edition = "2024". - Exact failure:
feature edition2024 is requiredandCargo 1.75.0.
The target crate builds and passes its Rust tests with the current stable toolchain. This is a central evidence-toolchain compatibility defect, not an application test failure.
Scope
- Replace the stale distro Cargo/rustc pair in the trusted offline coverage image with a digest-pinned official Rust stable amd64 image.
- Keep all PR-controlled execution under the existing
--network=none, tokenless, capability-restricted sandbox. - Preserve the hash-pinned
cargo-llvm-covand Python requirements contracts. - Add static regression assertions for the pinned Rust image, removal of distro Cargo/rustc, and current toolchain version evidence.
Acceptance criteria
- The central test suite, Ruff, workflow syntax, and
git diff --checkpass. - A new current-head
repository_dispatchrun forContextualWisdomLab/codec-carver#250reaches Rust coverage rather than failing manifest parsing. - Any subsequent Rust coverage gap is reported with exact missing-line evidence.
- The exact current-head OpenCode review is regenerated only after coverage evidence passes.
Agent: Codex
Recorded: 2026-07-19T15:58:00+09:00
Phase: Ops
Unblocks: ContextualWisdomLab/codec-carver#250
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: apiAPI, protocol, event, or external contractAPI, protocol, event, or external contractarea: ci-cdCI, GitHub Actions, checks, release, or supply chainCI, GitHub Actions, checks, release, or supply chainbugSomething isn't workingSomething isn't workingpriority: highHigh-priority or P1 workHigh-priority or P1 workstatus: triagedOpen issue has an organization taxonomy assignmentOpen issue has an organization taxonomy assignmenttype: bugDefect or incorrect behaviorDefect or incorrect behavior
Type
Projects
- StatusShow more project fieldsIn Progress
Activity
seonghobae commentedon Jul 19, 2026
PR #592 is at current head 137ff8b.
Current evidence:
The PR now pins the official Rust 1.97.1 linux/amd64 image by exact manifest digest, seals rustup/cargo paths, installs llvm-tools-preview during the trusted networked image build, and preserves the existing tokenless network-disabled PR sandbox. It also caps central review-process candidates at 15 minutes with a one-hour pool budget so an unavailable provider cannot starve every fallback.
Acceptance remains open until PR #592 merges and a new exact-head review of codec-carver#250 reaches real Rust coverage.
seonghobae commentedon Jul 19, 2026
Current-head retry 29683750497 reached successful coverage-evidence, then exhausted the real-model pool after about 183 minutes. Publish OpenCode review outcome failed with MODEL_OUTPUT_UNAVAILABLE; no review or comment was posted for head 137ff8b. Deterministic evidence correctly did not create an approval.
This is systemic rather than PR-local: among completed repository_dispatch OpenCode runs created after 2026-07-19T10:00:00Z, there were no successful runs; every completed run was failure or cancelled.
Live governance state:
PR #592 remains fully validated locally and blocked only on external real-model reviewer availability. The safe next action requires provider recovery or explicit authority for a temporary governance change; neither is being assumed.
seonghobae commentedon Aug 12, 2026
Current protected-main operational acceptance still reproduces this central coverage-toolchain defect.
6eb06cdd08c79a06f7b390069d4ffa49e2eb7dba.ContextualWisdomLab/disksage#181@ea192535bd467dc1a0121ca2886fcdecd04da502.coverage-evidencejob94050254880; metadata validation, bootstrap, and source-tree materialization all succeeded first.cargo-llvm-covcould not findllvm-tools-preview, so the coverage sandbox failed before it could produce qualifying Rust coverage evidence.PR #592 carried the intended pinned Rust/
llvm-tools-previewrepair but closed unmerged on 2026-08-03. The recurrence on the current protected head proves the issue is not resolved. Acceptance remains: port the bounded offline Rust toolchain repair onto the then-current protected base, rerun this exact coverage boundary successfully, and obtain a current-head consumer dispatch proving the installed LLVM tools are usable without network access.seonghobae commentedon Aug 16, 2026
Fresh protected-main consumer reproduction from
ContextualWisdomLab/OriginWeave#37at exact leaf headfe324f71ccd154f7759f009d8c34fb6247c7d070and protected OriginWeave main0c376acf059be9ddddddfbde1d0189e4f39ef014.Central OpenCode workflow revision is the same affected protected
.githubrevision already recorded here:6eb06cdd08c79a06f7b390069d4ffa49e2eb7dba.Exact central evidence:
31916575003,workflow_dispatch, completedfailure.coverage-evidencejob95089261092.astral-sh/setup-uv; the namedEnforce real coveragestep then failed.Coverage sandbox reported failing test, build, or coverage evidence (exit 1)and process exit 1.CHANGES_REQUESTEDfor absent coverage proof.Independent leaf evidence on the unchanged same OriginWeave head contradicts a leaf coverage-gap diagnosis: current OriginWeave CI run
31913805978completed successfully, including its exact100% production coveragejob, and current SAST/Security/MV3 evidence is also green. The leaf branch is mergeable against the same protected main and does not need a source mutation merely to retrigger central coverage.The central job log body is not currently retrievable through the available connector, so this reproduction does not invent whether the immediate stderr was specifically missing
llvm-tools-preview. However, it is the same central revision and same Rustcoverage-evidenceboundary as the already-proven DiskSage recurrence in this issue. Please include OriginWeave#37 in #591 acceptance/reproduction coverage and preserve the existing requirement: repair the central offline Rust coverage toolchain, then rerun the exact unchanged leaf head and regenerate the formal OpenCode verdict. A leaf workaround, weakened threshold, stale-review dismissal, or source churn is not justified by the evidence.seonghobae commentedon Aug 16, 2026
Additional same-class OriginWeave reproductions on unchanged direct-main heads, with independent leaf coverage green:
OriginWeave#45exact head6e615ecb9b946943f2e360a4ba4fe3ed8003ce6b: native CI31683160261succeeded, including Production coverage job94393052343; central OpenCode run31695895087at.github@6eb06cdd08c79a06f7b390069d4ffa49e2eb7dbahadcoverage-source-treesuccess, thencoverage-evidencejob94448811048failed specifically inMeasure test and docstring evidence, producing exact-head formalCHANGES_REQUESTED.OriginWeave#46exact head2132617a7eaa2d36b061c61841b34c744df63a50: native CI/SAST/Security are green; current exact-head formal OpenCode reviews report coverage-evidence failure in central runs31793734494and31799176620. Fresh fetch of31799176620confirms the same central source revision.github@6eb06cdd08c79a06f7b390069d4ffa49e2eb7dba.These join the already-routed
OriginWeave#37@fe324f71ccd154f7759f009d8c34fb6247c7d070reproduction. Please treat #37/#45/#46 as protected-main consumer acceptance cases for the same central Rust coverage-evidence owner path: repair centrally, rerun the unchanged exact leaf heads, and regenerate formal OpenCode verdicts. Do not require leaf source churn, lower coverage thresholds, or dismissal of current-head reviews as a substitute for fixing the control plane.seonghobae commentedon Sep 15, 2026
Fresh protected-main OriginWeave reproduction narrows the still-open offline Rust evidence defect beyond the earlier missing-toolchain cases.
Consumer:
ContextualWisdomLab/OriginWeave#229@3c0e8eb318db98eafdb477e726f77ecdf92883e8onmain@87c4daa1830bac5a5228b6036752ad5633232085. Its repository-owned native CI is runner-backed GREEN, including Production coverage job103574226026and Rust contracts job103574226152.Central OpenCode run
34701932468, coverage job103575361404, trusted workflowfb17ef556f94f673234aa557254ae52779e9a7b0reached the Rust command and failed because the network-disabled sandbox had no Cargo registry/index materialized:cargo llvm-cov --workspace --all-features --fail-under-lines 100 --show-missing-linesemittedUpdating crates.io index, thenCould not resolve host: index.crates.io, failing first onunicode-normalizationfororiginweave-coreand exiting 101. Replay guard and syntax gate had already passed; the final Coverage Decision failed after this Rust boundary.This matches the defect class and acceptance already embodied by open PR #1391 (
fix(coverage): prefetch locked Rust dependencies for offline evidence). #1391 currently has the intendedcargo fetch --locked+ credential stripping + content-addressed Cargo cache +CARGO_NET_OFFLINE=truedesign, but live state is7464d9d57c8434c6347125b7ed1070836ef460a3, mergeable=false, 11 commits ahead and 131 behind protected.github/main@91be6442906c7b6b4f600272c953699708394327. Its body’s older36ac3aa...head receipt is stale.Acceptance should therefore include a current-main ordinary non-force successor/restack of #1391 followed by an unchanged-head replay of OriginWeave #229 proving that the Rust graph resolves entirely from the bounded prefetched cache while the sandbox stays tokenless and network-disabled. No OriginWeave source mutation, threshold weakening, or network enablement is justified by this evidence.