Fail closed on invalid Glas profiles
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a028de-e2c8-7732-8521-46a7fc5db82f
This commit is contained in:
parent
561538c95e
commit
b933cf52c8
12 changed files with 455 additions and 9 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue