Skip to content

Drift v0.2.1 — Idempotent Summary Comments

Choose a tag to compare

@lilcipherx lilcipherx released this 05 Aug 09:46
· 62 commits to main since this release

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) and updateComment GitHub 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.