Skip to content

fix(tests): resync opencode-review-dispatch.yml blob-pin after #1892 - #1894

Merged
seonghobae merged 1 commit into
mainfrom
fix/opencode-dispatch-blob-pin-1892
Sep 5, 2026
Merged

fix(tests): resync opencode-review-dispatch.yml blob-pin after #1892#1894
seonghobae merged 1 commit into
mainfrom
fix/opencode-dispatch-blob-pin-1892

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Summary

  • #1892 ("bound opencode model runtime to 900 seconds") added a timeout-minutes line to .github/workflows/opencode-review-dispatch.yml, changing its git blob hash from ade10b37c43d0f2b46490b2196c893244afc3d49 to fca5bfc9079f3d2b141da715a796a96933ae547f, but did not update tests/test_pr_review_autofix_nvidia_nim_contract.py's REVIEW_DISPATCH_BLOB_SHA byte-for-byte pin.
  • This breaks the required coverage/test gate for every open PR in this repository, since the full suite runs regardless of a PR's own diff.
  • tests/test_opencode_rust_coverage_toolchain_contract.py cross-references the same constant via regex, so updating it in one place fixes both failing tests.

Test plan

  • python3 -m pytest tests/test_pr_review_autofix_nvidia_nim_contract.py tests/test_opencode_rust_coverage_toolchain_contract.py -q — 31 passed, 1 skipped
  • Full suite on this exact head: coverage run -m pytest tests -q — 2841 passed, 1 skipped, 21 subtests passed
  • git hash-object .github/workflows/opencode-review-dispatch.yml matches the new pinned constant exactly

Note: this branch's own coverage report --fail-under=100 still shows the pre-existing, separately-tracked admission-controller coverage/docstring gap (review_admission_controller.py, pr_review_merge_scheduler_core.py, audit_codeql_default_setup_rollout.py) — already fixed and pending merge via .github#1883, unrelated to this PR's scope.

🤖 Generated with Claude Code

#1892 ("bound opencode model runtime to 900 seconds") added a
timeout-minutes line to opencode-review-dispatch.yml, changing its git
blob hash, but didn't update the byte-for-byte pin this contract test
(and its paired test_opencode_rust_coverage_toolchain_contract.py cross-
reference) asserts -- breaking the required coverage/test gate for every
PR in this repository.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 5, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 4ca00880-eec9-4f97-aa67-d65b3e32af41

📥 Commits

Reviewing files that changed from the base of the PR and between f590a89 and 13f6a12.

📒 Files selected for processing (1)
  • tests/test_pr_review_autofix_nvidia_nim_contract.py

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-05T05:21:42.030730Z 13f6a12 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@seonghobae
seonghobae merged commit 1c74d9d into main Sep 5, 2026
5 of 16 checks passed
@seonghobae
seonghobae deleted the fix/opencode-dispatch-blob-pin-1892 branch September 5, 2026 05:19
seonghobae added a commit that referenced this pull request Sep 5, 2026
… fix (#1894)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
seonghobae added a commit that referenced this pull request Sep 5, 2026
…s revert (#1897)

#1895 reverted #1892's timeout-minutes addition to
opencode-review-dispatch.yml, restoring its blob hash to
ade10b3 -- but did not restore the
pin this contract test asserts (which #1894 had correctly updated to
match #1892's now-reverted state), breaking the required test gate for
every open PR in this repository again.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
seonghobae added a commit that referenced this pull request Sep 5, 2026
…s revert

#1895 reverted #1889/#1892's model-inference wall-clock caps, restoring
opencode-review-dispatch.yml's pre-#1892 content. That content change
left REVIEW_DISPATCH_BLOB_SHA in test_pr_review_autofix_nvidia_nim_contract.py
pinned to the intermediate #1894 resync value (fca5bfc...), not the
now-current content (recomputed directly via git hash-object rather
than reasoned from history: ade10b3).

Same-day stale-pin pattern already seen this session (#1810, #1874) --
a workflow content change updates most-but-not-all of the tests
asserting the old content's exact hash.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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