It also simplifies the process of loading the DeletionWatcher pickle, eliminating the need to make SE API requests for data about each of the posts being watched upon reboot.
In order to support the changes, the format of the DeletionWatcher pickle has been changed, but backward compatibility with pickles stored in the original format is maintained. Given that all of the data in the pickle becomes outdated after a couple of hours, the code for compatibility can be removed a few hours or days after this is merged and used in production.
This PR resolves
11539, and
11540.
It also simplifies the process of loading the
DeletionWatcher
pickle, eliminating the need to make SE API requests for data about each of the posts being watched upon reboot.In order to support the changes, the format of the
DeletionWatcher
pickle has been changed, but backward compatibility with pickles stored in the original format is maintained. Given that all of the data in the pickle becomes outdated after a couple of hours, the code for compatibility can be removed a few hours or days after this is merged and used in production.Testing for this starts here.