The compile_mention_patterns promotion moved the 'patterns is None -> return []' short-circuit into the shared helper, which meant the telegram/dingtalk wrappers now evaluated self.name (via log_prefix=) even on the no-patterns path. On main that path returned before touching any adapter attributes; tests construct bare adapters via object.__new__ that lack .platform, so TestTelegramGuestMentionGating failed with AttributeError. Restore the early return in both wrappers for exact behavior parity with main. |
||
|---|---|---|
| .. | ||
| browser | ||
| context_engine | ||
| cron_providers | ||
| dashboard_auth | ||
| disk-cleanup | ||
| google_meet | ||
| hermes-achievements | ||
| image_gen | ||
| kanban | ||
| memory | ||
| model-providers | ||
| observability | ||
| platforms | ||
| security-guidance | ||
| spotify | ||
| teams_pipeline | ||
| video_gen | ||
| web | ||
| __init__.py | ||
| plugin_utils.py | ||