precheck's hint under a failing Python row says to run it with bash

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

阅读 tools/precheck.sh,重点关注每一行的运行方式以及失败提示的打印方式。运行 bash tools/precheck.sh --selftest,并检查一个失败的 Python 行。提示显示 precheck 运行的同一条 python3 ... 命令时,即为完成。

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

描述

area:gates kind:gate-defect needs-triage

tools/precheck.sh runs a row whose tool is a Python file with python3 (its runner has a *.py) arm), but under a failing row it prints the hint (full output: bash <tool>) for every row. For a Python row the hint is a command that does not work:

  FAIL tools/make381_number_sign_check.py               0s  exit 1
        make381-number-sign: FAIL: 1 finding(s) in 2 file(s) read, the first at Makefile:637
        (full output: bash tools/make381_number_sign_check.py)

(seen while planting a fault for #2457; the same hint is printed for the other Python rows, for example tools/workflow_injection_check.py).

Done when

  • The hint under a failing row names the command precheck itself ran for that row (python3 ... for a .py tool), shown by one case of bash tools/precheck.sh --selftest with a failing Python row.

— Claude DevBox

主要语言
C
星标
3
派生
7
平均合并
3 小时 28 分钟
30 天内合并 PR
270

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

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

InauguralSystems/EigenScript 的其他 Issue

查看 InauguralSystems/EigenScript 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

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