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
Copy file name to clipboardExpand all lines: EXPERIMENTS.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,10 +47,6 @@ We previously made this the default behaviour of the agent (as of v3.63.0) but h
47
47
48
48
**Status:** Available as an experiment to allow users who have since depended on this behaviour to re-enable it. If you use this feature please let us know so we may better understand your use case.
49
49
50
-
### `descending-spawn-priority`
51
-
52
-
When using `--spawn` with `--spawn-with-priority`, the agent assigns ascending priorities to each spawned agent (1, 2, 3, ...). This experiment changes the priorities to be descending (-1, -2, -3, ...) instead. This helps jobs be assigned across all hosts in cases where the value of `--spawn` varies between hosts.
53
-
54
50
### `zip-plugins`
55
51
56
52
Allows plugins to be downloaded as zip archives instead of being cloned from a Git repository. This is useful for plugins hosted as zip files on HTTP(S) URLs.
@@ -666,9 +666,10 @@ var AgentStartCommand = cli.Command{
666
666
Value: 0,
667
667
EnvVar: "BUILDKITE_AGENT_SPAWN_PER_CPU",
668
668
},
669
-
cli.BoolFlag{
669
+
cli.StringFlag{
670
670
Name: "spawn-with-priority",
671
-
Usage: "Assign priorities to every spawned agent (when using --spawn or --spawn-per-cpu) equal to the agent's index (default: false)",
671
+
Usage: `Assign priorities to every spawned agent (when using --spawn or --spawn-per-cpu). Pass "static" (1, 1, 1, ...), "ascending" (1, 2, 3, ...), or "descending" (-1, -2, -3, ...). Descending helps jobs be assigned across all hosts when the value of --spawn varies between hosts`,
672
+
Value: "static",
672
673
EnvVar: "BUILDKITE_AGENT_SPAWN_WITH_PRIORITY",
673
674
},
674
675
cancelSignalFlag,
@@ -842,6 +843,11 @@ var AgentStartCommand = cli.Command{
allowArtifactPathTraversal: "The allow-artifact-path-traversal escape-hatch experiment has been removed as of agent v4, because the path traversal behaviour was insecure",
0 commit comments