Skip to content

fix(bot): suppress song source link previews - #31

Merged
scottishwidow merged 1 commit into
mainfrom
fix/suppress-song-source-link-previews
May 1, 2026
Merged

fix(bot): suppress song source link previews#31
scottishwidow merged 1 commit into
mainfrom
fix/suppress-song-source-link-previews

Conversation

@scottishwidow

Copy link
Copy Markdown
Owner

Summary

  • suppress Telegram link previews for rendered song source URLs while keeping URLs visible
  • apply the behavior to song result/detail/create/update messages
  • add handler and navigation tests for preview suppression

Verification

  • UV_CACHE_DIR=.uv-cache uv run pytest tests/test_handlers.py
  • UV_CACHE_DIR=.uv-cache uv run pytest tests/test_navigation.py
  • UV_CACHE_DIR=.uv-cache uv run ruff check .
  • UV_CACHE_DIR=.uv-cache uv run ruff format --check .
  • UV_CACHE_DIR=.uv-cache uv run mypy
  • git diff --check

Note: full UV_CACHE_DIR=.uv-cache uv run pytest -q hung in this sandbox after the skipped Postgres tests; isolated tests/test_repertoire_backup_service.py also timed out, unrelated to this handler change.

@scottishwidow
scottishwidow merged commit 1731baf into main May 1, 2026
4 checks passed
@scottishwidow
scottishwidow deleted the fix/suppress-song-source-link-previews branch May 1, 2026 17:51
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.

1 participant