Perform a controlled shutdown when receive Ctrl-C #94
Labels
No labels
Forge
ForgeJo
Forge
GitHub
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/TUI
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: kemitix/git-next#94
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Server and File Watcher are currently being dropped when we get the Ctrl-C, and no shutdown occurs. This is primarly causing a zombie webhook registration to be left in place against each monitored repository that is only removed when the server next restarts, assuming it is monitoring the same repositories and using the same webhook URL.
When the Ctrl-C signal is received these webhooks should be explicitly unregistered before the process terminates.