Fix #94: watch unwatch order #103
No reviewers
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub!103
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-94"
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?
Reverses SetWatch(off) to list-CAS-then-record-delete so a CAS failure/crash between leaves a fail-closed record-without-membership (self-heals on next toggle) instead of a phantom watcher stranded in watcher_list. Regression: TestSetWatchUnwatchCASFailureNoPhantom (fault-injected 412 CAS failure; verified it fails on the old order). Suite: go test ./internal/notify/ -race green, coverage 97.3% (>=95%), gofmt/vet clean. Doc Decisions entry in docs/features/06_notifications.md (law 12). Fixes #94.
watcher_list#94watcher_list#94watcher_list#94