Skip to content

Fix channel directory event-loop blocking - #3

Merged
sdgdllc merged 1 commit into
hermes/windows-git-bash-shim-fixfrom
hermes/hermes-discord-ack-latency-880
Jun 12, 2026
Merged

Fix channel directory event-loop blocking#3
sdgdllc merged 1 commit into
hermes/windows-git-bash-shim-fixfrom
hermes/hermes-discord-ack-latency-880

Conversation

@sdgdllc

@sdgdllc sdgdllc commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • offload channel-directory session scanning and atomic cache writes from the gateway event loop
  • reuse one in-memory session map for Discord, Slack, enum fallback, and plugin fallback directory entries
  • add regression coverage proving slow session scans and slow directory writes do not stop the asyncio ticker

Verification

  • C:\Users\m_t_c\.hermes-sdgd\venv\Scripts\python.exe -m pytest tests\gateway\test_channel_directory.py -q --timeout-method=thread
  • C:\Users\m_t_c\.hermes-sdgd\venv\Scripts\python.exe -m ruff check gateway\channel_directory.py tests\gateway\test_channel_directory.py

SDGD handoff: SundayGundayLLC/sdgd#880

@sdgdllc
sdgdllc marked this pull request as ready for review June 12, 2026 15:33
@sdgdllc
sdgdllc merged commit 1bd7786 into hermes/windows-git-bash-shim-fix Jun 12, 2026
@sdgdllc
sdgdllc deleted the hermes/hermes-discord-ack-latency-880 branch June 12, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants