feat: add fail-closed Hub access profile foundation
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a0e747-8f27-7242-8df8-8bc44f88c929
This commit is contained in:
parent
df39fd5f43
commit
3e386147fd
35 changed files with 2009 additions and 195 deletions
|
|
@ -51,7 +51,7 @@ def test_health_and_ephemeral_readiness() -> None:
|
|||
|
||||
|
||||
def test_production_readiness_fails_closed_for_ephemeral_backend() -> None:
|
||||
response = client(allow_ephemeral=False, environment="production").get("/readyz")
|
||||
response = client(allow_ephemeral=False).get("/readyz")
|
||||
|
||||
assert response.status_code == 503
|
||||
assert response.json()["status"] == "degraded"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue