Relay activation logged as deactivate_relay due to hardcoded activity type
#13
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?
Summary
Relay status updates use a helper that accepts
activity_type, but the helper currently hardcodesdeactivate_relaywhen inserting activity rows. This causes activation actions to be logged as deactivation, corrupting activity semantics and hidingcoupling with infra sync triggers.
Observed behavior
Expected behavior:
set_relay_statusshould insert the provided activity_type.activate_relayshould log activate_relay.