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
fix(pm): dispatch-gates' --changed --commands control accepts the no-diff refusal (#15320)
The case asserts that `--changed` combines with a stdout-shape flag — that the
combination PARSES and REACHES the derivation. It demanded `status === 0`,
which is a property of the tree the run stands in and not of the combination:
where HEAD equals origin/main the derivation refuses by design with exit 2 and
the "changes nothing against ... nothing to derive" sentence, so the case went
red with nothing wrong with the tool. That shape is `main`'s own push run of
lint.yml, which has been red at the gate step on every push since the case
landed, while the merge_group run of the same head stayed green.
The predicate now accepts either outcome, matching the refusal on the constant
the print site interpolates rather than on a retyped copy of it, and a positive
control puts an ILLEGAL combination (`--changed` with a path — refused by argv
before any derivation, at the same exit 2 with a different sentence) through
the SAME predicate and requires it to fail, so widening the case cannot empty
it out.
Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments