Commit a5b5acc
committed
fix: log idle-reminder task-count failures; test grep fallback via public API
Address two CodeRabbit review findings on PR #13:
- ui/shell: replace contextlib.suppress(Exception) around the idle-reminder
active-task count with a try/except that logs at debug (active_running still
falls back to 0), so background-task introspection failures are no longer
invisible.
- tests/tools/test_grep: exercise the Python fallback's wall-clock bound through
the public Grep() API with a forced ripgrep-unavailable path instead of
calling _python_grep directly, and drop the now-unused import.1 parent 2f7afee commit a5b5acc
2 files changed
Lines changed: 24 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
798 | | - | |
| 798 | + | |
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
802 | 802 | | |
803 | 803 | | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
804 | 810 | | |
805 | 811 | | |
806 | 812 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
1041 | 1040 | | |
1042 | 1041 | | |
1043 | 1042 | | |
1044 | | - | |
| 1043 | + | |
1045 | 1044 | | |
1046 | 1045 | | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
1047 | 1052 | | |
1048 | 1053 | | |
1049 | 1054 | | |
1050 | | - | |
1051 | | - | |
1052 | | - | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
1053 | 1060 | | |
1054 | 1061 | | |
1055 | | - | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
1056 | 1065 | | |
1057 | 1066 | | |
1058 | 1067 | | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
| 1068 | + | |
| 1069 | + | |
1062 | 1070 | | |
1063 | 1071 | | |
1064 | 1072 | | |
0 commit comments