Commit 4f7e1ea
fix(review): address PR feedback from Copilot review
- Fix double-close of response body by using explicit close in 401 path
and defer in else branch instead of unconditional defer
- Increase slow_down test timeout from 15s to 25s to prevent flakiness
- Update pollForTokenWithProgress doc comment to say "additive backoff"
instead of "exponential backoff"
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7994db9 commit 4f7e1ea
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | | - | |
| 530 | + | |
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
| |||
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
827 | | - | |
828 | 827 | | |
829 | 828 | | |
830 | 829 | | |
| |||
866 | 865 | | |
867 | 866 | | |
868 | 867 | | |
| 868 | + | |
| 869 | + | |
869 | 870 | | |
870 | 871 | | |
871 | 872 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
0 commit comments