map: the bindings component's rows are not in the order test-map -check expects at 6cc9babd6

Open Beginner friendly
#2,874 0 comments 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
75/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
cmake, cpp
Domain
build-system

Research direction

Start with the generator recipe named in the issue and run it on a build host with the required trees. Inspect tools/test_map/components/srcruntimecombat~bindings.jsonl and use just test-map -check -trees <build trees> to verify the bindings component. Done means committing the regenerated file as a separate change and confirming just test-map -check passes for that component.

Written by the indexing model from the issue text.

Description

Evidence at 6cc9babd6

  • tools/test_map/components/src~runtime~combat~bindings.jsonl lines 2 to 9, read in file order: apply_damage_and_notify (.cmake, .cpp), then process_damage_server (.cmake, .cpp), then update_active_heal_bubble (.cmake, .cpp), then deferred_enable_component (.cmake, .cpp). The rows are not in one name order.
  • A review of the release branch reported test-map -check failing this component "at line 4" on a build checkout at 762756fca. The same review reported the landed emit_on_death.cpp row failing the same way. Neither run is re-run for this issue.

Not shown

  • The generator's exact ordering rule, and whether a fresh just test-map on 6cc9babd6 writes this order.

Falsifier

  • A fresh just test-map -check -trees <build trees> on 6cc9babd6 that passes the bindings component.

Work

  1. Run the generator on a build host that has the trees it needs (its recipe names them).
  2. Commit the regenerated src~runtime~combat~bindings.jsonl as its own change.
  3. Test: just test-map -check passes for the component.

Until this lands, the fold accepts this drift under the merge-fold section on periodic regeneration.

Dominant language
C++
Stars
3
Forks
5
Avg merge
4h 37m
Merged PRs (30d)
524

Getting set up

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 EchoTools/nevr-runtime

All issues in EchoTools/nevr-runtime

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.