test-changed and the fold never compile a combat binding into nevr_runtime: a binding .cpp's map row has no build id
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- cmake, cpp
- Domain
- build-system, testing-qa
Research direction
Start with the failing source mapping test in tools/internal/testmap, then trace how tools/cmd/test-map derives build ids from the build trees. Check how cmake/NevrRuntimeBindings.cmake adds binding sources to nevr_runtime and whether other sources share the gap. Done when the generator maps these sources to build, regenerated rows include build for the bindings, and the affected test passes.
Written by the indexing model from the issue text.
Description
A change to a combat binding (src/runtime/combat/bindings/*.cpp) is never compiled into nevr_runtime by just test-changed or by the fold's gate. A binding that no longer compiles therefore reaches the release line green. That happened at batch 178: #2837's binding includes a header that had moved (#2871).
Evidence at release/v6.20.0 492e4620e
- The map row of
src/runtime/combat/bindings/match_control_messages.cpp(tools/test_map/components/src~runtime~combat~bindings.jsonl) lists:gtest:test_match_control_messages_binding;go:cmd/standards-audit,go:cmd/test-map;- several pytest wiring checks.
It does not listbuild.
test_match_control_messages_bindingincludes the binding's .cpp whole. Its target compiles it, but under the test's own flags, not as part ofnevr_runtime.- #2837's builder measured it: after
just test-changed,build/mingw-release/src/runtime/CMakeFiles/nevr_runtime.dir/combat/bindings/was empty. Onlyjust buildcompiledmatch_control_messages.cpp.obj. - The fold runs
just buildonly whentest-changed -nlistsbuild(AGENTS.md "Builds", the fold's fixed set). Batch 178's record says "plan lists no build". - #2837 was replayed onto a base where aa3cb84fe had moved
runtime/combat/match_control_rules.h. Its include atsrc/runtime/combat/bindings/match_control_messages.cpp:34names the old path, and the fold did not compile it.
Not shown
- Why the map gives a binding no
buildid. The generator (tools/cmd/test-map) decides it from the build trees; not read yet. - Whether other files compiled only into
nevr_runtimehave the same gap.
Falsifier
just test-changed -n on a branch that changes only a binding .cpp lists build.
Work
- Test first, in
tools/internal/testmap: a file that is a source of thenevr_runtimetarget (the bindings among them, throughcmake/NevrRuntimeBindings.cmake) maps tobuild. It is red today for a binding .cpp. - Fix the generator, regenerate the rows, and check the bindings' rows list
build. - List any other kind of file compiled only into a target no test builds, and give it the same rule.
- 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