fix: fail closed for stopped Podman machine evidence - #188
Conversation
|
Warning Review limit reached
Next review available in: 50 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. 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 (2)
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. Comment |
|
@coderabbitai review |
|
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 headdf84cf60a26755f697f346fce065c74533f3028b. -
Head SHA:
df84cf60a26755f697f346fce065c74533f3028b -
Workflow run: 31900463765
-
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["Changed file (2 files)"]
S1 --> I1["repository behavior"]
I1 --> R1["Review risk: Changed file (2 files)"]
R1 --> V1["required checks"]
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["Changed file (2 files)"]
S1 --> I1["repository behavior"]
I1 --> R1["Review risk: Changed file (2 files)"]
R1 --> V1["required checks"]
|
Dismissing: this REQUEST_CHANGES referenced workflow run 31900463765 where coverage-evidence failed at the same head SHA. coverage-evidence has since been re-run and now reports pass (verified via gh pr checks). No unresolved review threads remain. Re-request review to re-validate.
Purpose
Fail closed when
podman machine inspectreports a non-running machine. The reclaim probe previously skipped guest filesystem evidence but could continue live API probes and return incomplete evidence without a stable machine-state issue.Exact current state
0041a492fbb398abad167c9259ad9c81ed936f9a.main:be418bac9bfbdc8aa41b1a698713833e3dbccfdc.src-tauri/src/podman_reclaim.rsplus its focused integration regression.31595798025, Release31595798087, Security Scan31595798037, and SAST Semgrep31595798023all completedsuccess.COMMENTEDreview whose Scorecard finding targeted a predecessor temporary repair workflow. That thread is now both resolved and outdated; the repair workflow is no longer part of the current semantic delta. It is not treated as approval.Test-first repair
d4bfa028cfdb5aee60643d8efa9cba109ffa8f0cadded a credential-free Unix regression using a local fake executable and filesystem fixture.podman machine inspect, emits stablepodman-machine-not-runningwhen a discovered machine is stopped, retains raw-image observation, and gates guest/store/system-df/image probes so they are not invoked for the stopped machine.Remaining integration blocker
Feature-local/current-head evidence is green, but repository-wide exact 100% owned-production statement/branch/function/line coverage remains materially unsatisfied on canonical coverage owner #156. This PR therefore remains Draft; local green evidence does not waive the repository-wide quality contract.
Required before merge
Keep Draft until the unchanged exact head satisfies every applicable live required workflow at integration time, every valid current-head finding is addressed, repository-wide exact coverage is satisfied without exclusions or threshold weakening, and fresh live-base ancestry remains current. Pending, queued, skipped-required, failed, stale, predecessor, diagnostic-only, status-only, model-only, or synthetic evidence is not passing.