Merge pull request 'Complete direct CLI lane concurrency omitted by #30 (supersedes #31)' (#35) from feature/hermes-direct-cli-lane-concurrency-2-replacement into main
Some checks failed
Tests / Declarative: Post Actions failed: 36, skipped: 7, passed: 2591
Some checks failed
Tests / Declarative: Post Actions failed: 36, skipped: 7, passed: 2591
Reviewed-on: atlas/titan-iac#35 Reviewed-by: bstein <bstein@noreply.scm.bstein.dev>
This commit is contained in:
commit
e3de466ad1
@ -18,7 +18,9 @@ spec:
|
|||||||
- name: cli-lane-runner
|
- name: cli-lane-runner
|
||||||
env:
|
env:
|
||||||
- {name: HERMES_CLI_LANE_OWNED_WORKSPACES_ONLY, value: "true"}
|
- {name: HERMES_CLI_LANE_OWNED_WORKSPACES_ONLY, value: "true"}
|
||||||
- {name: HERMES_CLI_LANE_CONCURRENCY, value: "1"}
|
# Cap simultaneous direct cli-* Codex/Claude runner slots separately
|
||||||
|
# from the normal Hermes profile cap in agent-configmap.yaml.
|
||||||
|
- {name: HERMES_CLI_LANE_CONCURRENCY, value: "2"}
|
||||||
- name: execution-pool-coordinator
|
- name: execution-pool-coordinator
|
||||||
image: registry.bstein.dev/bstein/hermes-agent@sha256:81970563e542f0720773e72297810b3a844b83e381e278f25c0916c78d930107
|
image: registry.bstein.dev/bstein/hermes-agent@sha256:81970563e542f0720773e72297810b3a844b83e381e278f25c0916c78d930107
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
|||||||
@ -124,7 +124,7 @@ def test_additive_patch_replaces_local_lane_without_touching_base_deployment():
|
|||||||
environment = {item["name"]: item["value"] for item in local["env"]}
|
environment = {item["name"]: item["value"] for item in local["env"]}
|
||||||
assert environment == {
|
assert environment == {
|
||||||
"HERMES_CLI_LANE_OWNED_WORKSPACES_ONLY": "true",
|
"HERMES_CLI_LANE_OWNED_WORKSPACES_ONLY": "true",
|
||||||
"HERMES_CLI_LANE_CONCURRENCY": "1",
|
"HERMES_CLI_LANE_CONCURRENCY": "2",
|
||||||
}
|
}
|
||||||
assert pool["resources"]["requests"] == {"cpu": "50m", "memory": "128Mi"}
|
assert pool["resources"]["requests"] == {"cpu": "50m", "memory": "128Mi"}
|
||||||
access = next(item for item in pool["volumeMounts"] if item["name"] == "runtime-access")
|
access = next(item for item in pool["volumeMounts"] if item["name"] == "runtime-access")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user