lichess-org / lila

♞ lichess.org: the forever free, adless and open source chess server ♞
https://lichess.org
GNU Affero General Public License v3.0
15.77k stars 2.28k forks source link

Eastern Rapid Tourney does not get scheduled #16018

Open isaacl opened 2 months ago

isaacl commented 2 months ago

The eastern standard rapid is scheduled for 07:00. The intended timeline is:

Day 0 07:00: Eastern standard rapid begins
Day 0 07:05: Eastern standard for Day 1 is scheduled.

Instead what happens is:

Day 0 06:00 Hourly rapid with random opening begins
Day 0 06:05 Hourly rapid with random opening is scheduled for Day 1, with a 117min run time
Day 0 07:05 Eastern standard rapid Plan for Day 1 is created, but it conflicts with the hourly rapid already scheduled. 

So the eastern standard rapid never gets scheduled.

isaacl commented 2 months ago

Not sure how best to detect or handle bugs like this.. Maybe the opening hourlies should not roll over to next day?

isaacl commented 2 months ago

I could probably write some tests to check that the usurped tourney has same or lower freq...