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

Abierto
#38 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github, go
Área
api, backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Go
Estrellas
1
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de coder/faucet

Todos los issues de coder/faucet

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.