mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-26 19:07:17 +00:00
* fix(ci): dedupe same-head @codex review requests Plain maintainer/Cursor-bot @codex review comments did not plant the cursor-external-codex marker, so own_rerequest on synchronize posted a second request for the same SHA. That concurrent pair produced a clean issue comment from one job and a findings review from the other. Skip re-request when any trusted or Cursor-bot author already requested this head via external marker, cursor-codex-head pin, or a recent plain @codex review. * fix(ci): only dedupe plain @codex against the current head push Plain unpinned requests no longer skip solely by age — that blocked re-request after a new synchronize when an older plain @codex still looked "recent". Callers pass the head commit time as notBefore so only post-push plain requests suppress a duplicate. * fix(ci): use PR head-change time for plain @codex dedupe Commit author/committer dates predate cherry-picks and rebases, so a plain @codex for the previous head could suppress re-request after a new synchronize. Pass pull_request.updated_at (moves with the push) as notBefore instead. * fix(ci): dedupe @codex only via head-pinned markers Drop plain-unpinned timestamp heuristics — they cannot safely know which SHA a bare @codex review targeted. Skip re-request when a trusted author already pinned this head with cursor-codex-head or cursor-external-codex.