Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Workspace cache is not saved when scala-steward run fails #632

Closed
EnviousSwan opened this issue Sep 7, 2024 · 0 comments · Fixed by #631
Closed

Workspace cache is not saved when scala-steward run fails #632

EnviousSwan opened this issue Sep 7, 2024 · 0 comments · Fixed by #631

Comments

@EnviousSwan
Copy link
Contributor

At the moment workspace cache is saved only after a successful run at the very end of try block

await workspace.saveWorkspaceCache()

So when one of your repos becomes archived or your app token expires after 1 hour (#625) the whole run fails and the cache is not saved. The problem is that on subsequent runs it needs to start from scratch and check all the repos again, even though they have already been successfully updated before.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant