Skip to content

Guard scheduler auto-merge against approved conflicts#467

Merged
opencode-agent[bot] merged 2 commits into
mainfrom
codex/conflict-automerge-guard
Jul 11, 2026
Merged

Guard scheduler auto-merge against approved conflicts#467
opencode-agent[bot] merged 2 commits into
mainfrom
codex/conflict-automerge-guard

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Summary

  • stop the merge scheduler from enabling auto-merge on PRs that still have DIRTY/CONFLICTING merge state, even when OpenCode approved the current head
  • disable any existing auto-merge request in that conflicted-approved state and keep merge-conflict repair guidance in the log
  • update scheduler self-test and pytest contract coverage

Verification

  • py -3.12 scripts\ci\pr_review_merge_scheduler.py --self-test
  • py -3.12 -m pytest tests\test_pr_review_merge_scheduler.py -q
  • codegraph status

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 success with required evidence or explicit no-source not-applicable evidence.

  • Regression test: Keep the approval branch checking needs.coverage-evidence.result == success before 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 head f38061fa0c7808ddbbccfe3f85fabcf43d479ad4.

  • Head SHA: f38061fa0c7808ddbbccfe3f85fabcf43d479ad4

  • Workflow run: 29169688591

  • Workflow attempt: 1

Coverage evidence

Coverage Evidence

  • Head SHA: f38061fa0c7808ddbbccfe3f85fabcf43d479ad4
  • Required test evidence: supported repository test suites must pass.
  • Required docstring evidence: repository-owned docstring gates must pass when configured; otherwise docstring coverage is advisory.

Python implementation completeness scan

$ python3 /home/runner/work/.github/.github/scripts/ci/implementation_completeness_scan.py --repo-root . --changed-files /tmp/tmp.2SFJ4AYwTN 
# Implementation Completeness Scan

- Checked runtime Python files: 1
- Declaration handling: typing.Protocol, abc.ABC, @abstractmethod, and @overload placeholders are treated as contracts, not executable missing implementations.
- Result: PASS
- Reason: no executable placeholder implementations were found in changed runtime Python files.
  • Result: PASS

Python project dependencies (.)

$ uv sync --project . --group dev 
Using CPython 3.12.3 interpreter at: /usr/bin/python3
Creating virtual environment at: .venv
Resolved 17 packages in 131ms
Downloading pygments (1.2MiB)
 Downloaded pygments
Prepared 13 packages in 106ms
Installed 13 packages in 16ms
 + attrs==26.1.0
 + click==8.4.2
 + colorama==0.4.6
 + coverage==7.15.0
 + iniconfig==2.3.0
 + interrogate==1.7.0
 + packaging==26.2
 + pluggy==1.6.0
 + py==1.11.0
 + pygments==2.20.0
 + pytest==9.1.1
 + pytest-cov==7.1.0
 + tabulate==0.10.0
  • Result: PASS

Python coverage with missing-line report (.)

$ bash -c cd\ \"\$1\"\ \&\&\ PYTHONPATH=.\ uv\ run\ --with\ coverage\ --with\ pytest\ coverage\ run\ -m\ pytest\ tests\ \&\&\ uv\ run\ --with\ coverage\ coverage\ report\ --show-missing bash . 
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/runner/work/.github/.github/pr-head
configfile: pyproject.toml
plugins: cov-7.1.0
collected 316 items

tests/test_assert_opencode_reasoning_effort.py ........                  [  2%]
tests/test_cloudflare_dns_contract.py ...                                [  3%]
tests/test_codeql_pr_workflow_contract.py .                              [  3%]
tests/test_filter_gitleaks_sarif.py ........                             [  6%]
tests/test_fuzz_targets.py .                                             [  6%]
tests/test_implementation_completeness_scan.py .......                   [  8%]
tests/test_install_python_requirements_for_coverage.py .......           [ 11%]
tests/test_noema_review_gate.py ................                         [ 16%]
tests/test_opencode_agent_contract.py ...................                [ 22%]
tests/test_opencode_docker_evidence_contract.py .                        [ 22%]
tests/test_opencode_review_context.py ......                             [ 24%]
tests/test_opencode_review_normalize_output.py ......................... [ 32%]
                                                                         [ 32%]
tests/test_opencode_workflow_shell_syntax.py .                           [ 32%]
tests/test_pr_auto_rebase.py ........................................... [ 46%]
....                                                                     [ 47%]
tests/test_pr_governance_audit_contract.py ...                           [ 48%]
tests/test_pr_review_fix_scheduler.py ....................               [ 54%]
tests/test_pr_review_fix_scheduler_coverage.py ..                        [ 55%]
tests/test_pr_review_merge_scheduler.py ................................ [ 65%]
.........................................                                [ 78%]
tests/test_render_opencode_prompt_template.py ....                       [ 79%]
tests/test_required_workflow_queue_contract.py ......................... [ 87%]
...                                                                      [ 88%]
tests/test_review_execution_contracts.py ..                              [ 89%]
tests/test_sandboxed_verify.py .........                                 [ 92%]
tests/test_sandboxed_web_e2e.py ..............                           [ 96%]
tests/test_sbom_inventory_aggregator.py ...........                      [100%]

============================= 316 passed in 7.31s ==============================
Name                                                     Stmts   Miss  Cover   Missing
--------------------------------------------------------------------------------------
scripts/ci/assert_opencode_reasoning_effort.py              61      0   100%
scripts/ci/filter_gitleaks_sarif.py                         58      0   100%
scripts/ci/implementation_completeness_scan.py             145      0   100%
scripts/ci/install_python_requirements_for_coverage.py      42      0   100%
scripts/ci/noema_review_gate.py                            330      0   100%
scripts/ci/opencode_review_context.py                       51      0   100%
scripts/ci/opencode_review_normalize_output.py             430      0   100%
scripts/ci/pr_auto_rebase.py                               315      0   100%
scripts/ci/pr_review_autofix_context.py                    124      0   100%
scripts/ci/pr_review_fix_scheduler.py                      196      0   100%
scripts/ci/pr_review_merge_scheduler.py                   1291      1    99%   1630
scripts/ci/render_opencode_prompt_template.py               21      0   100%
scripts/ci/review_execution_contracts.py                   201      0   100%
scripts/ci/sandboxed_verify.py                             108      0   100%
scripts/ci/sandboxed_web_e2e.py                            153      0   100%
scripts/ci/sbom_inventory_aggregator.py                    176      0   100%
--------------------------------------------------------------------------------------
TOTAL                                                     3702      1    99%
Coverage failure: total of 99 is less than fail-under=100
  • Result: FAIL (exit 2)

Python docstring coverage advisory

$ bash -c python3\ -m\ interrogate\ .\ \|\|\ true 
RESULT: PASSED (minimum: 100.0%, actual: 100.0%)
  • Result: PASS

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["CI script: pr_review_merge_scheduler.py"]
  S1 --> I1["review and security gate shell path"]
  I1 --> R1["Review risk: CI script: pr_review_merge_scheduler.py"]
  R1 --> V1["bash -n plus Strix self-test"]
  Evidence --> S2["Test: test_pr_review_merge_scheduler.py"]
  S2 --> I2["regression suite"]
  I2 --> R2["Review risk: Test: test_pr_review_merge_scheduler.py"]
  R2 --> V2["targeted test run"]
Loading

@github-actions

github-actions Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

OpenCode Review Overview

  • Head SHA: cf8f9ad9200b38f6db7856886c8b3d4043896957
  • Workflow run: 29169916475
  • Workflow attempt: 1
  • Gate result: APPROVE (approval step)

Pull request overview

OpenCode reviewed the current-head bounded evidence and found no blocking issues.

Findings

No blocking findings.

Summary

Approval sufficiency: bounded evidence supplied affirmative approval evidence for changed files, coverage/docstring posture, risk surfaces, and current-head verification; approval is not based merely on the absence of known blockers.
Verification posture: CodeGraph evidence was initialized and bounded current-head evidence reviewed for changed-file evidence including scripts/ci/pr_review_merge_scheduler.py, tests/test_pr_review_merge_scheduler.py.
Linter/static: workflow/static review evidence is bounded by the current-head GitHub Checks gate and changed-file evidence.
TDD/regression: coverage execution evidence and focused changed hunks were reviewed from bounded-review-evidence.md.
Coverage: coverage execution evidence reports supported repository test suites passed.
Docstring coverage: coverage execution evidence reports configured repository docstring gates passed or docstring coverage was advisory.
DAG: CodeGraph/source-backed behavior map connects scripts/ci/pr_review_merge_scheduler.py to the affected review, runtime, or workflow path and required checks.
PoC/execution: coverage-evidence job executed on the current head and reported PASS.
DDD/domain: workflow and repository-governance invariants were reviewed against changed files in bounded evidence.
CDD/context: CodeGraph evidence, changed-file history, and focused hunks were reviewed from bounded-review-evidence.md.
Similar issues: changed-file history evidence was reviewed for comparable local precedents.
Claim/concept check: bounded evidence, repository source, current-head workflow evidence, and, where numeric, scientific, statistical, or literature-backed claims are affected, original-paper/formula evidence and parameter-recovery expectations were used for claims.
Standards search: standards and external-source checks are delegated to configured OpenCode web_search/Context7/DeepWiki sources when applicable; no evidence-backed standards blocker is present in bounded evidence.
Compatibility/convention: changed workflow/script conventions, object naming, and reserved-word safety for schema/API/config/code surfaces were checked in bounded evidence.
Breaking-change/backcompat: deployment evidence and changed-file history were checked for backward-compatibility risk.
Performance: changed surfaces were checked for performance risk in bounded evidence.
Developer experience: changed automation, review, test, setup, and maintenance surfaces were checked for helpful or obstructive DX impact in bounded evidence.
User experience: connected user, operator, API, CLI, documentation, review-comment, status-check, rendering, and workflow-reader behavior was checked for contradictions against code, docs, and tests in bounded evidence.
Visual/DOM: Playwright visual, DOM locator, ARIA snapshot, console, and responsive evidence were checked when a web UI surface was present; for non-web surfaces, API/CLI/log/docs/workflow interaction evidence was reviewed instead.
Accessibility/i18n: accessibility, localization, and human-readable text surfaces were checked where UI, CLI, API message, docs, logs, or review text changed.
Supply-chain/license: dependency, package, model, container, and external-tool changes were checked in bounded evidence.
Packaging: package, build, test, lint, and security contracts were checked in bounded evidence.
Security/privacy: workflow-token, review-gate, and repository-automation security/privacy boundaries were checked in bounded evidence.

  • Result: APPROVE
  • Reason: PR updates merge scheduler to block auto-merge for conflicted PRs, with passing tests and coverage
  • Head SHA: cf8f9ad9200b38f6db7856886c8b3d4043896957
  • Workflow run: 29169916475
  • Workflow attempt: 1

Changed-File Evidence Map

flowchart LR
  PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
  Evidence --> S1["CI script: pr_review_merge_scheduler.py"]
  S1 --> I1["review and security gate shell path"]
  I1 --> R1["Review risk: CI script: pr_review_merge_scheduler.py"]
  R1 --> V1["bash -n plus Strix self-test"]
  Evidence --> S2["Test: test_pr_review_merge_scheduler.py"]
  S2 --> I2["regression suite"]
  I2 --> R2["Review risk: Test: test_pr_review_merge_scheduler.py"]
  R2 --> V2["targeted test run"]
Loading

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 success with required evidence or explicit no-source not-applicable evidence.

  • Regression test: Keep the approval branch checking needs.coverage-evidence.result == success before 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 head f38061fa0c7808ddbbccfe3f85fabcf43d479ad4.

  • Head SHA: f38061fa0c7808ddbbccfe3f85fabcf43d479ad4

  • Workflow run: 29169688591

  • Workflow attempt: 2

Coverage evidence

Coverage Evidence

  • Head SHA: f38061fa0c7808ddbbccfe3f85fabcf43d479ad4
  • Required test evidence: supported repository test suites must pass.
  • Required docstring evidence: repository-owned docstring gates must pass when configured; otherwise docstring coverage is advisory.

Python implementation completeness scan

$ python3 /home/runner/work/.github/.github/scripts/ci/implementation_completeness_scan.py --repo-root . --changed-files /tmp/tmp.2SFJ4AYwTN 
# Implementation Completeness Scan

- Checked runtime Python files: 1
- Declaration handling: typing.Protocol, abc.ABC, @abstractmethod, and @overload placeholders are treated as contracts, not executable missing implementations.
- Result: PASS
- Reason: no executable placeholder implementations were found in changed runtime Python files.
  • Result: PASS

Python project dependencies (.)

$ uv sync --project . --group dev 
Using CPython 3.12.3 interpreter at: /usr/bin/python3
Creating virtual environment at: .venv
Resolved 17 packages in 131ms
Downloading pygments (1.2MiB)
 Downloaded pygments
Prepared 13 packages in 106ms
Installed 13 packages in 16ms
 + attrs==26.1.0
 + click==8.4.2
 + colorama==0.4.6
 + coverage==7.15.0
 + iniconfig==2.3.0
 + interrogate==1.7.0
 + packaging==26.2
 + pluggy==1.6.0
 + py==1.11.0
 + pygments==2.20.0
 + pytest==9.1.1
 + pytest-cov==7.1.0
 + tabulate==0.10.0
  • Result: PASS

Python coverage with missing-line report (.)

$ bash -c cd\ \"\$1\"\ \&\&\ PYTHONPATH=.\ uv\ run\ --with\ coverage\ --with\ pytest\ coverage\ run\ -m\ pytest\ tests\ \&\&\ uv\ run\ --with\ coverage\ coverage\ report\ --show-missing bash . 
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/runner/work/.github/.github/pr-head
configfile: pyproject.toml
plugins: cov-7.1.0
collected 316 items

tests/test_assert_opencode_reasoning_effort.py ........                  [  2%]
tests/test_cloudflare_dns_contract.py ...                                [  3%]
tests/test_codeql_pr_workflow_contract.py .                              [  3%]
tests/test_filter_gitleaks_sarif.py ........                             [  6%]
tests/test_fuzz_targets.py .                                             [  6%]
tests/test_implementation_completeness_scan.py .......                   [  8%]
tests/test_install_python_requirements_for_coverage.py .......           [ 11%]
tests/test_noema_review_gate.py ................                         [ 16%]
tests/test_opencode_agent_contract.py ...................                [ 22%]
tests/test_opencode_docker_evidence_contract.py .                        [ 22%]
tests/test_opencode_review_context.py ......                             [ 24%]
tests/test_opencode_review_normalize_output.py ......................... [ 32%]
                                                                         [ 32%]
tests/test_opencode_workflow_shell_syntax.py .                           [ 32%]
tests/test_pr_auto_rebase.py ........................................... [ 46%]
....                                                                     [ 47%]
tests/test_pr_governance_audit_contract.py ...                           [ 48%]
tests/test_pr_review_fix_scheduler.py ....................               [ 54%]
tests/test_pr_review_fix_scheduler_coverage.py ..                        [ 55%]
tests/test_pr_review_merge_scheduler.py ................................ [ 65%]
.........................................                                [ 78%]
tests/test_render_opencode_prompt_template.py ....                       [ 79%]
tests/test_required_workflow_queue_contract.py ......................... [ 87%]
...                                                                      [ 88%]
tests/test_review_execution_contracts.py ..                              [ 89%]
tests/test_sandboxed_verify.py .........                                 [ 92%]
tests/test_sandboxed_web_e2e.py ..............                           [ 96%]
tests/test_sbom_inventory_aggregator.py ...........                      [100%]

============================= 316 passed in 7.31s ==============================
Name                                                     Stmts   Miss  Cover   Missing
--------------------------------------------------------------------------------------
scripts/ci/assert_opencode_reasoning_effort.py              61      0   100%
scripts/ci/filter_gitleaks_sarif.py                         58      0   100%
scripts/ci/implementation_completeness_scan.py             145      0   100%
scripts/ci/install_python_requirements_for_coverage.py      42      0   100%
scripts/ci/noema_review_gate.py                            330      0   100%
scripts/ci/opencode_review_context.py                       51      0   100%
scripts/ci/opencode_review_normalize_output.py             430      0   100%
scripts/ci/pr_auto_rebase.py                               315      0   100%
scripts/ci/pr_review_autofix_context.py                    124      0   100%
scripts/ci/pr_review_fix_scheduler.py                      196      0   100%
scripts/ci/pr_review_merge_scheduler.py                   1291      1    99%   1630
scripts/ci/render_opencode_prompt_template.py               21      0   100%
scripts/ci/review_execution_contracts.py                   201      0   100%
scripts/ci/sandboxed_verify.py                             108      0   100%
scripts/ci/sandboxed_web_e2e.py                            153      0   100%
scripts/ci/sbom_inventory_aggregator.py                    176      0   100%
--------------------------------------------------------------------------------------
TOTAL                                                     3702      1    99%
Coverage failure: total of 99 is less than fail-under=100
  • Result: FAIL (exit 2)

Python docstring coverage advisory

$ bash -c python3\ -m\ interrogate\ .\ \|\|\ true 
RESULT: PASSED (minimum: 100.0%, actual: 100.0%)
  • Result: PASS

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["CI script: pr_review_merge_scheduler.py"]
  S1 --> I1["review and security gate shell path"]
  I1 --> R1["Review risk: CI script: pr_review_merge_scheduler.py"]
  R1 --> V1["bash -n plus Strix self-test"]
  Evidence --> S2["Test: test_pr_review_merge_scheduler.py"]
  S2 --> I2["regression suite"]
  I2 --> R2["Review risk: Test: test_pr_review_merge_scheduler.py"]
  R2 --> V2["targeted test run"]
Loading

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 success with required evidence or explicit no-source not-applicable evidence.

  • Regression test: Keep the approval branch checking needs.coverage-evidence.result == success before 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 head f38061fa0c7808ddbbccfe3f85fabcf43d479ad4.

  • Head SHA: f38061fa0c7808ddbbccfe3f85fabcf43d479ad4

  • Workflow run: 29169688591

  • Workflow attempt: 3

Coverage evidence

Coverage Evidence

  • Head SHA: f38061fa0c7808ddbbccfe3f85fabcf43d479ad4
  • Required test evidence: supported repository test suites must pass.
  • Required docstring evidence: repository-owned docstring gates must pass when configured; otherwise docstring coverage is advisory.

Python implementation completeness scan

$ python3 /home/runner/work/.github/.github/scripts/ci/implementation_completeness_scan.py --repo-root . --changed-files /tmp/tmp.2SFJ4AYwTN 
# Implementation Completeness Scan

- Checked runtime Python files: 1
- Declaration handling: typing.Protocol, abc.ABC, @abstractmethod, and @overload placeholders are treated as contracts, not executable missing implementations.
- Result: PASS
- Reason: no executable placeholder implementations were found in changed runtime Python files.
  • Result: PASS

Python project dependencies (.)

$ uv sync --project . --group dev 
Using CPython 3.12.3 interpreter at: /usr/bin/python3
Creating virtual environment at: .venv
Resolved 17 packages in 131ms
Downloading pygments (1.2MiB)
 Downloaded pygments
Prepared 13 packages in 106ms
Installed 13 packages in 16ms
 + attrs==26.1.0
 + click==8.4.2
 + colorama==0.4.6
 + coverage==7.15.0
 + iniconfig==2.3.0
 + interrogate==1.7.0
 + packaging==26.2
 + pluggy==1.6.0
 + py==1.11.0
 + pygments==2.20.0
 + pytest==9.1.1
 + pytest-cov==7.1.0
 + tabulate==0.10.0
  • Result: PASS

Python coverage with missing-line report (.)

$ bash -c cd\ \"\$1\"\ \&\&\ PYTHONPATH=.\ uv\ run\ --with\ coverage\ --with\ pytest\ coverage\ run\ -m\ pytest\ tests\ \&\&\ uv\ run\ --with\ coverage\ coverage\ report\ --show-missing bash . 
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/runner/work/.github/.github/pr-head
configfile: pyproject.toml
plugins: cov-7.1.0
collected 316 items

tests/test_assert_opencode_reasoning_effort.py ........                  [  2%]
tests/test_cloudflare_dns_contract.py ...                                [  3%]
tests/test_codeql_pr_workflow_contract.py .                              [  3%]
tests/test_filter_gitleaks_sarif.py ........                             [  6%]
tests/test_fuzz_targets.py .                                             [  6%]
tests/test_implementation_completeness_scan.py .......                   [  8%]
tests/test_install_python_requirements_for_coverage.py .......           [ 11%]
tests/test_noema_review_gate.py ................                         [ 16%]
tests/test_opencode_agent_contract.py ...................                [ 22%]
tests/test_opencode_docker_evidence_contract.py .                        [ 22%]
tests/test_opencode_review_context.py ......                             [ 24%]
tests/test_opencode_review_normalize_output.py ......................... [ 32%]
                                                                         [ 32%]
tests/test_opencode_workflow_shell_syntax.py .                           [ 32%]
tests/test_pr_auto_rebase.py ........................................... [ 46%]
....                                                                     [ 47%]
tests/test_pr_governance_audit_contract.py ...                           [ 48%]
tests/test_pr_review_fix_scheduler.py ....................               [ 54%]
tests/test_pr_review_fix_scheduler_coverage.py ..                        [ 55%]
tests/test_pr_review_merge_scheduler.py ................................ [ 65%]
.........................................                                [ 78%]
tests/test_render_opencode_prompt_template.py ....                       [ 79%]
tests/test_required_workflow_queue_contract.py ......................... [ 87%]
...                                                                      [ 88%]
tests/test_review_execution_contracts.py ..                              [ 89%]
tests/test_sandboxed_verify.py .........                                 [ 92%]
tests/test_sandboxed_web_e2e.py ..............                           [ 96%]
tests/test_sbom_inventory_aggregator.py ...........                      [100%]

============================= 316 passed in 7.31s ==============================
Name                                                     Stmts   Miss  Cover   Missing
--------------------------------------------------------------------------------------
scripts/ci/assert_opencode_reasoning_effort.py              61      0   100%
scripts/ci/filter_gitleaks_sarif.py                         58      0   100%
scripts/ci/implementation_completeness_scan.py             145      0   100%
scripts/ci/install_python_requirements_for_coverage.py      42      0   100%
scripts/ci/noema_review_gate.py                            330      0   100%
scripts/ci/opencode_review_context.py                       51      0   100%
scripts/ci/opencode_review_normalize_output.py             430      0   100%
scripts/ci/pr_auto_rebase.py                               315      0   100%
scripts/ci/pr_review_autofix_context.py                    124      0   100%
scripts/ci/pr_review_fix_scheduler.py                      196      0   100%
scripts/ci/pr_review_merge_scheduler.py                   1291      1    99%   1630
scripts/ci/render_opencode_prompt_template.py               21      0   100%
scripts/ci/review_execution_contracts.py                   201      0   100%
scripts/ci/sandboxed_verify.py                             108      0   100%
scripts/ci/sandboxed_web_e2e.py                            153      0   100%
scripts/ci/sbom_inventory_aggregator.py                    176      0   100%
--------------------------------------------------------------------------------------
TOTAL                                                     3702      1    99%
Coverage failure: total of 99 is less than fail-under=100
  • Result: FAIL (exit 2)

Python docstring coverage advisory

$ bash -c python3\ -m\ interrogate\ .\ \|\|\ true 
RESULT: PASSED (minimum: 100.0%, actual: 100.0%)
  • Result: PASS

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["CI script: pr_review_merge_scheduler.py"]
  S1 --> I1["review and security gate shell path"]
  I1 --> R1["Review risk: CI script: pr_review_merge_scheduler.py"]
  R1 --> V1["bash -n plus Strix self-test"]
  Evidence --> S2["Test: test_pr_review_merge_scheduler.py"]
  S2 --> I2["regression suite"]
  I2 --> R2["Review risk: Test: test_pr_review_merge_scheduler.py"]
  R2 --> V2["targeted test run"]
Loading

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 success with required evidence or explicit no-source not-applicable evidence.

  • Regression test: Keep the approval branch checking needs.coverage-evidence.result == success before 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 head f38061fa0c7808ddbbccfe3f85fabcf43d479ad4.

  • Head SHA: f38061fa0c7808ddbbccfe3f85fabcf43d479ad4

  • Workflow run: 29169688591

  • Workflow attempt: 4

Coverage evidence

Coverage Evidence

  • Head SHA: f38061fa0c7808ddbbccfe3f85fabcf43d479ad4
  • Required test evidence: supported repository test suites must pass.
  • Required docstring evidence: repository-owned docstring gates must pass when configured; otherwise docstring coverage is advisory.

Python implementation completeness scan

$ python3 /home/runner/work/.github/.github/scripts/ci/implementation_completeness_scan.py --repo-root . --changed-files /tmp/tmp.2SFJ4AYwTN 
# Implementation Completeness Scan

- Checked runtime Python files: 1
- Declaration handling: typing.Protocol, abc.ABC, @abstractmethod, and @overload placeholders are treated as contracts, not executable missing implementations.
- Result: PASS
- Reason: no executable placeholder implementations were found in changed runtime Python files.
  • Result: PASS

Python project dependencies (.)

$ uv sync --project . --group dev 
Using CPython 3.12.3 interpreter at: /usr/bin/python3
Creating virtual environment at: .venv
Resolved 17 packages in 131ms
Downloading pygments (1.2MiB)
 Downloaded pygments
Prepared 13 packages in 106ms
Installed 13 packages in 16ms
 + attrs==26.1.0
 + click==8.4.2
 + colorama==0.4.6
 + coverage==7.15.0
 + iniconfig==2.3.0
 + interrogate==1.7.0
 + packaging==26.2
 + pluggy==1.6.0
 + py==1.11.0
 + pygments==2.20.0
 + pytest==9.1.1
 + pytest-cov==7.1.0
 + tabulate==0.10.0
  • Result: PASS

Python coverage with missing-line report (.)

$ bash -c cd\ \"\$1\"\ \&\&\ PYTHONPATH=.\ uv\ run\ --with\ coverage\ --with\ pytest\ coverage\ run\ -m\ pytest\ tests\ \&\&\ uv\ run\ --with\ coverage\ coverage\ report\ --show-missing bash . 
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/runner/work/.github/.github/pr-head
configfile: pyproject.toml
plugins: cov-7.1.0
collected 316 items

tests/test_assert_opencode_reasoning_effort.py ........                  [  2%]
tests/test_cloudflare_dns_contract.py ...                                [  3%]
tests/test_codeql_pr_workflow_contract.py .                              [  3%]
tests/test_filter_gitleaks_sarif.py ........                             [  6%]
tests/test_fuzz_targets.py .                                             [  6%]
tests/test_implementation_completeness_scan.py .......                   [  8%]
tests/test_install_python_requirements_for_coverage.py .......           [ 11%]
tests/test_noema_review_gate.py ................                         [ 16%]
tests/test_opencode_agent_contract.py ...................                [ 22%]
tests/test_opencode_docker_evidence_contract.py .                        [ 22%]
tests/test_opencode_review_context.py ......                             [ 24%]
tests/test_opencode_review_normalize_output.py ......................... [ 32%]
                                                                         [ 32%]
tests/test_opencode_workflow_shell_syntax.py .                           [ 32%]
tests/test_pr_auto_rebase.py ........................................... [ 46%]
....                                                                     [ 47%]
tests/test_pr_governance_audit_contract.py ...                           [ 48%]
tests/test_pr_review_fix_scheduler.py ....................               [ 54%]
tests/test_pr_review_fix_scheduler_coverage.py ..                        [ 55%]
tests/test_pr_review_merge_scheduler.py ................................ [ 65%]
.........................................                                [ 78%]
tests/test_render_opencode_prompt_template.py ....                       [ 79%]
tests/test_required_workflow_queue_contract.py ......................... [ 87%]
...                                                                      [ 88%]
tests/test_review_execution_contracts.py ..                              [ 89%]
tests/test_sandboxed_verify.py .........                                 [ 92%]
tests/test_sandboxed_web_e2e.py ..............                           [ 96%]
tests/test_sbom_inventory_aggregator.py ...........                      [100%]

============================= 316 passed in 7.31s ==============================
Name                                                     Stmts   Miss  Cover   Missing
--------------------------------------------------------------------------------------
scripts/ci/assert_opencode_reasoning_effort.py              61      0   100%
scripts/ci/filter_gitleaks_sarif.py                         58      0   100%
scripts/ci/implementation_completeness_scan.py             145      0   100%
scripts/ci/install_python_requirements_for_coverage.py      42      0   100%
scripts/ci/noema_review_gate.py                            330      0   100%
scripts/ci/opencode_review_context.py                       51      0   100%
scripts/ci/opencode_review_normalize_output.py             430      0   100%
scripts/ci/pr_auto_rebase.py                               315      0   100%
scripts/ci/pr_review_autofix_context.py                    124      0   100%
scripts/ci/pr_review_fix_scheduler.py                      196      0   100%
scripts/ci/pr_review_merge_scheduler.py                   1291      1    99%   1630
scripts/ci/render_opencode_prompt_template.py               21      0   100%
scripts/ci/review_execution_contracts.py                   201      0   100%
scripts/ci/sandboxed_verify.py                             108      0   100%
scripts/ci/sandboxed_web_e2e.py                            153      0   100%
scripts/ci/sbom_inventory_aggregator.py                    176      0   100%
--------------------------------------------------------------------------------------
TOTAL                                                     3702      1    99%
Coverage failure: total of 99 is less than fail-under=100
  • Result: FAIL (exit 2)

Python docstring coverage advisory

$ bash -c python3\ -m\ interrogate\ .\ \|\|\ true 
RESULT: PASSED (minimum: 100.0%, actual: 100.0%)
  • Result: PASS

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["CI script: pr_review_merge_scheduler.py"]
  S1 --> I1["review and security gate shell path"]
  I1 --> R1["Review risk: CI script: pr_review_merge_scheduler.py"]
  R1 --> V1["bash -n plus Strix self-test"]
  Evidence --> S2["Test: test_pr_review_merge_scheduler.py"]
  S2 --> I2["regression suite"]
  I2 --> R2["Review risk: Test: test_pr_review_merge_scheduler.py"]
  R2 --> V2["targeted test run"]
Loading

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 success with required evidence or explicit no-source not-applicable evidence.

  • Regression test: Keep the approval branch checking needs.coverage-evidence.result == success before 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 head f38061fa0c7808ddbbccfe3f85fabcf43d479ad4.

  • Head SHA: f38061fa0c7808ddbbccfe3f85fabcf43d479ad4

  • Workflow run: 29169688591

  • Workflow attempt: 5

Coverage evidence

Coverage Evidence

  • Head SHA: f38061fa0c7808ddbbccfe3f85fabcf43d479ad4
  • Required test evidence: supported repository test suites must pass.
  • Required docstring evidence: repository-owned docstring gates must pass when configured; otherwise docstring coverage is advisory.

Python implementation completeness scan

$ python3 /home/runner/work/.github/.github/scripts/ci/implementation_completeness_scan.py --repo-root . --changed-files /tmp/tmp.2SFJ4AYwTN 
# Implementation Completeness Scan

- Checked runtime Python files: 1
- Declaration handling: typing.Protocol, abc.ABC, @abstractmethod, and @overload placeholders are treated as contracts, not executable missing implementations.
- Result: PASS
- Reason: no executable placeholder implementations were found in changed runtime Python files.
  • Result: PASS

Python project dependencies (.)

$ uv sync --project . --group dev 
Using CPython 3.12.3 interpreter at: /usr/bin/python3
Creating virtual environment at: .venv
Resolved 17 packages in 131ms
Downloading pygments (1.2MiB)
 Downloaded pygments
Prepared 13 packages in 106ms
Installed 13 packages in 16ms
 + attrs==26.1.0
 + click==8.4.2
 + colorama==0.4.6
 + coverage==7.15.0
 + iniconfig==2.3.0
 + interrogate==1.7.0
 + packaging==26.2
 + pluggy==1.6.0
 + py==1.11.0
 + pygments==2.20.0
 + pytest==9.1.1
 + pytest-cov==7.1.0
 + tabulate==0.10.0
  • Result: PASS

Python coverage with missing-line report (.)

$ bash -c cd\ \"\$1\"\ \&\&\ PYTHONPATH=.\ uv\ run\ --with\ coverage\ --with\ pytest\ coverage\ run\ -m\ pytest\ tests\ \&\&\ uv\ run\ --with\ coverage\ coverage\ report\ --show-missing bash . 
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/runner/work/.github/.github/pr-head
configfile: pyproject.toml
plugins: cov-7.1.0
collected 316 items

tests/test_assert_opencode_reasoning_effort.py ........                  [  2%]
tests/test_cloudflare_dns_contract.py ...                                [  3%]
tests/test_codeql_pr_workflow_contract.py .                              [  3%]
tests/test_filter_gitleaks_sarif.py ........                             [  6%]
tests/test_fuzz_targets.py .                                             [  6%]
tests/test_implementation_completeness_scan.py .......                   [  8%]
tests/test_install_python_requirements_for_coverage.py .......           [ 11%]
tests/test_noema_review_gate.py ................                         [ 16%]
tests/test_opencode_agent_contract.py ...................                [ 22%]
tests/test_opencode_docker_evidence_contract.py .                        [ 22%]
tests/test_opencode_review_context.py ......                             [ 24%]
tests/test_opencode_review_normalize_output.py ......................... [ 32%]
                                                                         [ 32%]
tests/test_opencode_workflow_shell_syntax.py .                           [ 32%]
tests/test_pr_auto_rebase.py ........................................... [ 46%]
....                                                                     [ 47%]
tests/test_pr_governance_audit_contract.py ...                           [ 48%]
tests/test_pr_review_fix_scheduler.py ....................               [ 54%]
tests/test_pr_review_fix_scheduler_coverage.py ..                        [ 55%]
tests/test_pr_review_merge_scheduler.py ................................ [ 65%]
.........................................                                [ 78%]
tests/test_render_opencode_prompt_template.py ....                       [ 79%]
tests/test_required_workflow_queue_contract.py ......................... [ 87%]
...                                                                      [ 88%]
tests/test_review_execution_contracts.py ..                              [ 89%]
tests/test_sandboxed_verify.py .........                                 [ 92%]
tests/test_sandboxed_web_e2e.py ..............                           [ 96%]
tests/test_sbom_inventory_aggregator.py ...........                      [100%]

============================= 316 passed in 7.31s ==============================
Name                                                     Stmts   Miss  Cover   Missing
--------------------------------------------------------------------------------------
scripts/ci/assert_opencode_reasoning_effort.py              61      0   100%
scripts/ci/filter_gitleaks_sarif.py                         58      0   100%
scripts/ci/implementation_completeness_scan.py             145      0   100%
scripts/ci/install_python_requirements_for_coverage.py      42      0   100%
scripts/ci/noema_review_gate.py                            330      0   100%
scripts/ci/opencode_review_context.py                       51      0   100%
scripts/ci/opencode_review_normalize_output.py             430      0   100%
scripts/ci/pr_auto_rebase.py                               315      0   100%
scripts/ci/pr_review_autofix_context.py                    124      0   100%
scripts/ci/pr_review_fix_scheduler.py                      196      0   100%
scripts/ci/pr_review_merge_scheduler.py                   1291      1    99%   1630
scripts/ci/render_opencode_prompt_template.py               21      0   100%
scripts/ci/review_execution_contracts.py                   201      0   100%
scripts/ci/sandboxed_verify.py                             108      0   100%
scripts/ci/sandboxed_web_e2e.py                            153      0   100%
scripts/ci/sbom_inventory_aggregator.py                    176      0   100%
--------------------------------------------------------------------------------------
TOTAL                                                     3702      1    99%
Coverage failure: total of 99 is less than fail-under=100
  • Result: FAIL (exit 2)

Python docstring coverage advisory

$ bash -c python3\ -m\ interrogate\ .\ \|\|\ true 
RESULT: PASSED (minimum: 100.0%, actual: 100.0%)
  • Result: PASS

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["CI script: pr_review_merge_scheduler.py"]
  S1 --> I1["review and security gate shell path"]
  I1 --> R1["Review risk: CI script: pr_review_merge_scheduler.py"]
  R1 --> V1["bash -n plus Strix self-test"]
  Evidence --> S2["Test: test_pr_review_merge_scheduler.py"]
  S2 --> I2["regression suite"]
  I2 --> R2["Review risk: Test: test_pr_review_merge_scheduler.py"]
  R2 --> V2["targeted test run"]
Loading

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 success with required evidence or explicit no-source not-applicable evidence.

  • Regression test: Keep the approval branch checking needs.coverage-evidence.result == success before 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 head f38061fa0c7808ddbbccfe3f85fabcf43d479ad4.

  • Head SHA: f38061fa0c7808ddbbccfe3f85fabcf43d479ad4

  • Workflow run: 29169688591

  • Workflow attempt: 6

Coverage evidence

Coverage Evidence

  • Head SHA: f38061fa0c7808ddbbccfe3f85fabcf43d479ad4
  • Required test evidence: supported repository test suites must pass.
  • Required docstring evidence: repository-owned docstring gates must pass when configured; otherwise docstring coverage is advisory.

Python implementation completeness scan

$ python3 /home/runner/work/.github/.github/scripts/ci/implementation_completeness_scan.py --repo-root . --changed-files /tmp/tmp.2SFJ4AYwTN 
# Implementation Completeness Scan

- Checked runtime Python files: 1
- Declaration handling: typing.Protocol, abc.ABC, @abstractmethod, and @overload placeholders are treated as contracts, not executable missing implementations.
- Result: PASS
- Reason: no executable placeholder implementations were found in changed runtime Python files.
  • Result: PASS

Python project dependencies (.)

$ uv sync --project . --group dev 
Using CPython 3.12.3 interpreter at: /usr/bin/python3
Creating virtual environment at: .venv
Resolved 17 packages in 131ms
Downloading pygments (1.2MiB)
 Downloaded pygments
Prepared 13 packages in 106ms
Installed 13 packages in 16ms
 + attrs==26.1.0
 + click==8.4.2
 + colorama==0.4.6
 + coverage==7.15.0
 + iniconfig==2.3.0
 + interrogate==1.7.0
 + packaging==26.2
 + pluggy==1.6.0
 + py==1.11.0
 + pygments==2.20.0
 + pytest==9.1.1
 + pytest-cov==7.1.0
 + tabulate==0.10.0
  • Result: PASS

Python coverage with missing-line report (.)

$ bash -c cd\ \"\$1\"\ \&\&\ PYTHONPATH=.\ uv\ run\ --with\ coverage\ --with\ pytest\ coverage\ run\ -m\ pytest\ tests\ \&\&\ uv\ run\ --with\ coverage\ coverage\ report\ --show-missing bash . 
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/runner/work/.github/.github/pr-head
configfile: pyproject.toml
plugins: cov-7.1.0
collected 316 items

tests/test_assert_opencode_reasoning_effort.py ........                  [  2%]
tests/test_cloudflare_dns_contract.py ...                                [  3%]
tests/test_codeql_pr_workflow_contract.py .                              [  3%]
tests/test_filter_gitleaks_sarif.py ........                             [  6%]
tests/test_fuzz_targets.py .                                             [  6%]
tests/test_implementation_completeness_scan.py .......                   [  8%]
tests/test_install_python_requirements_for_coverage.py .......           [ 11%]
tests/test_noema_review_gate.py ................                         [ 16%]
tests/test_opencode_agent_contract.py ...................                [ 22%]
tests/test_opencode_docker_evidence_contract.py .                        [ 22%]
tests/test_opencode_review_context.py ......                             [ 24%]
tests/test_opencode_review_normalize_output.py ......................... [ 32%]
                                                                         [ 32%]
tests/test_opencode_workflow_shell_syntax.py .                           [ 32%]
tests/test_pr_auto_rebase.py ........................................... [ 46%]
....                                                                     [ 47%]
tests/test_pr_governance_audit_contract.py ...                           [ 48%]
tests/test_pr_review_fix_scheduler.py ....................               [ 54%]
tests/test_pr_review_fix_scheduler_coverage.py ..                        [ 55%]
tests/test_pr_review_merge_scheduler.py ................................ [ 65%]
.........................................                                [ 78%]
tests/test_render_opencode_prompt_template.py ....                       [ 79%]
tests/test_required_workflow_queue_contract.py ......................... [ 87%]
...                                                                      [ 88%]
tests/test_review_execution_contracts.py ..                              [ 89%]
tests/test_sandboxed_verify.py .........                                 [ 92%]
tests/test_sandboxed_web_e2e.py ..............                           [ 96%]
tests/test_sbom_inventory_aggregator.py ...........                      [100%]

============================= 316 passed in 7.31s ==============================
Name                                                     Stmts   Miss  Cover   Missing
--------------------------------------------------------------------------------------
scripts/ci/assert_opencode_reasoning_effort.py              61      0   100%
scripts/ci/filter_gitleaks_sarif.py                         58      0   100%
scripts/ci/implementation_completeness_scan.py             145      0   100%
scripts/ci/install_python_requirements_for_coverage.py      42      0   100%
scripts/ci/noema_review_gate.py                            330      0   100%
scripts/ci/opencode_review_context.py                       51      0   100%
scripts/ci/opencode_review_normalize_output.py             430      0   100%
scripts/ci/pr_auto_rebase.py                               315      0   100%
scripts/ci/pr_review_autofix_context.py                    124      0   100%
scripts/ci/pr_review_fix_scheduler.py                      196      0   100%
scripts/ci/pr_review_merge_scheduler.py                   1291      1    99%   1630
scripts/ci/render_opencode_prompt_template.py               21      0   100%
scripts/ci/review_execution_contracts.py                   201      0   100%
scripts/ci/sandboxed_verify.py                             108      0   100%
scripts/ci/sandboxed_web_e2e.py                            153      0   100%
scripts/ci/sbom_inventory_aggregator.py                    176      0   100%
--------------------------------------------------------------------------------------
TOTAL                                                     3702      1    99%
Coverage failure: total of 99 is less than fail-under=100
  • Result: FAIL (exit 2)

Python docstring coverage advisory

$ bash -c python3\ -m\ interrogate\ .\ \|\|\ true 
RESULT: PASSED (minimum: 100.0%, actual: 100.0%)
  • Result: PASS

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["CI script: pr_review_merge_scheduler.py"]
  S1 --> I1["review and security gate shell path"]
  I1 --> R1["Review risk: CI script: pr_review_merge_scheduler.py"]
  R1 --> V1["bash -n plus Strix self-test"]
  Evidence --> S2["Test: test_pr_review_merge_scheduler.py"]
  S2 --> I2["regression suite"]
  I2 --> R2["Review risk: Test: test_pr_review_merge_scheduler.py"]
  R2 --> V2["targeted test run"]
Loading

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

OpenCode reviewed the current-head bounded evidence and found no blocking issues.

Findings

No blocking findings.

Summary

Approval sufficiency: bounded evidence supplied affirmative approval evidence for changed files, coverage/docstring posture, risk surfaces, and current-head verification; approval is not based merely on the absence of known blockers.
Verification posture: CodeGraph evidence was initialized and bounded current-head evidence reviewed for changed-file evidence including scripts/ci/pr_review_merge_scheduler.py, tests/test_pr_review_merge_scheduler.py.
Linter/static: workflow/static review evidence is bounded by the current-head GitHub Checks gate and changed-file evidence.
TDD/regression: coverage execution evidence and focused changed hunks were reviewed from bounded-review-evidence.md.
Coverage: coverage execution evidence reports supported repository test suites passed.
Docstring coverage: coverage execution evidence reports configured repository docstring gates passed or docstring coverage was advisory.
DAG: CodeGraph/source-backed behavior map connects scripts/ci/pr_review_merge_scheduler.py to the affected review, runtime, or workflow path and required checks.
PoC/execution: coverage-evidence job executed on the current head and reported PASS.
DDD/domain: workflow and repository-governance invariants were reviewed against changed files in bounded evidence.
CDD/context: CodeGraph evidence, changed-file history, and focused hunks were reviewed from bounded-review-evidence.md.
Similar issues: changed-file history evidence was reviewed for comparable local precedents.
Claim/concept check: bounded evidence, repository source, current-head workflow evidence, and, where numeric, scientific, statistical, or literature-backed claims are affected, original-paper/formula evidence and parameter-recovery expectations were used for claims.
Standards search: standards and external-source checks are delegated to configured OpenCode web_search/Context7/DeepWiki sources when applicable; no evidence-backed standards blocker is present in bounded evidence.
Compatibility/convention: changed workflow/script conventions, object naming, and reserved-word safety for schema/API/config/code surfaces were checked in bounded evidence.
Breaking-change/backcompat: deployment evidence and changed-file history were checked for backward-compatibility risk.
Performance: changed surfaces were checked for performance risk in bounded evidence.
Developer experience: changed automation, review, test, setup, and maintenance surfaces were checked for helpful or obstructive DX impact in bounded evidence.
User experience: connected user, operator, API, CLI, documentation, review-comment, status-check, rendering, and workflow-reader behavior was checked for contradictions against code, docs, and tests in bounded evidence.
Visual/DOM: Playwright visual, DOM locator, ARIA snapshot, console, and responsive evidence were checked when a web UI surface was present; for non-web surfaces, API/CLI/log/docs/workflow interaction evidence was reviewed instead.
Accessibility/i18n: accessibility, localization, and human-readable text surfaces were checked where UI, CLI, API message, docs, logs, or review text changed.
Supply-chain/license: dependency, package, model, container, and external-tool changes were checked in bounded evidence.
Packaging: package, build, test, lint, and security contracts were checked in bounded evidence.
Security/privacy: workflow-token, review-gate, and repository-automation security/privacy boundaries were checked in bounded evidence.

  • Result: APPROVE
  • Reason: PR updates merge scheduler to block auto-merge for conflicted PRs, with passing tests and coverage
  • Head SHA: cf8f9ad9200b38f6db7856886c8b3d4043896957
  • Workflow run: 29169916475
  • Workflow attempt: 1

Changed-File Evidence Map

flowchart LR
  PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
  Evidence --> S1["CI script: pr_review_merge_scheduler.py"]
  S1 --> I1["review and security gate shell path"]
  I1 --> R1["Review risk: CI script: pr_review_merge_scheduler.py"]
  R1 --> V1["bash -n plus Strix self-test"]
  Evidence --> S2["Test: test_pr_review_merge_scheduler.py"]
  S2 --> I2["regression suite"]
  I2 --> R2["Review risk: Test: test_pr_review_merge_scheduler.py"]
  R2 --> V2["targeted test run"]
Loading

@opencode-agent opencode-agent Bot enabled auto-merge (squash) July 11, 2026 22:09
@seonghobae seonghobae dismissed stale reviews from github-actions[bot], github-actions[bot], github-actions[bot], github-actions[bot], github-actions[bot], and github-actions[bot] July 11, 2026 22:10

Dismiss stale old-head coverage failure review after current head passed coverage-evidence and received OpenCode approval.

@opencode-agent opencode-agent Bot merged commit 4171659 into main Jul 11, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant