refactor(discord): extract recovery backfill + reaction hooks into DiscordRecoveryBackfillMixin (adapter.py god-file slice R2) - #79651
Conversation
d062cc1 to
86c096e
Compare
|
Cross-PR integration note: #79651 moves lifecycle reaction methods into Proposed low-risk sequence:
#89405's manifest send path and raw-reaction dispatch can remain in |
86c096e to
7c5ffc1
Compare
Reapply the verified R2 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>
7c5ffc1 to
51e04cd
Compare
|
The exact current head is For refactor(discord): extract recovery backfill + reaction hooks into DiscordRecoveryBackfillMixin (adapter.py god-file slice R2), GitHub reports check rollup SUCCESS on exact head |
Summary
discord adapter.py god-file slice R2: extract the recovery-backfill + reaction-hooks clusters from
plugins/platforms/discord/adapter.pyintoplugins/platforms/discord/recovery_backfill_mixin.py(classDiscordRecoveryBackfillMixin). Part of the repo-wide large-file decomposition (tracker #78647).What changed and why
class DiscordAdapter(DiscordRecoveryBackfillMixin, BasePlatformAdapter):— baseon_processing_start/completestubs @4925–4959 would otherwise silently kill reaction hooksTesting
python -c "import plugins.platforms.discord.adapter"OK · git diff --check clean · LF-only · DCO signedCoordination / interlock
reply_to_mode: falseregresses tofirston current runtime #29623), shard wave, 31 fixer PRs; indexed by large-file decomposition meta-issue Repo-wide godfile eradication: residual 2K tasks after #102117 #78647Part of #78647
Part of #78634
Part of #79564
Part of #79772