fix: sync Telegram topic titles with /title - #14462
Conversation
|
Overlaps significantly with #9921 (auto-rename forum topics on session title change) — maintainers should decide which to merge. |
|
Update: I expanded tests to improve coverage around the refactored native title-sync flow. Added coverage for:
Validation run: source venv/bin/activate && pytest -q tests/agent/test_title_generator.py tests/gateway/test_dm_topics.py tests/gateway/test_run_progress_topics.py tests/gateway/test_title_command.py tests/test_hermes_state.pyResult: Coverage check on the refactored area: source venv/bin/activate && coverage run -m pytest -o addopts="" -q tests/gateway/test_title_command.py tests/agent/test_title_generator.py tests/gateway/test_dm_topics.py tests/gateway/test_run_progress_topics.py tests/test_hermes_state.py && coverage report -m agent/title_generator.py gateway/platforms/base.py gateway/platforms/telegram.py gateway/run.py hermes_state.pyChanged-line coverage now looks strong for the new code:
|
|
Closing the Your PR also carries broader scope (title-sync beyond the manual Thanks for the contribution; credited in the merged PR. |
Summary
/titleis used inside a Telegram topicTest Plan