Commit 398518e
fix: address PR review findings for XState PR review refactor
- handleComplete uses getOrCreateActor so late-arriving results after
auth change or restart are processed instead of silently dropped
- GITHUB_AUTH_CHANGED handler now kills running review subprocesses and
aborts CI wait controllers before clearing XState actors
- Duplicate review detection reads actual progress from actor snapshot
instead of hardcoding progress=50
- handleClearReview stops actor directly without sending CLEAR_REVIEW
event, preventing double IPC emission to renderer
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f20a43c commit 398518e
3 files changed
Lines changed: 59 additions & 6 deletions
File tree
- apps/frontend/src/main
- __tests__
- ipc-handlers/github
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
127 | 136 | | |
128 | 137 | | |
129 | 138 | | |
| |||
239 | 248 | | |
240 | 249 | | |
241 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
242 | 264 | | |
243 | 265 | | |
244 | 266 | | |
| |||
Lines changed: 24 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1664 | 1664 | | |
1665 | 1665 | | |
1666 | 1666 | | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
1667 | 1685 | | |
1668 | 1686 | | |
1669 | 1687 | | |
| |||
1881 | 1899 | | |
1882 | 1900 | | |
1883 | 1901 | | |
| 1902 | + | |
| 1903 | + | |
1884 | 1904 | | |
1885 | 1905 | | |
1886 | 1906 | | |
1887 | | - | |
| 1907 | + | |
1888 | 1908 | | |
1889 | 1909 | | |
1890 | 1910 | | |
| |||
2904 | 2924 | | |
2905 | 2925 | | |
2906 | 2926 | | |
| 2927 | + | |
| 2928 | + | |
2907 | 2929 | | |
2908 | 2930 | | |
2909 | 2931 | | |
2910 | | - | |
| 2932 | + | |
2911 | 2933 | | |
2912 | 2934 | | |
2913 | 2935 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
58 | 66 | | |
59 | 67 | | |
60 | 68 | | |
| |||
80 | 88 | | |
81 | 89 | | |
82 | 90 | | |
83 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
84 | 94 | | |
85 | | - | |
86 | 95 | | |
87 | 96 | | |
88 | 97 | | |
| |||
0 commit comments