open-code-review/internal/tool
Shi Peipei 4043e9ee33
fix: handle previously swallowed json.Unmarshal errors (#78)
- Propagate json.Unmarshal error in buildAnthropicParams when parsing
  tool call arguments, preventing silent empty-map fallback on malformed JSON
- Return explicit error message in ParseComments when comments JSON
  string fails to unmarshal, instead of silently ignoring

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-08 21:03:00 +08:00
..
code_comment.go fix: handle previously swallowed json.Unmarshal errors (#78) 2026-06-08 21:03:00 +08:00
code_search.go feat(tool): add global git subprocess concurrency limiter and propagate context.Context to diff layer 2026-06-06 20:20:34 +08:00
code_search_test.go fix(tool): propagate context.Context to all tool providers to enable subprocess cancellation 2026-06-06 19:26:34 +08:00
comment_collector.go feat: init 2026-05-20 22:03:52 +08:00
definitions.go fix(tool): make Registry and DiffMap concurrency-safe via freeze semantics 2026-06-06 19:41:11 +08:00
file_find.go feat(tool): add global git subprocess concurrency limiter and propagate context.Context to diff layer 2026-06-06 20:20:34 +08:00
file_read.go perf(tool): stream file reads line-by-line to avoid full-file memory allocation 2026-06-06 20:59:05 +08:00
file_read_diff.go fix(tool): make Registry and DiffMap concurrency-safe via freeze semantics 2026-06-06 19:41:11 +08:00
file_read_test.go perf(tool): stream file reads line-by-line to avoid full-file memory allocation 2026-06-06 20:59:05 +08:00
filereader.go perf(tool): stream file reads line-by-line to avoid full-file memory allocation 2026-06-06 20:59:05 +08:00
response_message.go feat: init 2026-05-20 22:03:52 +08:00
stub.go fix(tool): propagate context.Context to all tool providers to enable subprocess cancellation 2026-06-06 19:26:34 +08:00