You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix!: make exactMatch truly bidirectional for label matching
BREAKING CHANGE: The exactMatch option for runner label matching now
requires labels to be identical in both directions. Previously, a runner
with labels [A, B, C, D] would match a job requesting [A, B, C] when
exactMatch was true. Now, exactMatch=true requires the labels to be
exactly identical - the runner will only match if the job requests
exactly [A, B, C, D].
This change affects users who have runners with extra labels (e.g.,
on-demand) that were previously matching jobs not explicitly
requesting those labels. After this change, such runners will only
be used when jobs explicitly request all of the runner labels.
Before: Job [A,B,C] + Runner [A,B,C,D] + exactMatch=true -> Match
After: Job [A,B,C] + Runner [A,B,C,D] + exactMatch=true -> No Match
To migrate, either:
1. Remove extra labels from runner configurations, or
2. Add the extra labels to your workflow job runs-on
Signed-off-by: Brend Smits <brend.smits@philips.com>
Co-authored-by: Stuart Pearson <stuart.pearson@philips.com>
'Failed to load config: Failed to load parameter for matcherConfig from path /path/to/matcher/config: Failed to load matcher config',// eslint-disable-line max-len
168
+
'Failed to load config: Failed to load parameter for matcherConfig from path /path/to/matcher/config: Failed to load matcher config',
"Failed to load config: Failed to parse combined matcher config: Expected ',' or ']' after array element in JSON at position 196",// eslint-disable-line max-len
216
+
"Failed to load config: Failed to parse combined matcher config: Expected ',' or ']' after array element in JSON at position 196",
'Failed to load config: Environment variable for eventBusName is not set and no default value provided., Failed to load parameter for webhookSecret from path undefined: Parameter undefined not found',// eslint-disable-line max-len
247
+
'Failed to load config: Environment variable for eventBusName is not set and no default value provided., Failed to load parameter for webhookSecret from path undefined: Parameter undefined not found',
Copy file name to clipboardExpand all lines: lambdas/functions/webhook/src/ConfigLoader.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ abstract class BaseConfig {
61
61
this.loadProperty(propertyName,value);
62
62
})
63
63
.catch((error)=>{
64
-
consterrorMessage=`Failed to load parameter for ${String(propertyName)} from path ${paramPath}: ${(errorasError).message}`;// eslint-disable-line max-len
64
+
consterrorMessage=`Failed to load parameter for ${String(propertyName)} from path ${paramPath}: ${(errorasError).message}`;
0 commit comments