The pagination widget for finished runs no longer shows the last page
Note that pagination for the finished runs always worked well (in contrast to the event log).
https://github.com/glinscott/fishtest/pull/1631
#1631
Yes but this was meant to be for the event log. Not for the finished runs (for which there was never any problem).
I'm just linking the PR bcs u didn't in the issue description. Also the PR doesn't seem to indicate that it was meant only for the events log, it just says "pagination" in general. The last page (currently 5550) of finished tests has a TTFB of 300ms and the same 5550 page in events has a TTFB of 4 seconds, maybe there are some underlying issues in the events.
Yes we tried several times to fix this with appropriate indexes, but without success.
finished runs had the same problem:
$ time wget -q -O - https://tests.stockfishchess.org/tests/user/Vizvezdenec?page=817 > /dev/null
real 0m19.507s
user 0m0.009s
sys 0m0.003s
Yes of course for the user pages.
But there was never a problem for the generic page.
Ah, yes, that's correct. But I guess there is little value in treating it in a special way? Not only is there little reason to look at the first tests (apart from some historic curiosity), the pages are accessible, just not one-click away.
I always found it nice that with a single click one could observe the humble beginnings of Fishtest. It is a bit like a museum.
It would be trivial to fix it using an optional argument that restores the old behavior when that is desired.