Skip to content

Count a ready Pass and its ready dispatch on one pull request once (#1428) - #1430

Merged
JacobStephens2 merged 2 commits into
mainfrom
issue-1428
Oct 27, 2026
Merged

JacobStephens2 merged 2 commits into
mainfrom
issue-1428

Conversation

@JacobStephens2

Copy link
Copy Markdown
Owner

Closes #1428

Summary

The Inbox evaluation lifted every ready dispatched run into a row of its own. A Pickup run that dispatched a Spec run ends ready for review on that Spec run's pull request, so Ready for review showed the same work twice (count 2, two Dismiss buttons). That contradicts the Inbox note "Each outer Command counts once".

 observations = for each outer Command:
   outer
-  + every dispatched run that is ready
+  + every dispatched run that is ready,
+      unless outer is ready on the same pull request (it already carries the run)

A live or not-ready Pass still surfaces its ready dispatched run, and a ready dispatched run on a different pull request still gets its own row.

Evidence

Seen on the Console and in thirdshift status for orchestration#741 (Pickup run and its Spec run, both on PR #749):

Ready for review:
Pickup run …#741 … pull/749 · Ready
  Spec run …#741 … pull/749 · ended
Spec run …#741 … pull/749 · Ready      ← duplicate

New test a_ready_pass_and_its_ready_dispatch_on_one_pull_request_are_one_row:

ended ready Pickup run on pull/30, dispatched ready Spec run on pull/30 → Ready for review rows
ended ready Pickup run on pull/31, dispatched ready Spec run on pull/30 → Ready for review rows
  • Before: left: 2, right: 1, failing
  • After: 1 and 2, passing. a_pass_counts_once_with_its_dispatches_their_tickets_and_base_fixes (live Pass still yields 2 rows) is unchanged and passes.

cargo test --bin thirdshift: 1508 passed. The 22 failures are all sandbox:: tests, which fail on this machine with socat is not on PATH and do not touch the Inbox. cargo clippy --all-targets -D warnings is clean.

Merge Danger

Door: two-way

Display only: no record, label or GitHub write changes.

Blast Radius: Inbox

Ready for review rows and their count in the Console and thirdshift status. A dismissal recorded against the dropped duplicate row no longer has a row to apply to, which is harmless.

…1428)

A Pickup run that dispatched a Spec run ends ready for review on the Spec
run's pull request, so the Inbox gave the Pass a row and lifted the
dispatched run out as a second, identical one. A ready dispatched run now
gets its own row only when its Pass is not already ready on the same pull
request.
@JacobStephens2
JacobStephens2 merged commit 41e0175 into main Oct 27, 2026
18 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-1428 branch October 27, 2026 12:54
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.

The Inbox shows a Pass and the Spec run it dispatched as two Ready for review rows

1 participant