Commit e61cc0a
fix: preserve search_after position when retrying with new PIT
When a PIT expired mid-pagination, the retry was resetting the cursor
to null, silently restarting from the beginning. Now the retry preserves
the original search_after sort values and only replaces the PIT ID.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent bfb710a commit e61cc0a
1 file changed
Lines changed: 3 additions & 2 deletions
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
181 | | - | |
| 182 | + | |
182 | 183 | | |
183 | 184 | | |
0 commit comments