The generated-files builder timeout cannot be changed

未关闭 适合新手
#1,306 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@renuvenugopal178 已经在做这个了。

开始于 2026年11月8日。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
82/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
tooling

调研方向

从 scripts/check_generated_files_current.py 开始,重点查看 BUILD_TIMEOUT 和现有的 FAIRCODE_GH_TIMEOUT 处理逻辑。阅读模块 docstring 和相关测试,然后检查 builder 如何应用超时。完成标准是有测试确认 FAIRCODE_BUILD_TIMEOUT 会设置上限,且无效值会回退到 600 秒。

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

描述

enhancement good first issue tooling

Where: scripts/check_generated_files_current.py (BUILD_TIMEOUT).

Current gap: The 600 s limit for each regeneration step is a constant, so a slow CI runner or a very large explainer set needs a code change (the gh timeout got FAIRCODE_GH_TIMEOUT for this reason).

Suggested approach: Read an optional FAIRCODE_BUILD_TIMEOUT (seconds), ignore values that are not positive numbers and mention it in the module docstring.

Done when: a test sets the variable and sees the limit used, and an invalid value falls back to 600.

主要语言
HTML
星标
47
派生
45
平均合并
2 小时 47 分钟
30 天内合并 PR
87

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

yakew7/Fair-Code 的其他 Issue

查看 yakew7/Fair-Code 的全部 Issue

相似的 Issue

更多 DevTools Issue

把新 issue 发到你的邮箱

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