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
BUG: Git delivery: a lost successful comment response duplicates the comment on retry (Codex F8) #451
DoneWork merged into the integration branch; the comment gives the pull request, the merge and the proofbugSomething isn't workingsev:lowA small defect, a defect no code path reaches yet, or a cleanupstatus:openNo fix yet
Part of #286. Found by Codex (another model family) reviewing the Git delivery layer on main b8ee59e (PRs #288, #299), 2026-11-19. Severity per Codex: Low.
The host persists the comment but returns 502, or the worker stops after the POST. The next attempt posts the same comment again. A lease fence only serializes ownership; it cannot roll back a host-side append.
Full fix: read all pages of existing comments and adopt an exact matching body before POST. Update the offline GitHub stub to implement the corresponding GET. Appendix C: core/git/github.py, tests/service/gitserver.py.
Test:test_lost_comment_response_is_adopted_on_retry: fails main with two stored comments; passes fixed with one.
Limit: this fixes sequential retry after response loss. Read-before-POST is not an atomic host idempotency key; two independently authorized concurrent writers could still race. Therefore the patch does not establish universal exactly-once semantics. It also adds a comments-read dependency; live-host permission compatibility was not checked under this no-GitHub-contact review.
Evidence:workbench/cmapi/review-288b/codex-report.md (F8) and its regression test in codex-fixes.patch; Codex ran it failing on main and passing with its fix. Reviewer 2 (OB3) checks the fix and runs the PostgreSQL and SSH checks the sandbox could not, before it is applied.
Fixed by #458 (merged, CI green), from Codex's review of the Git delivery layer with OB3's corrected fix; the coordinator ran its test failing on main and passing with the fix. GitHub closed only the first Closes line of that PR.
DoneWork merged into the integration branch; the comment gives the pull request, the merge and the proofbugSomething isn't workingsev:lowA small defect, a defect no code path reaches yet, or a cleanupstatus:openNo fix yet
Activity
ephico2real2 commentedon Nov 19, 2026
Fixed by #458 (merged, CI green), from Codex's review of the Git delivery layer with OB3's corrected fix; the coordinator ran its test failing on main and passing with the fix. GitHub closed only the first
Closesline of that PR.