icpc / ccs-specs

Contest Control System specifications
https://ccs-specs.icpc.io
10 stars 10 forks source link

Reconnection tokens #99

Closed deboer-tim closed 2 years ago

deboer-tim commented 2 years ago

As discussed on calls, the event feed reconnection was left incomplete after changing notifications and adding webhooks, and this is a path to fix it.

Many events are outside of or don't include contest time, the client and server may not agree on system time, and I don't like scraping events to find specific time properties to identify them. The only other options is to add a new property, which I've called 'token'. The token is optional and could be anything (id, counter, timestamp, etc). The allowed support options are pretty wide and some options are listed in a new use cases section.