redelivery: a replaced hook leaves failures after the last run without a final state
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Read the #26 redesign and its rules, then trace the lease handling for hook changes, especially where the old position and Clear are available. Review whether recording the stretch up to GitHub's clock on the new hook's first page fits those rules; done means the design covers the reproduced silent loss without violating the redesign.
Written by the indexing model from the issue text.
Description
Problem
When the operator replaces the webhook, a failure that the old hook listed after the last redelivery run gets no final state. The lease turns the old hook's open ranges into gaps, but the stretch above the old position was never a range, so it becomes neither a read nor a gap. The new hook cannot read the old hook's list. No cron outage is needed: the failure only has to arrive between the last run and the hook change.
main at e8382ff has the same behavior. The #26 redesign does not change it.
Evidence
A round-4 reviewer of the #26 redesign reproduced it on the redesign branch and on main: a hook replaced 5 minutes after a failure that no run had read prints in_gap=0 silent_lost=1.
Direction
On a hook change, the run could record the stretch from the old position (less the read overlap) up to GitHub's clock at the first page of the new hook as one counted gap, next to the old hook's open ranges. This needs the old position and Clear at the lease, and a design review against the rules of #26.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high
- Dominant language
- Go
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coder/faucet
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
slavakurilyak/awesome-ai-agents#1026 ·
-
GetBatchResponseById panics for items without a body (204/302) and for unknown idsPossibly taken @0z5a claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
JuliusBrussee/caveman#1567 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug postgresql
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day