open-code-review/internal/scan
kite d84d76b6dc
Some checks are pending
CI / test (push) Waiting to run
fix(session): isolate test sessions to test-sessions subdirectory
Prevent make test from polluting ~/.opencodereview/sessions/ with
thousands of var-folders-* directories by redirecting test session
writes to ~/.opencodereview/test-sessions/.

Introduce a package-level sessionSubDir variable (default "sessions")
and an exported UseTestSessions() function that switches it to
"test-sessions". Each test package that creates sessions calls
UseTestSessions() from init() in an init_test.go file.
2026-06-30 13:23:21 +08:00
..
agent.go feat: add tool_calls field to JSON output (#216) 2026-06-25 13:53:06 +08:00
agent_test.go feat: add ocr scan for full-file code review (#93) 2026-06-24 22:07:25 +08:00
batch.go feat: add ocr scan for full-file code review (#93) 2026-06-24 22:07:25 +08:00
batch_test.go feat: add tool_calls field to JSON output (#216) 2026-06-25 13:53:06 +08:00
budget_test.go feat: add tool_calls field to JSON output (#216) 2026-06-25 13:53:06 +08:00
coverage_test.go test: add coverage tests for agent, llm, llmloop, and scan packages 2026-06-27 00:15:28 +08:00
dedup_test.go feat: add tool_calls field to JSON output (#216) 2026-06-25 13:53:06 +08:00
estimate.go feat: add ocr scan for full-file code review (#93) 2026-06-24 22:07:25 +08:00
estimate_test.go feat: add tool_calls field to JSON output (#216) 2026-06-25 13:53:06 +08:00
init_test.go fix(session): isolate test sessions to test-sessions subdirectory 2026-06-30 13:23:21 +08:00
preview.go feat: add ocr scan for full-file code review (#93) 2026-06-24 22:07:25 +08:00
provider.go feat: add ocr scan for full-file code review (#93) 2026-06-24 22:07:25 +08:00
provider_test.go feat: add ocr scan for full-file code review (#93) 2026-06-24 22:07:25 +08:00