redelivery: a replaced hook leaves failures after the last run without a final state

オープン
#38 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github, go
領域
api, backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Go
スター
1
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coder/faucet のほかの issue

coder/faucet の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。