:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(slack): log when the legacy image unfurl path is invoked (#63814)
Lucas Ricoyf58d8bab9b20
diff --git a/ee/tasks/slack.py b/ee/tasks/slack.pyindex bebc565d0315..c38ab3e53bca 100644--- a/ee/tasks/slack.py+++ b/ee/tasks/slack.py@@ -71,6 +71,17 @@ def _handle_slack_event(event_payload: Any) -> None:# With both the integration and the resource we are good to go!!+ # Usage breadcrumb: this legacy Celery-backed image unfurl is believed superseded by the+ # metadata-only products/slack_app unfurl. It renders a PNG via the EXPORTS Celery queue,+ # which has no in-container Chromium (removed) and no BROWSERLESS_CDP_URL — so a real hit+ # here both proves the path is live AND would fail to render. Logged at warning so it's+ # impossible to miss while we decide whether to keep/retire it.+ logger.warning(+ "slack_legacy_image_unfurl.invoked",+ team_id=team_id,+ sharing_configuration_id=sharing_config.id,+ )+insights, assets = generate_assets(sharing_config, 1)if assets: