From aab0c9b12d79befbd4132015c3c29f62967c3411 Mon Sep 17 00:00:00 2001 From: Brett Williams Date: Mon, 31 Aug 2026 00:35:16 -0500 Subject: [PATCH] Fix sorting of capabilities by os/cpu tuple --- ctrl/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctrl/app.py b/ctrl/app.py index 2e8f297..d7b1be9 100644 --- a/ctrl/app.py +++ b/ctrl/app.py @@ -83,7 +83,7 @@ def api_capabilities(): for w in wrk.probe_all() if w.get("os") and w.get("cpu") } - return jsonify(sorted({"os": o, "cpu": c} for o, c in combos if o and c)) + return jsonify([{"os": o, "cpu": c} for o, c in sorted(combos)]) @app.post("/api/jobs")