redelivery: older ranges get no page after a dense burst and silence

未关闭
#37 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
go
领域
backend

调研方向

Read faucet/redeliver_gaps_test.go and faucet/redeliver_sim_test.go, then review the constraints in #22 and #26. The issue requires a design review before implementation; a candidate design is done only when the burst probes for both issues show silent_lost=0 and the README capacity numbers and pinned simulations are updated.

由索引模型根据 Issue 内容生成。

描述

Problem

After a dense burst followed by silence, the older open ranges of the redelivery sweep get no page. When a burst holds more attempts in the 5 minute read overlap than a run has pages, every run reads the same newest pages again and opens one more range. The failures in the older ranges are not recovered. Each one ends inside a counted, logged gap once its range leaves GitHub's 72 hours, so nothing is lost silently, but nothing is recovered either.

This is item 3 of #26. #26's redesign covers the clock limits and leaves this one, because it does not come from a clock.

Evidence

TestABurstThatARunCannotReadEndsEveryFailureRecoveredOrInACountedGap in faucet/redeliver_gaps_test.go pins the current behavior. Three review rounds on #26 also ran burst-then-silence probes: they recover nothing in the older ranges and lose nothing silently.

Constraints for a fix

  • AGENTS.md rules out a selection shortcut that skips, suppresses or merges an overlap read or an open range (#22 tried two such shortcuts, and each one dropped failures silently).
  • A change to how pages are shared between the head and the ranges changes the capacity numbers in the README, and the sims in faucet/redeliver_sim_test.go pin them.
  • A fix needs a design review first, and must show silent_lost=0 in the burst probes of #22 and #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. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

coder/faucet 的其他 Issue

查看 coder/faucet 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。