Files
sim/apps
Waleed 77bc8badf0 test(triggers): guard the provider granularity the path route depends on (#6437)
* test(triggers): guard the provider granularity the path route depends on

The public trigger route classifies delivery by provider, not by trigger
id, so a provider owning both a polling and an HTTP trigger would have its
HTTP deliveries rejected. Sim already models dual-delivery services as two
providers (slack / slack_app), but nothing asserted it: the existing
POLLING_PROVIDERS sync assertions all still pass for a mixed provider.

* test(triggers): exempt provider-gated triggers from the granularity check

Classifying every non-polling trigger as path-delivered was too broad:
internal and app-level-ingress providers never serve the public path
route either, so mixing polling with those would have failed the
invariant despite there being no routing conflict to fix.
2026-08-08 13:42:29 -07:00
..