fix(coverage): restore validated npm workspace lock owners - #748
fix(coverage): restore validated npm workspace lock owners#748seonghobae wants to merge 24 commits into
Conversation
|
Warning Review limit reached
Next review available in: 18 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Comment |
|
Stack correction: #731 was closed without merge on August 4, 2026, so it is not a valid remaining dependency and none of its checks or reviews are transferable. Keep this PR draft at exact head |
4d3bd2c to
785f2c2
Compare
785f2c2 to
b715577
Compare
|
Exact-head downstream evidence from At BandScope head Please preserve the supply-chain boundary rather than broadly skipping incomplete entries. A reviewable acceptance rule is: permit a metadata-only nested entry only when the lock contains a canonical package entry for the same package identity/version whose |
7d01600 to
dcbd777
Compare
b715577 to
f070c50
Compare
|
Closing this stale stacked draft. Its current head is the protected |
|
Correction after re-reading the live branch: the stale stack was already reset and retargeted to protected |
|
Release blocker: current scope is still a branch-rebuilding workflow plus @opencode-agent address Delete |
|
@jules Complete the existing current-main rebuild on exact live head The branch still exposes only Final base-to-head changed paths must be exactly:
Preserve the protected-main LLVM 19 toolchain and all existing central security/reviewer boundaries. Do not absorb the separate nested metadata-pin problem from #807 into this PR. Run focused resolver statement/branch coverage 100%, interrogate 100%, compileall, Ruff, complete central tests, workflow contracts, and |
There was a problem hiding this comment.
Pull request overview
OpenCode cannot approve yet because required coverage evidence did not pass.
Review outcome
1. HIGH .github/workflows/opencode-review.yml:1 - Coverage evidence did not prove required test/docstring evidence
-
Problem: The required coverage-evidence job result was
failure, so OpenCode cannot establish approval sufficiency for this head. -
Root cause: Automated approval is only valid when the same-head coverage-evidence job proves supported repository test suites passed and configured docstring gates passed or were advisory, or reports not applicable because no supported source files or package manifests exist. Missing, failed, skipped, unavailable, or unsupported-tooling test evidence is a blocker.
-
Fix: Install or configure the repository test/docstring evidence tooling when source files or package manifests exist, rerun the current-head coverage-evidence job, and approve only after it reports
successwith required evidence or explicit no-source not-applicable evidence. -
Regression test: Keep the approval branch checking
needs.coverage-evidence.result == successbefore posting APPROVE, and publish REQUEST_CHANGES when coverage-evidence blocker states such as cancelled, skipped, failed, unsupported-tooling, or below-100 evidence are present. -
Result: REQUEST_CHANGES
-
Reason: coverage-evidence result was
failure, so required test/docstring evidence was not proven for current head66d155513d08bce07c3d9c789797d43e2fe7b919. -
Head SHA:
66d155513d08bce07c3d9c789797d43e2fe7b919 -
Workflow run: 31135677183
-
Workflow attempt: 1
Coverage evidence
Coverage Decision
- Result: FAIL
- Test evidence: not proven passing
- Docstring evidence: not proven passing when configured
- Failure count: 1
Changed-File Evidence Map
flowchart LR
PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
Evidence --> S1["Workflow: rebuild-pr748-current-main.yml"]
S1 --> I1["GitHub Actions review job"]
I1 --> R1["Review risk: Workflow: rebuild-pr748-current-main.yml"]
R1 --> V1["actionlint plus required checks"]
Evidence --> S2["CI script: apply_pr748_current_main.py"]
S2 --> I2["review and security gate shell path"]
I2 --> R2["Review risk: CI script: apply_pr748_current_main.py"]
R2 --> V2["bash -n plus Strix self-test"]
OpenCode Review Overview
Pull request overviewOpenCode cannot approve yet because required coverage evidence did not pass. Review outcome1. HIGH .github/workflows/opencode-review.yml:1 - Coverage evidence did not prove required test/docstring evidence
Coverage evidenceCoverage Decision
Changed-File Evidence Mapflowchart LR
PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
Evidence --> S1["Workflow: rebuild-pr748-current-main.yml"]
S1 --> I1["GitHub Actions review job"]
I1 --> R1["Review risk: Workflow: rebuild-pr748-current-main.yml"]
R1 --> V1["actionlint plus required checks"]
Evidence --> S2["CI script: apply_pr748_current_main.py"]
S2 --> I2["review and security gate shell path"]
I2 --> R2["Review risk: CI script: apply_pr748_current_main.py"]
R2 --> V2["bash -n plus Strix self-test"]
|
|
자동 정리: base 대비 실제 변경(diff)이 0건이라 이 PR을 닫습니다. 변경을 추가한 뒤 reopen하세요. |
|
Finish the bounded current-main reconstruction through its existing self-removing materializer. Import only the reviewed seven-file npm workspace lock-owner contract while preserving the current LLVM 19 coverage baseline. Verify nearest validated npm workspace owner selection for nested packages, exact regular lockfile/package ownership, traversal/symlink/workspace-glob fail-closed behavior, immutable base provenance, resolver 100% statement/branch coverage and public docstrings, Python compilation, Ruff, full workflow contracts and security gates. The final diff must contain only the seven documented product files and no temporary repair workflow/helper. Do not approve, merge, release, use COPILOT_GITHUB_TOKEN, or alter protections. |
|
The PR now has an empty permanent diff after removing the PR-controlled rebuild and patch-application path. Closing the no-op branch; the npm workspace lock-owner repair must be rebuilt through ordinary reviewed source/test/doc commits if still needed. |
|
@cwl-noema-review @opencode-agent Please review the exact current head after restoring the bounded npm workspace-owner implementation and removing temporary repair scope. Do not reuse predecessor-head evidence. |
Purpose
Restore the fail-closed npm workspace lock-owner resolver and its central OpenCode coverage integration as a focused current-
mainchange.A selected nested package such as BandScope
apps/desktopmust install from its nearest validated npm workspace owner instead of requiring an invalid duplicate lockfile beside every workspace package.Rebuild state
The branch was reset to protected
mainatf070c504c1cb06891b800d7ab0cf6ac7d3cf8eaebecause the previous stacked base had diverged and accidentally removed the verified LLVM 19 coverage toolchain while applying the workspace resolver. A bounded exact-parent repair now reapplies only the reviewed seven-file npm workspace ownership contract and its tests while preserving the current central control-plane baseline.The temporary branch-repair helper and workflow must delete themselves before the verified product-policy commit is published. The final diff must contain exactly:
.github/workflows/opencode-review-dispatch.ymldocs/doctoring/npm-workspace-lock-ownership.mdscripts/ci/npm_workspace_install_root.pytests/npm_workspace_test_support.pytests/test_npm_workspace_install_root.pytests/test_npm_workspace_install_root_hardening.pytests/test_opencode_agent_contract.pyMerge gate
This PR remains Draft until the rebuilt seven-file diff is published and exact-head focused/full tests, resolver statement/branch coverage 100%, production docstrings 100%, Python compilation, Ruff, workflow contracts, security workflows, OpenCode, Noema, CodeRabbit, qualifying independent approval, unresolved-thread policy, and branch protection all succeed.
No predecessor-head check or review result is reused.