Stop retrying permanent GitHub API failures in retry.sh
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 76/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github, github-actions, typescript
调研方向
从 scripts/retry.sh 和 scripts/resolve-thread.sh 开始;检查它们如何处理 GitHub CLI 失败,以及重试脚本如何识别 DELETE 404 情况。验证网络错误、429 和 5xx 仍可重试,永久性响应会迅速失败,并且空的 PR_NUMBER 会产生清晰的错误,且不会发起查询。
由索引模型根据 Issue 内容生成。
描述
scripts/retry.sh retries every failure 8 times with exponential backoff (91 s of sleeps) and only treats a DELETE 404 as terminal. Permanent responses therefore burn the whole ladder:
gh: Resource not accessible by integration (HTTP 403)— the App deliberately lacksworkflowspermission (#99), so committing a workflow change can never succeed. Seen in 11 runs, e.g. 43089011412; the step often gets SIGTERM (exit 143) before the retries finish.gh: Variable $pr of type Int! was provided invalid value—scripts/resolve-thread.shruns with an empty$PR_NUMBERon push runs, so every attempt builds the same invalid query. Seen in 43405825862.
Retry only network errors, 429 and 5xx; fail fast on 400/401/403/404/422, keeping the DELETE-404 idempotency case. Also have resolve-thread.sh reject an empty PR_NUMBER with a clear message instead of issuing the query.
- 主要语言
- TypeScript
- 星标
- 0
- 派生
- 0
- 平均合并
- 1 小时 39 分钟
- 30 天内合并 PR
- 84
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
promplate/code-review 的其他 Issue
-
Configure a git identity before the review agent runs可能已有人在做 @muspi-merol-review 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 1/100
promplate/code-review#112 · 1 条评论 ·
维护者通常 1 天内回复
-
Put the installed codex binary on PATH for review agents可能已有人在做 @muspi-merol-review 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 35/100
promplate/code-review#111 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
Document Issues write as required for reactions, not just issues可能已有人在做 @muspi-merol-review 今天认领。 未关闭documentation
难度 1/5 1 小时以内 新手友好度 25/100
promplate/code-review#100 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
wait-ci.sh never receives the token it excludes sibling runs with可能已有人在做 @muspi-merol-review 今天认领。 未关闭bug
难度 3/5 1-2 天 新手友好度 35/100
promplate/code-review#98 · 1 条评论 ·
维护者通常 1 天内回复
-
Certain fixes touching workflow files cannot be committed可能已有人在做 @muspi-merol-review 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 35/100
promplate/code-review#99 · 1 条评论 ·
维护者通常 1 天内回复
查看 promplate/code-review 的全部 Issue
相似的 Issue
-
triage
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
サムネイルの Storage のバケット(`thumbnails`)に、大きさの上限(1 MiB)と許可する種類(JPEG、PNG、WebP)を設定する可能已有人在做 @ykzts 今天认领。 未关闭tech: supabase
难度 2/5 1-3 小时 新手友好度 78/100
inabagumi/shinju-date#7147 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
elecnix/your-attention#129 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
umami-software/umami#4780 ·
维护者通常 3 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
celo-org/social-connect#487 ·
维护者通常 1 天内回复