Relay sync path misclassifies update/deactivate flows as create flows #55
Reference in New Issue
Block a user
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?
The update and status mutation logic incorrectly resets synced = 0, causing the system to treat existing relays as new. This forces create behavior (POST + secret regeneration) even during updates, instead of using PATCH with no secret changes.
As a result, updates or deactivations may fail if POST is strictly create-only, or worse, repeated secret regeneration can cause relay identity and credential drift.