Expand description
What a Worker answers, when several contexts share it (#3562, G2b step 2c).
A [deploy.workers.<key>] group is one Worker, with one fetch, one queue
and one email entry, so each thing it is routed by must belong to one
member. These are the rules a single context already keeps among its own
services (bynk.http.duplicate_route), kept across the members of a group,
with the same keys:
- an HTTP route is its method and path.
An email address and a queue are not checked here: a project already refuses
two contexts claiming one address (bynk.email.duplicate_address) or
consuming one queue (bynk.queue.duplicate_consumer), grouped or not.
A cron expression is not one of these: two members may share it, and both their handlers run.
One error per clash, at the later member’s declaration, naming both members.
Functions§
- group_
trigger_ conflicts - Check the members of one group for a route or queue two of them claim.