split on the second ask too

Merged
ST
1d ago
+79-24

Summary by cubic

Fixes window collection so a window GitHub times out on when asked a second time gets split instead of failing the entire collection.

  • Previously, only a failed first query triggered window splitting; a second query that hit a resource limit or gateway error caused collection to error out. Now the second ask splits the window too.
  • Adds a regression test with a fake that drops a day on the first answer and returns HTTP 502 on the second.