Repository navigation
Replies: 1 comment
|
Bundles do run concurrently — the “naturally supports concurrent review” line is literal. Defaults and the knobs that match your six questions: 1. Concurrency
2. Tool-call budget
Also try 3. Auxiliary modules
4. TimeoutsTwo independent budgets:
5. Seeing concurrencyUse the OpenTelemetry integration and watch LLM metrics ( 6. Rule scopeA Practical starting point for your 30m caseocr review --from origin/<target> --to origin/<source> \
--rule <rule.json> --format json \
--effort low \
--concurrency 8 \
--max-tools 50 \
--timeout 20If wall time barely moves when you raise |
Uh oh!
There was an error while loading. Please reload this page.
Environment
qwen3.8-maxvia an Anthropic-compatible endpoint (/v1/messages,use_anthropic=true)ocr review --from origin/<target> --to origin/<source> --rule <rule.json> --format jsonProblem
Every branch review takes 15–30 minutes. I want to bring this down for interactive/CI use.
Real data from one review (13 files, 24 comments, 0 severe, 30m27s)
Resource consumption:
Tool calls (193 total):
code_searchfile_readfile_read_difffile_findcode_commentThe files were split into 4 sub-agent bundles. There was also 1 auxiliary
plan_taskLLM request that timed out ("结果可能未经过完整的后置过滤").My read: 1827s / 193 ≈ 9.5s per tool round-trip, so wall-time looks dominated by number of sequential LLM turns × per-turn latency, not by output size (only 87K output tokens).
Questions
--max-concurrency/ env var to raise parallelism across bundles? This looks like the biggest lever.code_search/file_readrounds (or disable repo-level context lookup) to trade some depth for speed? A per-file "max agent steps / turns" setting?plan_tasktimeout suggests slow auxiliary calls stall the run. Is there a configurable request timeout / retry count so one slow call doesn't dominate?**/*rule (incl. an output-language instruction) to every file. Does a broad rule increase tokens/turns, and is per-path rule matching cheaper?Avg Time(the README benchmark table) that I've missed?What I'd like
A "fast preset" or a couple of flags/env vars to cut wall-clock to a few minutes for small diffs, accepting lower recall — similar to the precision/recall trade-off you already document.
Happy to provide sanitized logs / a session trace. Thanks!
All reactions