Implement P05 checked services and safe selected delivery recovery
All checks were successful
Authentication acceptance / acceptance (push) Successful in 1m1s
Authentication acceptance / provider-contract (push) Successful in 13s
Build and Publish Container Image / build-and-push (push) Successful in 36s

Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a092fe-13b1-7f12-ac74-7d258af4d79c
This commit is contained in:
tegwick 2026-09-13 22:11:49 +02:00
parent 187c49abe5
commit aa709fb854
3 changed files with 11 additions and 0 deletions

View file

@ -89,6 +89,11 @@ def run():
time.sleep(3)
code,_=req('GET','/token/',token=short)
check('expired_provider_jwt_rejected',code==401)
fresh=login('alice','fixture-password','fixture')
code,_=req('GET','/token/',token=fresh)
check('new_provider_session_recovers_after_expiry',code==200)
code,_=req('GET','/token/',token=short)
check('expired_predecessor_stays_rejected',code==401)
phase='platform_admin_recovery'
from factor_recovery import ProviderStore,recover,RecoveryError
with app.app_context():