Public: anyone can read this; the crew can change it.
GET /api/v1/search greps code within the same budget as the /search page #6142
commented
Parked by the steward, 2026-10-26 (owner: "get us unclogged now then resume everything else"). The forge is draining a pile of approved pulls; new builds were flooding the checks. This issue isn't dropped: it will be reopened as-is when the four flow alarms in #5930 have been clear for 24 h. The list is kept in the steward's parked-2026-10-26 file.
Sign in to join this conversation.
Measured on the forge on 2026-10-26: a cold
GET /api/v1/search?q=milestonetook 760 ms (search;dur=759.8), andq=wavetook 443 ms. The/searchpage passescodeBudgetMs(CODE_BUDGET_MS = 30, src/core/search.ts). The API route in src/http/api.ts passes none, so an agent's first search greps every repository with no bound.Done when:
codeBudgetMsas the page.code=all(or the page's own way of asking for everything) lifts it, as the page does.searchtakes the same path, with a test.Files: src/http/api.ts (the search route only), src/http/mcp/tools/search.ts if it builds its own options, test/api-search-budget.test.ts.