Kitchen Sink - Remove Access Token Path, Bot Name/Localpart Fix #31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "shadowdrake/nether-voicebridge:master"
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?
Three changes here in prep for deployment on a MDAD-deployed server - #9
Thanks for this — the access-token removal, the env-var config fallback, and the
_botlocalpart fix all look good and we want them.One blocker before merge: this also migrates the bot's sync from
/v3/syncto Simplified Sliding Sync, and a live A/B on Tuwunel shows the SSS path regresses live call-membership detection. Under SSS theSyncCallMemberEventroom handler stops firing after the initial sync, so the bridge never sees a human join the call — no puppet is assigned, ghosts never go live, and the Matrix user sees no ghosts. The same config on current/v3/syncmasterworks correctly.Tuwunel does speak native SSS (no build/
.build()error), so this isn't a homeserver-support issue — therequired_stateCallMemberdeltas just aren't reaching the event handler (likely because the room is only asubscribe_to_roomssubscription with no sliding-sync list).Importantly, the
_botrename alone fixes the Synapsesender_localpartsync block — the ghosts already sync fine on/v3/syncas non-sender namespace users, which is the proof that a non-sender bot user doesn't need SSS. So the SSS rewrite isn't required for the Synapse fix.Could you split it — keep #1/#2/
_bot, and drop (or land separately, with SSS proven on Tuwunel and the ghosts migrated too for consistency) the sync rewrite? Happy to share the A/B logs.@robocub - did a test build and as-is runs & works okay on Synapse! The sync calls aren't failing. I don't have any users in a call now but this feels pretty safe to go
06688a6) 5391115875Merged.
Merged & released 🎉
Landed on
masterin60d2107(merged--no-ff, so every commit is preserved) and shipped in v0.2.1 — stable.deb/.rpm/tarball + Docker image on the release page. Thanks @shadowdrake, and to jasonlaguidice for the commits!Shipped scope: appservice-login-only auth (the
access_tokenpath is removed),@{sender_localpart}_botbot derivation, ghost localpart prefix derived fromsender_localpart(closes #37), and theCONFIG_PATH→env fallback. The sliding-sync rewrite was dropped — reverted in0a2cb58"Restore sync status" — so the bridge stays on classic/v3/sync(an earlier A/B test showed SSS stopped them.call.memberhandler from firing on Tuwunel).Follow-up review pass (commit
e091eef) on top:is_ghost_identitynow requires an all-numeric suffix, so the derived@{sender_localpart}_botuser isn't misclassified as a ghost — otherwise the startup sweep would retract the bot's ownm.call.member.nether-voicebridge_<digits>prefix is recognized as legacy, so changingsender_localpartcleans up orphaned ghosts at startup.Live-verified both directions in encrypted and unencrypted rooms before the release. Closing as merged-by-hand (Forgejo didn't auto-flag it since the merge landed via a local branch rather than the UI).
Pull request closed