β‘π pattern filter returns empty on task output containing matches
Resolved π¬ 2 comments Opened Mar 9, 2026 by maxiboch Closed Apr 6, 2026
Bug
When using β‘π with a pattern parameter to grep stored task output, it returns empty results even when the output definitely contains matching lines.
Reproduction
- Run a cargo build that produces errors:
β‘βΆοΈ ['cargo check --all-features 2>&1'] - Build fails with 16 errors (confirmed via
offset:-100showing 'due to 16 previous errors') - Try to grep:
β‘π {'action':'output','task_id':'π οΈ33','pattern':'error\\[E','raw':true} - Returns empty:
{output: '', filtered: true, truncated: true} - Also tried:
pattern:'error',pattern:'^error'β all return empty or just the summary line
Expected
Pattern filter should return all lines matching the regex from the stored output.
Workaround
Reading with negative offsets in chunks works, but defeats the purpose of the pattern filter.
This issue has 2 comments on GitHub. Read the full discussion on GitHub β