refactor(discord): extract VoiceReceiver into voice_receiver (adapter.py god-file slice R1) - #79650
Open
andrexibiza wants to merge 1 commit into
Open
refactor(discord): extract VoiceReceiver into voice_receiver (adapter.py god-file slice R1)#79650andrexibiza wants to merge 1 commit into
andrexibiza wants to merge 1 commit into
Conversation
This was referenced Aug 5, 2026
andrexibiza
force-pushed
the
fix/dc-voice-receiver
branch
2 times, most recently
from
August 19, 2026 23:22
ae1b388 to
94ce1fd
Compare
Reapply the verified R1 extraction unchanged because the Discord adapter has not changed between d762ed9 and f43eabe. Part of NousResearch#78647 Part of NousResearch#78634 Part of NousResearch#79564 Part of NousResearch#79772 Signed-off-by: Axl Ibiza <84248988+andrexibiza@users.noreply.github.com>
andrexibiza
force-pushed
the
fix/dc-voice-receiver
branch
from
August 20, 2026 14:41
94ce1fd to
887a8ce
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
discord adapter.py god-file slice R1: extract
VoiceReceiverfromplugins/platforms/discord/adapter.py(10,138 lines) intoplugins/platforms/discord/voice_receiver.py. Part of the repo-wide large-file decomposition (tracker #78647).What changed and why
VoiceReceiver(window 514–897, 383 lines, 13 members) moved byte-verbatim (golden hash8085b15e…verified) intovoice_receiver.py; adapter.py re-exports all 13 names identity-preserving (re-export mandatory — test_discord_race_polish.py patches the adapter-module global)Testing
adapter.VoiceReceiver is voice_receiver.VoiceReceiververified liveCoordination / interlock
reply_to_mode: falseregresses tofirston current runtime #29623), the shard wave, and the open fixer PRs (docs(discord): correct Echo Prevention mechanics + Server Members Intent conditional + close env-var docs class (resolves #11349) #78164 feat(line): signature enforcement, DISCORD quality, state_lock, tests, doc/ci fixes #78291 fix(discord): add home-channel owner to handoff thread (#67702) #67801 fix(gateway): normalise legacy bool reply_to_mode before Discord adapter (#29623) #58664 feat(discord): final response inline, tool progress in thread #68409 feat: make gateway document types configurable #50562 feat(webhooks): create a Discord thread for each event #70608 fix(discord): recall prior thread context after bot replies #52650 fix(discord): add config-backed auto-thread channels #54285 feat(sync): support bidirectional platform command sync (Issue #4) #61169 fix(discord): honor retry_after in auto-thread creation instead of dropping messages on 429 #76060 fix(discord): schedule approval boxes on the gateway loop #74471 fix(discord): stop the typing indicator sticking on the stale-result path #71471 fix(discord): anchor handoff threads in parent channel #63459 fix(discord): prioritize plugin commands under slash cap #76209 feat(discord): outbound @Name → <@id> via config.yaml (re-scope of #69206) + forum path #75633 feat: add Discord Kanban approval gates #68789 feat(gateway): add structured operator cards for Discord #67234 feat(discord): gate shared threads by mention #73487 fix: add usedforsecurity=False to hashlib in tools/ and plugins/ (FIPS compliance) #65570 fix(gateway): support Discord progress cleanup #42661 fix(discord): truncate auto-thread and handoff thread names by UTF-16 units #60252 feat(discord): add explicit review debate command (/review slash) #71164 fix(discord): accept relay-lane kwargs in native rename_thread (#78487) #78495 refactor(discord): extract authorization cluster into DiscordAuthorizationMixin #75735 fix(approval): explain requested action and permission #51397 fix(discord): opt threaded free-response channels in #62814 fix(security): scrub credentials from ffmpeg/ffprobe media helpers #73879 fix(discord): add space separator after bare URLs in agent output (#78359) #78417 security(discord): bound image/animation/attachment HTTP response reads #60395). Indexed by large-file decomposition meta-issue [COMPLETE] Large-file decomposition: 20/20 done #78647.Part of #78647
Part of #78634
Part of #79564
Part of #79772