Drift v0.2.1 — Idempotent Summary Comments
Changed
- Idempotent summary comments in
@drift/app: the PR summary comment now embeds an invisible<!-- drift:summary -->marker. On any PR action (opened/synchronize/reopened) the handler finds the existing Drift comment and updates it in place (PATCH) instead of posting a new one — comments never accumulate on webhook retries or force-pushes. - Adds paginated
listIssueComments(Link-header walk, cap 10 pages) andupdateCommentGitHub API methods so the marker is found even on heavily-commented PRs.
Tests
69 passing (was 67): two new handler tests — synchronize updates the marker comment and leaves human comments untouched; synchronize without a prior Drift comment posts a fresh one.