fix(tools): a whole Go run started by calling test-go-tools directly leaves no suite-run record, takes no lock and sends no alert
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- go
- Domain
- testing-qa, tooling
Research direction
Read AGENTS.md under “Builds,” the test-tools recipe in justfile, and tools/cmd/test-go-tools/main.go; compare its whole-suite detection and lock handling with tools/cmd/suite-run. Start by adding the requested fake-module test for a test-go-tools call with no package argument. Done means the call either records suite_start and suite_end and alerts through suite-run, or refuses with a line naming the rule, as decided by the owner.
Written by the indexing model from the issue text.
Description
A whole run of the tools' Go suite started by calling test-go-tools directly is not a recorded whole-suite run: no suite-run.jsonl record, no alert to the owner, no machine-wide lock.
Evidence at 7a75425ef
AGENTS.md("Builds"): the whole suites are the owner's alone, and each run of one is recorded in<work root>/test-runs/suite-run.jsonlbytools/cmd/suite-run, with an alert when an agent started it.justfile, recipetest-tools: a whole run is routed throughbuild/go-tools/suite-run -recipe test-tools -- just test-tools ...before it reachestest-go-tools. Only that route writes the suite record.tools/cmd/test-go-tools/main.go:test-go-tools -C toolswith no package argument and no Python command runs the whole Go half of the module. It takes the machine-wide lock onlyif hasPy && wholeSuite(pyCmd), so the Go-only form takes none. Its own record isgo_startandgo_endintest-runs/tools-tests/runs.jsonlplus a stream file; it writes nothing tosuite-run.jsonland calls no alert.- Observed: a mutation-testing driver passed an empty package list to
test-go-tools -C toolsthree times by mistake. Each run printed2115 tests passed, 15 skippedor a failure count across the whole module.runs.jsonlholds the threego_endrecords. The last line ofsuite-run.jsonlwas from 15 November, and no alert was sent.
Not shown
- That another seat or script has started a whole Go run this way before.
- Whether the lock or the alert should apply to the Go-only form, or whether the Go-only form with no package argument should be refused.
Falsifier
A test-go-tools call with no package argument and no Python command that appends a suite_start and suite_end record to suite-run.jsonl and alerts as suite-run does, or is refused with a line that names the rule, shows this is wrong.
Work (tests first)
- A test that runs
test-go-toolswith no package argument against a fake module and shows a record insuite-run.jsonl(or the refusal). - Route the Go-only whole run through
suite-run, or refuse it, whichever the owner decides. - One mutant per changed line.
Related: #2229 (the same tool disagrees with the runner about which argument forms are whole-suite runs).
- Dominant language
- C++
- Stars
- 3
- Forks
- 5
- Avg merge
- 4h 37m
- Merged PRs (30d)
- 524
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EchoTools/nevr-runtime
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
EchoTools/nevr-runtime#2912 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
EchoTools/nevr-runtime#2910 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
EchoTools/nevr-runtime#2909 ·
Maintainers usually reply within 1 day
-
build: the generated defaults header is written 0600, so a seat outside nevr-build cannot read itOpenbacklog
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
EchoTools/nevr-runtime#2901 · 1 comment ·
Maintainers usually reply within 1 day
-
backlog
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EchoTools/nevr-runtime#2897 ·
Maintainers usually reply within 1 day
All issues in EchoTools/nevr-runtime
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
category:port-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
bug-unconfirmed
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
libc++
Difficulty 1/5 Under an hour Newbie friendliness 88/100
llvm/llvm-project#246508 ·
Maintainers usually reply within 1 day
-
good first issue help wanted phase:0 priority:P3 type:task
Difficulty 2/5 1-3 hours Newbie friendliness 67/100