Skip to content

Commit 85da3c1

Browse files
committed
[fix.execution.λ.D8+] Keep Kueue adversary aligned with priority admission
The live same-GPU handoff reached Kubernetes admission and exposed that the adversarial fixture predated mandatory WorkloadPriorityClass selection. Bind all acceptance requests to the deployed motif-standard class and add an unknown-priority negative control so future contract drift fails at the test boundary instead of preventing every runtime case from starting. Regenerate the architecture twin after the harness repair.
1 parent c33e8ce commit 85da3c1

3 files changed

Lines changed: 168 additions & 162 deletions

File tree

‎deploy/kubernetes/adversarial_verify.py‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ def request(number: int, *, image: str, cpu: float = 1, memory: int = 256 << 20,
8282
"execution_digest": "sha256:" + f"{number % 16:x}" * 64,
8383
"created_at": "2026-08-13T00:00:00Z",
8484
})
85-
value["placement"] = {"backend": "kubernetes", "topology": "single_process"}
85+
value["placement"] = {
86+
"backend": "kubernetes",
87+
"topology": "single_process",
88+
"workload_priority_class": "motif-standard",
89+
}
8690
value["resource_request"] = {
8791
"cpu_cores": cpu,
8892
"memory_bytes": memory,
@@ -233,6 +237,8 @@ def request_boundaries() -> dict[str, Any]:
233237
("unknown_field", lambda value: value.update(escape=True)),
234238
("bad_attempt_uuid", lambda value: value.update(attempt_id="../../escape")),
235239
("bad_environment_type", lambda value: value.update(environment={"OK": 3})),
240+
("unknown_priority", lambda value: value["placement"].update(
241+
workload_priority_class="motif-unknown")),
236242
]
237243
for name, mutate in mutations:
238244
candidate = copy.deepcopy(base)

‎docs/architecture/dirac-digital-twin.html‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)