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

Open Beginner friendly
#2,458 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
86/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
bash, python
Domain
tooling

Research direction

Read tools/precheck.sh, focusing on how each row is run and how the failure hint is printed. Run bash tools/precheck.sh --selftest and check a failing Python row. Done when its hint shows the same python3 ... command precheck ran.

Written by the indexing model from the issue text.

Description

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

Dominant language
C
Stars
3
Forks
7
Avg merge
3h 28m
Merged PRs (30d)
270

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from InauguralSystems/EigenScript

All issues in InauguralSystems/EigenScript

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.