strix/tests
Mads Hvelplund 0640e5c9ea
fix(core): backstop single-chunk overflow; add helper tests
Code review findings:

- factory._wrap_exec_command: add post-compression backstop that calls
  truncate_exec_result when compress_exec_result returns an oversized
  result (happens when _split produces 1 chunk, e.g. a single very
  large JSON record — compress_large_output correctly returns it
  unchanged, but the result was never guarded against threshold after).

- tests/agents/test_factory_helpers.py (new): unit tests for
  _resolve_model (run_config vs settings fallback, None/whitespace
  error cases, non-string Model object guard) and _extract_task_hint
  (valid cmd, missing cmd, non-string cmd, invalid JSON, non-dict JSON).
2026-06-19 13:52:18 +02:00
..
agents fix(core): backstop single-chunk overflow; add helper tests 2026-06-19 13:52:18 +02:00
core fix(core): backstop single-chunk overflow; add helper tests 2026-06-19 13:52:18 +02:00
interface fix: remove timeout=0 from scan error toast — was causing instant dismissal 2026-06-19 13:42:21 +02:00
__init__.py chore: add pytest test infrastructure 2026-06-19 07:16:22 +02:00
test_local_sources.py fix: log unreadable subtrees during size pre-flight 2026-06-19 07:16:58 +02:00
test_session_entries.py feat: add --mount and large-target pre-flight for local repos (#492) 2026-06-19 07:16:33 +02:00