[CORRUPTED] Synthetic Benchmark PR #49578 - fix(updater): Stop expiring secret prematurely#20
Conversation
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Louis Chmn <louis@chmn.me>
|
Not sure if the appropriate place to comment? This is also to give feedback on a notable improvement with the latest upgrade to 32.0.3. Observed in the latest sucessful(!) upgrade to Nextcloud 32.0.3 on Ubuntu 22.04.5 LTS:
Unfortunately I could not identify a corresponding documentation in the release notes. |
Benchmark PR nextcloud#49578
Type: Corrupted (contains bugs)
Original PR Title: fix(updater): Stop expiring secret prematurely
Original PR Description: <!--
-->
updater.secretcreation and expiration nextcloud/server#45714Summary
nextcloud#43967 introduced a regression in the handling of the expiration of
updater.secret. The result is thatupdater.secretis expired at the next job interval (~10 minutes). If the web Updater takes >10 minutes this prevents it from continuing.updater.secret.createdvalue when we expire a secretconfig_is_read_onlyin theAdminControllerResetTokenbackground job unit tests to catch the scenario addressed by this PRResetTokenbackground job unit test coverage in generalAdminControllerunit test coverage in generalTODO
staticused in theResetTokentest since it didn't seem to serve a purpose but I may have broken it so may require another look)Checklist
Original PR URL: nextcloud#49578