Summary
whatsapp_cloud is present in _HOME_TARGET_ENV_VARS (line 229) and in gateway/config.py Platform enum (line 182), but absent from _KNOWN_DELIVERY_PLATFORMS (lines 204-209) in cron/scheduler.py.
Impact
Cron jobs targeting whatsapp_cloud as a delivery platform would fail _is_known_delivery_platform() validation, even though the platform has a valid gateway adapter and home-target env var.
Fix
Add "whatsapp_cloud" to _KNOWN_DELIVERY_PLATFORMS in cron/scheduler.py line 204-209.
This is a simple omission — whatsapp_cloud was added to the Platform enum and _HOME_TARGET_ENV_VARS but the _KNOWN_DELIVERY_PLATFORMS set was not updated.
Summary
whatsapp_cloudis present in_HOME_TARGET_ENV_VARS(line 229) and ingateway/config.pyPlatformenum (line 182), but absent from_KNOWN_DELIVERY_PLATFORMS(lines 204-209) incron/scheduler.py.Impact
Cron jobs targeting
whatsapp_cloudas a delivery platform would fail_is_known_delivery_platform()validation, even though the platform has a valid gateway adapter and home-target env var.Fix
Add
"whatsapp_cloud"to_KNOWN_DELIVERY_PLATFORMSincron/scheduler.pyline 204-209.This is a simple omission —
whatsapp_cloudwas added to the Platform enum and_HOME_TARGET_ENV_VARSbut the_KNOWN_DELIVERY_PLATFORMSset was not updated.