ax: verify and probe tasks carry the search-verify/search-probe name prefixes [skip ci]

The kind default "pin" had produced ousast-engine-pin-search-verify-* names,
which the operator per-host egress rules do not match.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
Marius Ciepluch
2026-10-06 08:20:40 +02:00
co-authored by Claude Fable 5.1
parent aebc834667
commit b1024b8daa
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -30,12 +30,12 @@ def validate_result(data: bytes, output: Path) -> None:
def probe_workload(image: str, deadline: float = 900) -> Workload:
validate_image(image)
return Workload(image, frozenset({"RESULT_URL"}), deadline, validate_result)
return Workload(image, frozenset({"RESULT_URL"}), deadline, validate_result, kind="search-probe")
def probe_item(image: str) -> Item:
return Item(
"search-probe",
"v1",
{},
"result.json",
("python3", "-m", "openultrasast.search.probe"),
+2 -2
View File
@@ -66,7 +66,7 @@ class AXSideDispatcher:
raise ValueError("verification accepts checkout and declarative inputs only")
# The trusted host selects an executor for this side. Build/package work
# finishes there before any verifier worker slot is acquired.
workload = Workload(self.image, frozenset({"VERIFY_INPUT_URL", "RESULT_URL"}), timeout_seconds * 6 + 60, validate_result)
workload = Workload(self.image, frozenset({"VERIFY_INPUT_URL", "RESULT_URL"}), timeout_seconds * 6 + 60, validate_result, kind="search-verify")
lane = self.lane or AXLane(self.args, workload)
spec = {"demo": demo, "family": family, "timeout_seconds": timeout_seconds}
try:
@@ -79,7 +79,7 @@ class AXSideDispatcher:
return SideRecord("could_not_build", (), 0, str(exc), isolation_mode="task-boundary")
records = []
for _ in range(3):
identity = "search-verify-" + uuid.uuid4().hex
identity = uuid.uuid4().hex
item = Item(
identity,
{"VERIFY_INPUT_URL": archive},