Skip to content

fix(channels): persist Discord thread mappings in ChannelStore#3140

Open
yu-xin-c wants to merge 1 commit into
bytedance:mainfrom
yu-xin-c:codex/2897-discord-channel-store
Open

fix(channels): persist Discord thread mappings in ChannelStore#3140
yu-xin-c wants to merge 1 commit into
bytedance:mainfrom
yu-xin-c:codex/2897-discord-channel-store

Conversation

@yu-xin-c
Copy link
Copy Markdown

Summary

  • persist Discord channel-to-thread routing entries in the shared ChannelStore
  • restore those routing entries from ChannelStore on startup
  • migrate existing discord_threads.json mappings into ChannelStore, while keeping file fallback for standalone construction

Fixes #2897.

Testing

  • uv run ruff check app/channels/discord.py tests/test_discord_channel.py
  • uv run pytest tests/test_discord_channel.py -q
  • uv run pytest tests/test_channels.py::TestChannelStore -q

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.

Bug: Discord thread-channel mappings are not persisted across restarts

1 participant