fix(opencode): restore coverage-blocked status after fallback review - #1056
fix(opencode): restore coverage-blocked status after fallback review#1056cursor[bot] wants to merge 3 commits into
Conversation
OriginWeave #47 posted the same coverage-gate body as both the formal review and the issue comment, citing opencode-review.yml:1 while the diff was a Rust crate. Split those surfaces, still review changed product files when coverage-evidence fails, label crates/ as a Rust surface, and install the declared rustup channel plus llvm-tools in the isolated coverage image. Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Update the independent-reviewer workflow hash after the publisher split, and add the remaining OriginWeave-style rustup/mermaid branches so scripts/ci stays at 100% coverage. Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
create_pull_review COMMENT rewrites the issue comment to Gate result: COMMENT. On the OriginWeave #47 path — coverage miss plus unavailable model — that left the status surface looking finished. Restore COVERAGE_BLOCKED after the product-file review, and list extracted Rust API names without inventing a classDiagram edge. Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
|
Fresh downstream evidence for the central coverage/review boundary: |
|
Fresh consumer canary for this same review-surface/control-plane boundary: Central OpenCode dispatch run Separately, the unchanged OriginWeave exact head has its own native The current formal OpenCode review Please treat this as a second acceptance canary, not permission to make coverage fail open. Required repair/verification: (1) recover or expose the exact isolated-sandbox failure boundary from the central run so a genuine merge-tree product defect can still be handed back precisely when one exists; (2) when coverage is unavailable/failed without independently source-backed finding evidence, retain a typed non-passing |
|
Fresh third consumer canary for the same central coverage/review boundary: Central OpenCode workflow run OriginWeave-native exact-head CI and Manifest V3 evidence for the same caller head are green. That leaf evidence does not override a failing central merge/review boundary, but it is a useful differential signal. The current connector has not exposed the inner failed-step log body, so no deeper command/test/error string is asserted here. Acceptance for the central owner path: repair or expose the exact coverage-bootstrap failure boundary so the central path either emits valid coverage evidence or a typed fail-closed infrastructure/coverage-blocked classification; do not convert a pre-model control-plane failure into a source-code |
|
Fresh OriginWeave owner-boundary evidence for the same coverage-blocked review-surface class:
Please treat #40 as another real acceptance case for this existing central repair lane: preserve genuine coverage failure as fail-closed, expose/recover the first isolated-sandbox causal boundary, and keep infrastructure/control-plane coverage-blocked state separate from semantic source findings. After the central repair integrates, the OriginWeave owner should fresh-dispatch/revalidate this exact or then-current head. If recovered evidence proves an OriginWeave defect, return the exact failing command/test/source boundary. |
Fold the two buyer-visible honesty fixes from draft #1056 without merging it. publish_fallback_diff_review still posts a COMMENT product-file review, then restores COVERAGE_BLOCKED on the status comment so a coverage miss cannot look finished as Gate result: COMMENT. Mermaid class diagrams now list extracted public Rust API names only and no longer invent a FirstType --> SecondType edge. Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Fold the two buyer-visible honesty fixes from draft #1056 without merging it. publish_fallback_diff_review still posts a COMMENT product-file review, then restores COVERAGE_BLOCKED on the status comment so a coverage miss cannot look finished as Gate result: COMMENT. Mermaid class diagrams now list extracted public Rust API names only and no longer invent a FirstType --> SecondType edge. Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
|
Fresh OriginWeave consumer canary for the same central coverage/review boundary: The current formal OpenCode review on that same exact head is Please use this exact unchanged consumer head as another #1056 acceptance canary: preserve fail-closed coverage behavior, but recover/expose the exact sandbox failure when possible and avoid synthesizing a source-file/root-cause repair claim from a coverage-control-plane failure alone. If the sandbox ultimately proves an OriginWeave defect, route the exact command/test/source boundary back to the leaf; otherwise retain a typed coverage-blocked/control-plane outcome. After the central owner fix lands, only a fresh dispatch on the then-current #46 head should supersede this evidence. No OriginWeave product workaround is appropriate for this owner defect. |
|
Fresh OriginWeave evidence for the central coverage/review owner: two independently native-green branches still reproduce the central
This recurrence across a direct-main root and its aligned child is evidence of the central coverage-evidence/review boundary, not a reason to mutate OriginWeave product code or weaken the gate. Please use these exact heads/runs as regression inputs for #1056; preserve fail-closed behavior, but make the trusted test/docstring measurement reliably recognize the repository's already-green native Rust/exact-coverage evidence path. |
|
Fresh exact-head acceptance canary for the same central review/coverage boundary: OriginWeave-native evidence is terminal on that unchanged head: CI The latest formal OpenCode review is also anchored to this exact head and remains Please keep the central gate fail-closed, but use this exact unchanged consumer head to verify #1056's intended non-conflation contract: a failed/unavailable coverage-evidence boundary must remain non-passing and clearly typed, without fabricating a source path/severity/root cause/fix unless source-backed evidence actually proves one. After the central owner repair lands, rerun against the then-current unchanged #37 head and require coherent same-head coverage evidence before any approval. No OriginWeave-local workaround is appropriate for this owner defect. |
|
Fresh OriginWeave consumer canary for this owner lane: |
|
Fresh OriginWeave consumer evidence on the same fail-closed review/coverage owner boundary: OriginWeave-native exact-head evidence is terminal green: CI run The central OpenCode dispatch for this exact head is run This current canary is useful because the failure has moved from the prior isolated sandbox/test phase to the trusted-evidence-selection phase while OriginWeave-native exact-head coverage remains proven. Please keep the central path fail-closed, but repair/diagnose the selector/provenance contract so an exact-head trusted repository coverage artifact can be selected or the run emits a typed evidence-blocked state without manufacturing an OriginWeave source finding. No OriginWeave product workaround is appropriate unless the central path returns a concrete source-owned failing command/test boundary. After the central fix lands, fresh-dispatch the then-current unchanged #37 head and require coherent exact-head coverage provenance plus semantic review. |
|
Fresh recurrence on the same OriginWeave acceptance canary, without OriginWeave source churn: A later central OpenCode dispatch, run Please keep this as a fail-closed owner regression input: fix or expose the exact |
|
Fresh exact-current OriginWeave canary after the earlier #37 evidence: OriginWeave-native same-head runs are terminal green: CI The central review boundary still reproduces independently on this exact unchanged head. Formal OpenCode Please treat |
Fold the two buyer-visible honesty fixes from draft #1056 without merging it. publish_fallback_diff_review still posts a COMMENT product-file review, then restores COVERAGE_BLOCKED on the status comment so a coverage miss cannot look finished as Gate result: COMMENT. Mermaid class diagrams now list extracted public Rust API names only and no longer invent a FirstType --> SecondType edge. Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Summary
This is the landing vehicle for the OriginWeave #47 review-surface split (#1052) plus two buyer-visible gaps found on that draft:
publish_fallback_diff_reviewposts a COMMENT product-file review, andcreate_pull_review COMMENTrewrites the issue comment toGate result: COMMENT. On the real ⚡ Bolt: opencode_review_normalize_output.py의 iter_json_objects 성능 최적화 #47 path — coverage miss plus unavailable model — that left the status surface looking finished. The fallback publisher now restoresCOVERAGE_BLOCKEDafter the review so the next action is still “fix coverage evidence, then rerun OpenCode.”FirstType --> SecondType. It now lists the extracted API names only.Coverage remains a fail-closed gate, not the review. Formal review still names the changed crate files. The central workflow file is still not cited unless it is in the diff. Isolated coverage still installs the declared rustup channel plus
llvm-tools-preview. Read-only review-agent keys andNVIDIA_NIM_API_KEYrouting are unchanged. NoCOPILOT_GITHUB_TOKEN.Prefer this branch over draft #1052. Close or supersede #1052 after this head is reviewed.
Test plan
tests/test_opencode_review_surfaces.py— fallback publisher restoresCOVERAGE_BLOCKED; two public Rust items do not get a fabricated class edgetests/test_pr_review_autofix_nvidia_nim_contract.py— independent-reviewer dispatch blob pin updatedcoverage run -m pytest tests && coverage report --show-missing(1162 passed, 100%) andinterrogate(100%)Next action
Review this head. Do not merge #1052 while it still leaves
Gate result: COMMENTon a coverage miss.