bugeffort-smallfilter-qualitygood first issue
Description
OS: MacOS rtk version: 0.34.0
I recently did a code review with RTK enabled and noticed this output:
───────────────────────────────────────────────────────────────────────
# Command Count Saved Avg% Time Impact
───────────────────────────────────────────────────────────────────────
1. rtk ls 49 5.9K 67.5% 2ms ██████████
2. rtk grep 4 256 28.7% 2ms ░░░░░░░░░░
3. rtk git status 2 132 76.7% 28ms ░░░░░░░░░░
4. rtk find 2 23 46.0% 10ms ░░░░░░░░░░
5. rtk fallback: grep -r... 1 0 0.0% 58ms ░░░░░░░░░░
6. rtk fallback: grep -r... 1 0 0.0% 26ms ░░░░░░░░░░
7. rtk fallback: grep -r... 1 0 0.0% 26ms ░░░░░░░░░░
8. rtk fallback: grep -r... 1 0 0.0% 29ms ░░░░░░░░░░
9. rtk fallback: grep -r... 1 0 0.0% 28ms ░░░░░░░░░░
10. rtk fallback: grep -r... 1 0 0.0% 21ms ░░░░░░░░░░
Looks like a bunch of greps failed. Digging futher:
[pp@mbp:~/fiddle/zmNinjaNG]$ rtk gain -F
RTK Parse Failures
════════════════════════════════════════════════════════════
Total failures: 65
Recovery rate: 100.0%
Top Commands (by frequency)
────────────────────────────────────────────────────────────
2x grep -rn dangerouslySetInnerHTML /Users/pp/f...
1x grep -rn zmng_crypto_salt_v1\|getPersistentSalt...
1x grep -rn window\.open /Users/pp/fiddle/zmNin...
1x grep -rn window\.location\s*= /Users/pp/fidd...
1x grep -rn window\.location\.href\s*= /Users/pp..
1x grep -rn window\.location /Users/pp/fiddle/z...
1x grep -rn truncate --include=*.tsx
1x grep -rn token= /Users/pp/fiddle/zmNinjaNG/a...
1x grep -rn token /Users/pp/fiddle/zmNinjaNG/ap...
1x grep -rn toast\.\(error\|success\|warning\|info...
Recent Failures (last 10)
────────────────────────────────────────────────────────────
2026-03-27T12:44 [ok] grep -rn LogLevel\.ERROR /Users/pp...
2026-03-27T12:44 [ok] grep -rn log\.auth.*receivedData\|rec...
2026-03-27T12:44 [ok] grep -rn receivedData: response\.data...
2026-03-27T12:44 [ok] grep -rn log\.kiosk\b /Users/pp/fi...
2026-03-27T12:43 [ok] grep -rn sanitize\|sanitizeObject\|sa...
2026-03-27T12:43 [ok] grep -rn \.connect( /Users/pp/fidd...
2026-03-27T12:43 [ok] grep -rn notification.*password\|pass...
2026-03-27T12:43 [ok] grep -rn \.connect( /Users/pp/fidd...
2026-03-27T12:43 [ok] grep -rn \.password\b /Users/pp/fi...
2026-03-27T12:43 [ok] grep -rn CSRF\|csrf\|X-CSRF\|SameSite...
Running rtk grep -rn LogLevel\.Error from CLI works fine