Commit 91600eb
Handle network errors in useSubmissionsList test run fetch (#8475)
When fetching test run data fails due to a transient network error
(TypeError: Failed to fetch), remove the submission from the list
to reset the UI to a clean state instead of leaving it stuck.
Closes #8465
Closes #8467
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2a513bd commit 91600eb
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
159 | 160 | | |
160 | | - | |
161 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
162 | 166 | | |
163 | 167 | | |
164 | 168 | | |
| |||
0 commit comments