Skip to content

v3.61.3

Choose a tag to compare

@arunavo4 arunavo4 released this 29 Nov 05:31
· 3 commits to main since this release

Fixes

  • Scheduled syncs now pick up where they left off after a restart (#623, thanks @zwimer for #620). Syncs started with the buttons already resumed, but scheduled syncs and auto-mirror runs kept no record of their progress, so a restart in the middle left their repositories failed until the next scheduled run. They now resume the repositories they had not reached, with the same limit of 3 restarts without progress.
  • A restart skipped the scheduled sync that was due and pushed the next one a whole interval out (#623). Every start set the next run to the interval from then, so a sync that came due while the app was down never ran, and with restarts more often than the interval, scheduled syncs never ran at all. The planned time is kept now, and an overdue sync starts right after the app comes back.
  • Resuming after a restart no longer looks like a failure (#623). The activity log said repositories were reset to failed so they could be retried, a moment before their job carried on with them, and the log showed ERROR ... Middleware recovery timeout when the resume took longer than 15 seconds. Repositories waiting for their job now say so, and both messages are INFO.
  • Pull requests turned off on a GitHub repository showed up as an error on every sync (#622, thanks @zwimer for #621). GitHub answers the pull request list of such a repository with Not Found. Those are now skipped quietly, and any other Not Found is still an error.
  • Repositories with nothing to mirror listed everything from GitHub on every sync (#622). With no issues, no pull requests or pull requests turned off, every sync took the empty destination for a recreated one and ran a full pass, logging No mirrored ... found in Gitea. That only happens now when the destination really lost items it had.

As always, back up your Gitea before upgrading.

Full changelog: v3.61.2...v3.61.3