EveCogs/wormhole
root 2f97926ca6 fix(wormhole): remove wait_until_ready() from _init() to prevent load timeout
Root cause: _init() was blocking on wait_until_ready() for up to 30 seconds,
causing Red's package load to timeout. Red then reports 'Failed to load
package wormhole (timeout)' but the cog is actually partially loaded,
causing 'already loaded' errors on retry.

Timeline:
1. [p]load wormhole starts
2. setup() calls bot.add_cog(cog) ✓
3. setup() calls await cog._init()
4. _init() blocks on wait_until_ready() for 30s
5. Red's load timeout (30s) triggers
6. Red reports 'timeout' but cog is registered
7. [p]load wormhole again → 'already loaded' error

Solution: Remove wait_until_ready() from _init() since:
- Bot is already ready when cogs load on startup
- Background loops have their own wait_until_ready() calls
- _init() shouldn't block setup()

Background loops still wait_until_ready() independently (correct behavior).

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-05-26 16:43:46 +00:00
..
commands fix: wire up missing feature enforcement in relay 2026-05-14 19:33:58 +00:00
listeners fix: wire up missing feature enforcement in relay 2026-05-14 19:33:58 +00:00
models refactor: Wormhole v4.0.0 — full modular architecture with hierarchical staff 2026-05-14 19:07:49 +00:00
services refactor: Wormhole v4.0.0 — full modular architecture with hierarchical staff 2026-05-14 19:07:49 +00:00
ui refactor: Wormhole v4.0.0 — full modular architecture with hierarchical staff 2026-05-14 19:07:49 +00:00
__init__.py fix(wormhole): rename cog class to WormholeV4 to bypass stale registration 2026-05-26 16:38:56 +00:00
ARCHITECTURE.md fix(wormhole): fix persistence bug and finalize v4.0.0 modular architecture 2026-05-26 16:26:03 +00:00
core.py fix(wormhole): remove wait_until_ready() from _init() to prevent load timeout 2026-05-26 16:43:46 +00:00
info.json refactor: Wormhole v4.0.0 — full modular architecture with hierarchical staff 2026-05-14 19:07:49 +00:00
MODULE_MAP.md fix(wormhole): fix persistence bug and finalize v4.0.0 modular architecture 2026-05-26 16:26:03 +00:00
utils.py feat: per-network mention config + user opt-in/out for pings 2026-05-12 15:49:56 +00:00