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
Restore a missing PR review summary when confirming a published review #1326
A PR body can keep its empty Review placeholder after GitHub has accepted the review. Even an explicit loopzero review --repost reports the recovered verdict without restoring the missing summary.
In an offline replay of 52ddf36e, the review POST accepted an approval before the fake returned a timeout. Both loopzero review and loopzero review --repost exited 0 with one review POST and zero body PATCHes. Both exact-review confirmation branches return before the summary updater. Once a normal summary PATCH has succeeded, the updater itself appends unconditionally. src/loopzero/cli.py:774 · src/loopzero/cli.py:814 · src/loopzero/cli.py:521
Use the same best-effort summary update after confirming a live publication. Read the live body and add the existing summary line only if it is absent from the Review section. Keep the existing serialization for body writers once #1230 lands.
Acceptance
A lost acknowledgement after the review POST, or an interruption before the summary PATCH, leaves one review and one summary line after recovery, without running the reviewer again or posting a second review.
If the summary PATCH already landed before the acknowledgement was lost, recovery leaves the line unchanged and sends no unnecessary PATCH. Preserve unrelated PR sections.
Activity
eowca commentedon Nov 26, 2026
Not planned for now: its PR #1403 was closed on cost (#575 (comment)). Reopen with new evidence of a material, measured saving or failure.