Skip to main content

primary_label

Function primary_label 

Source
pub fn primary_label(runs_on: &RunsOn) -> &str
Expand description

The label that drives a job’s placement decision.

GHA’s runs-on: [a, b] means “match ALL labels” against a runner’s capability set. Hyprstream has no such per-runner capability set to intersect against (yet) — runs_on here selects an admission group (see module docs), a mapping for which multi-label AND-composition has no defined meaning. Only the first label is consulted; additional labels in RunsOn::Labels are accepted (not a parse error) but otherwise ignored. This is a documented scope-limit, not a silent drop.