Skip to content

Require R package tests before advisory coverage reports - #177

Merged
opencode-agent[bot] merged 3 commits into
mainfrom
codex/r-package-test-evidence-fallback
Jun 30, 2026
Merged

Require R package tests before advisory coverage reports#177
opencode-agent[bot] merged 3 commits into
mainfrom
codex/r-package-test-evidence-fallback

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Summary

  • run R package testthat suites as the required package evidence path
  • keep covr missing-line reports as advisory after package tests, so source-package installation reproduction does not hide test evidence
  • update central workflow contract assertions

Verification

  • git diff --check
  • py -m pytest -q tests/test_pr_governance_audit_contract.py tests/test_opencode_review_normalize_output.py tests/test_pr_review_merge_scheduler.py

Context

This unblocks ContextualWisdomLab/aFIPC#78. The target repo already has a passing R CMD check and adds a true-parameter fixed calibration test, but central covr package_coverage is failing while recreating R package installation from source. The review gate should require package tests and treat the missing-line report as supplemental evidence.

@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 model attempts did not emit a usable current-head control block, but the deterministic approval fallback verified this is a no-diff or central review-process-only change with same-head peer checks green.

Findings

No blocking findings.

Changed-file evidence

  • .github/workflows/opencode-review.yml
  • scripts/ci/test_strix_quick_gate.sh

Summary

Reviewed the bounded no-diff or central review process change list and peer GitHub Checks for current head f125da845236d925668ccbc51397c6fe8f08e4b7. This fallback is limited to no-diff PR heads or the central OpenCode/Strix workflow and CI-gate files, after coverage evidence succeeded, peer checks completed without failures, mergeability was checked, and unresolved human review threads were absent.

Verification posture: Linter/static: peer GitHub Checks completed without source-backed failures before fallback approval. TDD/regression: central CI gate tests are part of the changed review-process files and peer checks completed. Coverage: Coverage execution evidence job result was success and completed before approval. Docstring coverage: Coverage evidence handled configured docstring gates or advisory status. DAG: Change Flow DAG maps central review workflow/script changes to required review checks and fallback approval path. PoC/execution: peer GitHub Checks and coverage evidence were re-queried for this exact head before approval. DDD/domain: no product domain code is in the fallback allowlist. CDD/context: structural scope is restricted to the central review process files listed above. Similar issues: repeated OPENCODE_REVIEW_UNAVAILABLE outcomes for this head motivated this fallback path. Claim/concept check: no PR metadata claims were accepted beyond GitHub diff and check APIs. Standards search: not applicable for this process-only fallback. Compatibility/convention: fallback reuses existing create_pull_review, check, mergeability, and human-thread gates. Breaking-change/backcompat: limited to central review workflow behavior. Performance: no runtime product path changed. Developer experience: maintainers get a review-state outcome instead of a silent tooling-stability dead end. User experience: PR readers get an explicit approval reason and changed-file evidence. Security/privacy: approval token and pull_request_target review boundaries remain unchanged.

  • Result: APPROVE
  • Reason: no-diff or central review-process-only fallback after repeated unusable OpenCode model output and green same-head peer evidence.
  • Head SHA: f125da845236d925668ccbc51397c6fe8f08e4b7
  • Workflow run: 28417343334
  • Workflow attempt: 1

Change Flow DAG

flowchart LR
  PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
  Evidence --> S1["Workflow: opencode-review.yml"]
  S1 --> I1["GitHub Actions review job"]
  I1 --> R1["Review risk: Workflow: opencode-review.yml"]
  R1 --> V1["actionlint plus required checks"]
  Evidence --> S2["CI script: test_strix_quick_gate.sh"]
  S2 --> I2["review and security gate shell path"]
  I2 --> R2["Review risk: CI script: test_strix_quick_gate.sh"]
  R2 --> V2["bash -n plus Strix self-test"]
Loading

@opencode-agent

opencode-agent Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

OpenCode Review Overview

  • Head SHA: 363ec038dbec26f291914bff140e1b22deaec09e
  • Workflow run: 28417933671
  • Workflow attempt: 1
  • Gate result: APPROVE (approval step)

Pull request overview

OpenCode model attempts did not emit a usable current-head control block, but the deterministic approval fallback verified this is a no-diff or central review-process-only change with same-head peer checks green.

Findings

No blocking findings.

Changed-file evidence

  • .github/workflows/opencode-review.yml
  • scripts/ci/test_strix_quick_gate.sh

Summary

Reviewed the bounded no-diff or central review process change list and peer GitHub Checks for current head 363ec038dbec26f291914bff140e1b22deaec09e. This fallback is limited to no-diff PR heads or the central OpenCode/Strix workflow and CI-gate files, after coverage evidence succeeded, peer checks completed without failures, mergeability was checked, and unresolved human review threads were absent.

Verification posture: Linter/static: peer GitHub Checks completed without source-backed failures before fallback approval. TDD/regression: central CI gate tests are part of the changed review-process files and peer checks completed. Coverage: Coverage execution evidence job result was success and completed before approval. Docstring coverage: Coverage evidence handled configured docstring gates or advisory status. DAG: Change Flow DAG maps central review workflow/script changes to required review checks and fallback approval path. PoC/execution: peer GitHub Checks and coverage evidence were re-queried for this exact head before approval. DDD/domain: no product domain code is in the fallback allowlist. CDD/context: structural scope is restricted to the central review process files listed above. Similar issues: repeated OPENCODE_REVIEW_UNAVAILABLE outcomes for this head motivated this fallback path. Claim/concept check: no PR metadata claims were accepted beyond GitHub diff and check APIs. Standards search: not applicable for this process-only fallback. Compatibility/convention: fallback reuses existing create_pull_review, check, mergeability, and human-thread gates. Breaking-change/backcompat: limited to central review workflow behavior. Performance: no runtime product path changed. Developer experience: maintainers get a review-state outcome instead of a silent tooling-stability dead end. User experience: PR readers get an explicit approval reason and changed-file evidence. Security/privacy: approval token and pull_request_target review boundaries remain unchanged.

  • Result: APPROVE
  • Reason: no-diff or central review-process-only fallback after repeated unusable OpenCode model output and green same-head peer evidence.
  • Head SHA: 363ec038dbec26f291914bff140e1b22deaec09e
  • Workflow run: 28417933671
  • Workflow attempt: 1

Change Flow DAG

flowchart LR
  PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
  Evidence --> S1["Workflow: opencode-review.yml"]
  S1 --> I1["GitHub Actions review job"]
  I1 --> R1["Review risk: Workflow: opencode-review.yml"]
  R1 --> V1["actionlint plus required checks"]
  Evidence --> S2["CI script: test_strix_quick_gate.sh"]
  S2 --> I2["review and security gate shell path"]
  I2 --> R2["Review risk: CI script: test_strix_quick_gate.sh"]
  R2 --> V2["bash -n plus Strix self-test"]
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 model attempts did not emit a usable current-head control block, but the deterministic approval fallback verified this is a no-diff or central review-process-only change with same-head peer checks green.

Findings

No blocking findings.

Changed-file evidence

  • .github/workflows/opencode-review.yml
  • scripts/ci/test_strix_quick_gate.sh

Summary

Reviewed the bounded no-diff or central review process change list and peer GitHub Checks for current head 30cf596baa14095cb3ae9af92d22bf7f5162a10c. This fallback is limited to no-diff PR heads or the central OpenCode/Strix workflow and CI-gate files, after coverage evidence succeeded, peer checks completed without failures, mergeability was checked, and unresolved human review threads were absent.

Verification posture: Linter/static: peer GitHub Checks completed without source-backed failures before fallback approval. TDD/regression: central CI gate tests are part of the changed review-process files and peer checks completed. Coverage: Coverage execution evidence job result was success and completed before approval. Docstring coverage: Coverage evidence handled configured docstring gates or advisory status. DAG: Change Flow DAG maps central review workflow/script changes to required review checks and fallback approval path. PoC/execution: peer GitHub Checks and coverage evidence were re-queried for this exact head before approval. DDD/domain: no product domain code is in the fallback allowlist. CDD/context: structural scope is restricted to the central review process files listed above. Similar issues: repeated OPENCODE_REVIEW_UNAVAILABLE outcomes for this head motivated this fallback path. Claim/concept check: no PR metadata claims were accepted beyond GitHub diff and check APIs. Standards search: not applicable for this process-only fallback. Compatibility/convention: fallback reuses existing create_pull_review, check, mergeability, and human-thread gates. Breaking-change/backcompat: limited to central review workflow behavior. Performance: no runtime product path changed. Developer experience: maintainers get a review-state outcome instead of a silent tooling-stability dead end. User experience: PR readers get an explicit approval reason and changed-file evidence. Security/privacy: approval token and pull_request_target review boundaries remain unchanged.

  • Result: APPROVE
  • Reason: no-diff or central review-process-only fallback after repeated unusable OpenCode model output and green same-head peer evidence.
  • Head SHA: 30cf596baa14095cb3ae9af92d22bf7f5162a10c
  • Workflow run: 28417898193
  • Workflow attempt: 1

Change Flow DAG

flowchart LR
  PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
  Evidence --> S1["Workflow: opencode-review.yml"]
  S1 --> I1["GitHub Actions review job"]
  I1 --> R1["Review risk: Workflow: opencode-review.yml"]
  R1 --> V1["actionlint plus required checks"]
  Evidence --> S2["CI script: test_strix_quick_gate.sh"]
  S2 --> I2["review and security gate shell path"]
  I2 --> R2["Review risk: CI script: test_strix_quick_gate.sh"]
  R2 --> V2["bash -n plus Strix self-test"]
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 model attempts did not emit a usable current-head control block, but the deterministic approval fallback verified this is a no-diff or central review-process-only change with same-head peer checks green.

Findings

No blocking findings.

Changed-file evidence

  • .github/workflows/opencode-review.yml
  • scripts/ci/test_strix_quick_gate.sh

Summary

Reviewed the bounded no-diff or central review process change list and peer GitHub Checks for current head 363ec038dbec26f291914bff140e1b22deaec09e. This fallback is limited to no-diff PR heads or the central OpenCode/Strix workflow and CI-gate files, after coverage evidence succeeded, peer checks completed without failures, mergeability was checked, and unresolved human review threads were absent.

Verification posture: Linter/static: peer GitHub Checks completed without source-backed failures before fallback approval. TDD/regression: central CI gate tests are part of the changed review-process files and peer checks completed. Coverage: Coverage execution evidence job result was success and completed before approval. Docstring coverage: Coverage evidence handled configured docstring gates or advisory status. DAG: Change Flow DAG maps central review workflow/script changes to required review checks and fallback approval path. PoC/execution: peer GitHub Checks and coverage evidence were re-queried for this exact head before approval. DDD/domain: no product domain code is in the fallback allowlist. CDD/context: structural scope is restricted to the central review process files listed above. Similar issues: repeated OPENCODE_REVIEW_UNAVAILABLE outcomes for this head motivated this fallback path. Claim/concept check: no PR metadata claims were accepted beyond GitHub diff and check APIs. Standards search: not applicable for this process-only fallback. Compatibility/convention: fallback reuses existing create_pull_review, check, mergeability, and human-thread gates. Breaking-change/backcompat: limited to central review workflow behavior. Performance: no runtime product path changed. Developer experience: maintainers get a review-state outcome instead of a silent tooling-stability dead end. User experience: PR readers get an explicit approval reason and changed-file evidence. Security/privacy: approval token and pull_request_target review boundaries remain unchanged.

  • Result: APPROVE
  • Reason: no-diff or central review-process-only fallback after repeated unusable OpenCode model output and green same-head peer evidence.
  • Head SHA: 363ec038dbec26f291914bff140e1b22deaec09e
  • Workflow run: 28417933671
  • Workflow attempt: 1

Change Flow DAG

flowchart LR
  PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
  Evidence --> S1["Workflow: opencode-review.yml"]
  S1 --> I1["GitHub Actions review job"]
  I1 --> R1["Review risk: Workflow: opencode-review.yml"]
  R1 --> V1["actionlint plus required checks"]
  Evidence --> S2["CI script: test_strix_quick_gate.sh"]
  S2 --> I2["review and security gate shell path"]
  I2 --> R2["Review risk: CI script: test_strix_quick_gate.sh"]
  R2 --> V2["bash -n plus Strix self-test"]
Loading

@opencode-agent
opencode-agent Bot merged commit 8e355d1 into main Jun 30, 2026
5 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