Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Refactor backgrounds tasks for better visibility #926

Merged
merged 32 commits into from
Jun 6, 2024
Merged

Conversation

mbryzek
Copy link
Collaborator

@mbryzek mbryzek commented Jun 6, 2024

Prior to this change, tasks were managed either via ephemeral messages in actor or via a tasks table

After this change, all tasks are managed via a central tasks table with actors running in parallel (one for each task type). Error reporting is fully centralized and retry is built in.

We also can now remove the custom migrations table used to log errors for versions of applications that failed to upgrade to the latest service spec (all migrations have completed, in future we can monitor via these tasks)

We also introduce the groundwork for periodically checking invariants to increase quality of monitoring. Future work will wire up the invariants.

@mbryzek mbryzek merged commit a4a7a48 into main Jun 6, 2024
1 of 2 checks passed
@mbryzek mbryzek deleted the refactor_tasks branch June 6, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant