open-code-review/internal
kite f24334deb2 perf(tool): stream file reads line-by-line to avoid full-file memory allocation
Replace os.ReadFile + strings.Split with bufio.Reader streaming in
FileReadProvider, so only the requested window (up to 500 lines) is kept
in memory instead of the entire file. Adds Runner.Stream for semaphore-
aware stdout piping, FileReader.ReadLines for line-windowed reading, and
validates invalid line ranges. Reduces per-goroutine memory from ~8MB to
~44KB for large files under concurrent workloads.
2026-06-06 20:59:05 +08:00
..
agent feat(tool): add global git subprocess concurrency limiter and propagate context.Context to diff layer 2026-06-06 20:20:34 +08:00
config feat(config): increase default max tool call rounds from 20 to 30 2026-06-06 20:35:32 +08:00
diff feat(tool): add global git subprocess concurrency limiter and propagate context.Context to diff layer 2026-06-06 20:20:34 +08:00
gitcmd perf(tool): stream file reads line-by-line to avoid full-file memory allocation 2026-06-06 20:59:05 +08:00
llm feat(llm): enable Anthropic prompt caching and fix token accounting 2026-06-06 19:26:34 +08:00
model feat: init 2026-05-20 22:03:52 +08:00
release fix(build): improve Windows support based on PR #13 review feedback 2026-06-02 22:37:27 +08:00
session feat(session,viewer): record review mode and diff refs in session 2026-06-05 09:44:33 +08:00
stdout style: apply go fmt formatting 2026-06-03 17:34:28 +08:00
suggestdiff feat: init 2026-05-20 22:03:52 +08:00
telemetry feat(llm): enable Anthropic prompt caching and fix token accounting 2026-06-06 19:26:34 +08:00
tool perf(tool): stream file reads line-by-line to avoid full-file memory allocation 2026-06-06 20:59:05 +08:00
viewer feat(session,viewer): record review mode and diff refs in session 2026-06-05 09:44:33 +08:00