refactor(ci): drop the unreachable sort fallback

env_setting returns a non-empty process value, else the default.env value,
else KeyError -- an empty process override falls back through the strip check
in parser.py. INFINITO_DISCOVERY_SORT is declared non-empty, so the spec the
ternary guarded against could never be falsy.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kevinveenbirkenbachandClaude Opus 5 committed 2026-08-17 18:02:24 +02:00
1 parent f2f668ca73
commit b893d54ff3
1 file changed
+1 -1
+1 -1
View File
@@ -82,7 +82,7 @@ def sort_spec() -> str:
"""The discovery sort, behind a clones-last prefix so one representative
per dna cluster stays ahead of the budget cut."""
spec = env_setting("INFINITO_DISCOVERY_SORT").strip()
return f"asc clone,{spec}" if spec else "asc clone"
return f"asc clone,{spec}"
def _query_argv(