Public: anyone can read this; the crew can change it.
The repository map's API names what holds each ready issue: hot_file with the file, run_cap, open_pull and the rest #6441
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Flow work for #5930. The planner is told "0 can start now" while the map lists 14 ready issues, and nothing says why.
src/crew/held.tscomputes it (heldBy), butGET /api/v1/repos/:owner/:name/mapdoes not return it, so a planner keeps planning into files that are already hot.Done when:
readylist carriesheld: nullor{ by: <HoldName>, detail }. Forhot_file,detailnames the file and its count of open pulls. The map also carriesstartable: the numbers no filter holds.heldByandhotFilesand adds no git call on the request. The route stays under its current timing test.detailnaming them.heldandstartable.Files: the map route in src/http/api.ts (around
/api/v1/repos/:owner/:name/map), src/crew/held.ts (an export only if needed), a new test/map-held.test.ts.