Skip to content

fix(channels): keep empty topic_id distinct from missing topic - #4723

Open
richardmilles wants to merge 1 commit into
bytedance:mainfrom
richardmilles:fix/channel-store-empty-topic-id
Open

fix(channels): keep empty topic_id distinct from missing topic#4723
richardmilles wants to merge 1 commit into
bytedance:mainfrom
richardmilles:fix/channel-store-empty-topic-id

Conversation

@richardmilles

@richardmilles richardmilles commented Aug 7, 2026

Copy link
Copy Markdown

ChannelStore._key() treated topic_id="" like missing, so empty topics could overwrite or delete the base conversation mapping. It now matches remove() with is not None and has a regression test.

@CLAassistant

CLAassistant commented Aug 7, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions Bot added area:backend Gateway / runtime / core backend under backend/ risk:medium Medium risk: regular code changes size/S PR changes 20-100 lines labels Aug 7, 2026
@richardmilles
richardmilles force-pushed the fix/channel-store-empty-topic-id branch 2 times, most recently from e8b36ac to e8dc576 Compare August 7, 2026 09:15
Empty topic_id no longer collapses onto the base conversation mapping.
@richardmilles
richardmilles force-pushed the fix/channel-store-empty-topic-id branch from e8dc576 to a9d9e63 Compare August 7, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:backend Gateway / runtime / core backend under backend/ risk:medium Medium risk: regular code changes size/S PR changes 20-100 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants