Worth keeping from the cleanup: the in-app feature-request → GitHub Issue pipeline created 10 near-identical issues for one request on Apr 6–7 (#42–#54).
Evidence of a retry bug: #49, #50, #51 were created at 05:14:34.256, 05:14:35.091, 05:14:35.380 — three issues within ~1 second, same body, same page. #48 landed seconds earlier.
Suggested fixes
- Idempotency: hash (page + normalized request text) and skip creation if an open issue with the same hash exists.
- Don't retry the GitHub POST on timeout without checking whether the issue was actually created.
- Optional: fuzzy-match new requests against open
from-chat issues and comment "+1" on the existing one instead of filing a new issue.
Visual acceptance criteria
- Submitting the same feature request twice from the widget results in exactly one open GitHub issue.
Worth keeping from the cleanup: the in-app feature-request → GitHub Issue pipeline created 10 near-identical issues for one request on Apr 6–7 (#42–#54).
Evidence of a retry bug: #49, #50, #51 were created at
05:14:34.256,05:14:35.091,05:14:35.380— three issues within ~1 second, same body, same page. #48 landed seconds earlier.Suggested fixes
from-chatissues and comment "+1" on the existing one instead of filing a new issue.Visual acceptance criteria