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

WIP: Graceful shutdown after error in watcher #4

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

bastianwegge
Copy link
Contributor

This is just a draft to showcase that we should gracefully shutdown the app-servers when we receive unexpected errors. I'm not that experienced when it comes to go-routines so this will probably not the final solution. The thing here is that we have to get that right. If we have uncoordinated fails like that, users will lose trust in the solution.

Proposal:

  • Integrate a graceful error handling that will cleanup and stop all services that templier started

@bastianwegge bastianwegge marked this pull request as draft August 3, 2024 16:26
@bastianwegge bastianwegge changed the title DRAFT: Graceful shutdown after error in watcher WIP: Graceful shutdown after error in watcher Aug 3, 2024
@romshark romshark self-assigned this Aug 3, 2024
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10230189586

Details

  • 0 of 4 (0.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage remained the same at 0.0%

Changes Missing Coverage Covered Lines Changed/Added Lines %
main.go 0 4 0.0%
Files with Coverage Reduction New Missed Lines %
main.go 1 0.0%
Totals Coverage Status
Change from base Build 10230181057: 0.0%
Covered Lines: 0
Relevant Lines: 394

💛 - Coveralls

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.

3 participants