The "auto-importing N bytes..." message was printed before ImportJSONLData checked whether the database was empty. When auto-export had created issues.jsonl (the default), every subsequent command printed the message to stderr even though the DB already had issues and the import was a no-op. Tests using CombinedOutput() saw the message mixed into their expected output, breaking ID parsing and JSON deserialization. Move the message inside the `imported > 0` branch so it only prints when an import actually occurs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bd | ||