Skip to content

Leave Self-merge check holds for the Day shift - #2440

Merged
JacobStephens2 merged 6 commits into
issue-2421from
issue-2428
Dec 5, 2026
Merged

JacobStephens2 merged 6 commits into
issue-2421from
issue-2428

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Dec 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

Delivery
  Sign-off hold decides CI readiness
  Self-merge check can leave the PR ready for review
    Inbox and Run notification show the reason
    A held Base fix gets its own Inbox row
Pickup
  Leaves an issue waiting when its Command records show a hold on an open PR from its Issue branches
  Checks the Spec branch after reading Tickets that may have just closed
Fix Pass
  Rechecks the hold under the PR reservation
  Repairs a Merge conflict or settled CI red

Pickup retains the first-observed PR body when it continues work.

Evidence

Execution evidence

  • cargo test --locked --test pickup_run pickup_leaves_an_open_pull_request_held_by_the_self_merge_check -- --exact
  • cargo test --offline --test base_fix a_held_base_fix_has_its_own_ready_for_review_row -- --exact
    • Before Exit 101 with "commands": [] in Ready for review.
    • After Passed with the Base fix's PR and hold reason in that group.
  • cargo test --locked --test fix_pass fix_pass_repairs_a_conflict_after_mergeability_settles_on_a_self_merge_check_hold -- --exact
    • Before Exit 101 with no eligible pull request targeting main.
    • After Passed with the conflict repair committed.
  • cargo test --test pickup_run pickup_leaves_older_held_pr_open_when_a_newer_issue_branch_exists -- --exact
  • cargo test --test pickup_run pickup_rechecks_the_spec_branch_when_tickets_close_during_refresh -- --exact

The regression seams are the Pickup, Fix, and status CLI, the Console Inbox, and the Run notification delivered to a Resend stand-in. The revised Fix Pass test passed with a hold published by the successful reservation push. Local browser verification passed at desktop and mobile sizes for the Inbox and Pickup documentation.

npm test --prefix site passed all 74 tests. The Pickup model passed its four regression checks and reproduced the documented pre-Claim counterexample.

Merge Danger

Door Two-way. A revert restores the former Pass selection and Inbox behavior.

Blast Radius Automation. Selection consults the repository's retained Command records, and the Inbox exposes the held Base fix.

Unaddressed findings

Standards

None.

Spec

  • Hosts with separate Command records can retake a held PR. The Pickup and Fix Pass probes both exited 101 with distinct logs.dir values. src/logs/reading.rs:546 reads the configured repository Command records, and ADR 0037 places the check at Self-merge readiness. The Day shift owns the shared record and release policy decision. Existing follow-up #2439
  • A recommendation-only Review Pass can displace an earlier hold. The earlier probe exited 101 after a recommendation-only Review on the same head and a Fix Pass that then pushed an update. The Ticket predicates the hold on the last Run. The glossary includes recommendation-only Review as a Run, and src/logs/reading/attribution.rs:69 chooses the most recent Run. The Day shift owns the decision about whether an advisory Review carries the hold forward. Existing follow-up #2441

Security

None.

Security review outcome

No unaddressed introduced findings.

Review coverage

Standards and Spec each read all 21 changed files, including the generated manual hunk. The review used refs/remotes/origin/issue-2421 at eec86a18.

Closes #2428

Built with codex codex-cli 0.167.2 · gpt-6.2-sol · xhigh

@JacobStephens2

Copy link
Copy Markdown
Owner Author

Delivery completed on agent-authored or reviewed head cc8dbab.

@JacobStephens2
JacobStephens2 merged commit 140e18f into issue-2421 Dec 5, 2026
28 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-2428 branch December 5, 2026 14:12
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