Fail closed on invalid Glas profiles
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Build and Publish Container Image / build-and-push (push) Successful in 22s

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a028de-e2c8-7732-8521-46a7fc5db82f
This commit is contained in:
tegwick 2026-08-22 23:02:41 +02:00
parent 561538c95e
commit b933cf52c8
12 changed files with 455 additions and 9 deletions

View file

@ -100,6 +100,14 @@ class TestNoFallbackToApproachHint:
assert profile == "harness.agent-dev@2.1.0"
def test_unknown_but_well_formed_profile_is_left_for_glas(self) -> None:
profile, _ = resolve_execution_selector(
"harness.not-in-any-local-catalog@9.9.9",
None,
)
assert profile == "harness.not-in-any-local-catalog@9.9.9"
def test_blank_hint_is_normalised_away(self) -> None:
assert resolve_execution_selector(None, " ") == (None, None)