You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deferred review finding: bin/gstack-review-dispatch:158 — pass computes the diff base as git merge-base <base> HEAD #3693
Filed by /ship's pre-landing review of branch gsta161/opus-lite-loadout (head bb539ba). The finding is in code that PR did not change, so it was deferred here instead of being fixed there (review scope frozen after pass 1).
Severity: CRITICAL
Where:bin/gstack-review-dispatch:158
Finding:pass computes the diff base as git merge-base <base> HEAD from the bare --base value, and line 165 does the same for mergeBase. render --role targeted (line 97) tries origin/<base> first. On Capy machines the local main is never updated after the clone. Here it is edf4c2e (v1.91.307.0), while git merge-base origin/main HEAD is 02da1a0. So this pass built every reader's DIFF_BASE from a range 62 commits too wide: 239 non-test files against the PR's real 27. Specialist findings, the red team and the receipt therefore certify review of a range that is mostly code already on main, and the PR's real change gets a fraction of the attention. In the same state a targeted reader would fail with BriefError, because its diff_base (local merge base) differs from the origin merge base that render checks.
Suggested fix: Resolve the base the way render does: try origin/<base> before <base> in pass, for both diffBase and mergeBase. Alternatively, refuse when the local base is behind origin/. Then rerun this /ship review pass with --diff-base $(git merge-base origin/main HEAD) before you trust its findings or receipt.
Thanks for filing this. It's fixed on main by #3780 (v1.92.17.0): gstack-review-dispatch pass now takes the diff base and merge base from origin/<base> first (mergeBaseWith in bin/gstack-review-dispatch), the same way render --role targeted does. Closing as fixed.
Activity
capy-ai commentedon Nov 1, 2026
Thanks for filing this. It's fixed on main by #3780 (v1.92.17.0):
gstack-review-dispatch passnow takes the diff base and merge base fromorigin/<base>first (mergeBaseWithin bin/gstack-review-dispatch), the same wayrender --role targeteddoes. Closing as fixed.