Expand description
Worker groups against the project’s units (#3562, slice G1).
bynk.toml’s [deploy.workers.<key>] shape, and what needs no project
model, is bynk-project’s to check ([bynk_project::worker_groups]).
Whether each member is a context the project declares, and whether a
group’s key or name collides with the Worker of a context in no group,
needs the project’s units, so it is checked here once they are known, and
attributed to the manifest like the [package] exports diagnostics
(crate::exports). The build and the editor read the table the same way.
Functions§
- check_
groups - The diagnostics for
groupsagainstkinds. A first-party unit is never the project’s own, so it counts as undeclared. - manifest_
diagnostics - The
[deploy.workers]diagnostics for the project atproject_root, against its units’kinds(asphase_groupbuilds them). No project root, no table, or a malformed one (its shape is reported with the rest of the manifest) is nothing to check here.