Invalidate health cache on deploy #6
No reviewers
Labels
No labels
bug
bug
bug
bug
bug
bug
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
northwind-labs/atlas!6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/health-cache"
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?
Fixes the stale-health-check rollback bug.
Nice — can we add a test next?
The fix is right, but it clears more than the deploy touches.
@ -3,0 +22,4 @@/// Drop every cached result when a deploy starts, so a rollback decision/// never reads a health check taken against the previous release.pub fn invalidate() {This drops the cache for every service. A deploy of one service should only invalidate that service, otherwise the next rollback check for everything else runs cold. Can
invalidatetake the service name?View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.