Reaper shouldnt create salvage PR when the PR would be empty #1561

Closed
opened 2026-07-25 08:53:03 +00:00 by coilysiren · 3 comments
Owner
No description provided.
Author
Owner

Example #1559

Example https://forgejo.coilysiren.me/coilyco-flight-deck/ward/pulls/1559
Member

WARD-WORKFLOW: done

details

workflow: merge-remote-main; review summary: skipped - the in-container review gate was intentionally skipped because the temporary ward default is pending brokered QA.

implemented: landed 87677ee2 on main. The reaper now refreshes origin/main, detects salvage branches with no PR diff, and keeps the salvage notice branch-only instead of creating a zero-file PR.

validation: focused reaper tests passed; commit hooks passed including golangci-lint. ward exec test ran but failed on existing TestBuildUpPlanTailnet host-net expectation, unrelated to this change. Post-push Actions check: promote triggered release.yml #2438 for 87677ee2; release was waiting when checked.

felt: small, localized fix once the PR #1559 shape made the bug obvious.

confidence: high for the empty-PR guard; medium for release completion because it was still queued/running at handoff.

surprises: installed ward v0.812.0 no longer had the documented ward ops forgejo tasks surface, so I used the Forgejo Actions API fallback.

follow-ups: consider ignoring or otherwise hiding .ward-run-provenance.json from normal git status without breaking the reaper proof path.

WARD-WORKFLOW: done ✅ <details><summary>details</summary> workflow: merge-remote-main; review summary: skipped - the in-container review gate was intentionally skipped because the temporary ward default is pending brokered QA. implemented: landed 87677ee2 on main. The reaper now refreshes origin/main, detects salvage branches with no PR diff, and keeps the salvage notice branch-only instead of creating a zero-file PR. validation: focused reaper tests passed; commit hooks passed including golangci-lint. `ward exec test` ran but failed on existing `TestBuildUpPlanTailnet` host-net expectation, unrelated to this change. Post-push Actions check: promote triggered release.yml #2438 for 87677ee2; release was waiting when checked. felt: small, localized fix once the PR #1559 shape made the bug obvious. confidence: high for the empty-PR guard; medium for release completion because it was still queued/running at handoff. surprises: installed ward v0.812.0 no longer had the documented `ward ops forgejo tasks` surface, so I used the Forgejo Actions API fallback. follow-ups: consider ignoring or otherwise hiding `.ward-run-provenance.json` from normal `git status` without breaking the reaper proof path. </details>
Member

WARD-WORKFLOW: reservation-released

release details

Run finished with WARD-WORKFLOW: done ✅.

ward container reap released container engineer-codex-ward-1561 (--harness codex): the terminal outcome supersedes the reservation, so a later redispatch no longer needs --override-reservation.

— Codex, via ward agent

<!-- ward-agent-reservation-released --> WARD-WORKFLOW: reservation-released <details><summary>release details</summary> Run finished with `WARD-WORKFLOW: done ✅`. `ward container reap` released container `engineer-codex-ward-1561` (`--harness codex`): the terminal outcome supersedes the reservation, so a later redispatch no longer needs `--override-reservation`. </details> <!-- ward-agent-signature --> — Codex, via `ward agent`
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/ward#1561
No description provided.