MIL-007: resilience against network failures #46

Merged
Tirsvad merged 3 commits from mil-007-resilience into main 2026-10-28 11:14:26 +01:00
Owner

MIL-007: retry wrapper and resilient login, booking and bookings read (lecture step 9), autonomous mode.

Code by the python-developer agent, reviewed by the stand-in (RC-021, Go-with-conditions: the three live runs at 50% failure and the step-9 screenshot need S01's own account and the admin controls; the framework forbids the stand-in to enter passwords or register on a third-party site). A seeded chaos test (97 of 100 seeds complete at 50% failure) and failing local fixtures in the container cover the logic.

Closes #29
Closes #30
Closes #31
Closes #32
Refs #33

MIL-007: retry wrapper and resilient login, booking and bookings read (lecture step 9), autonomous mode. Code by the python-developer agent, reviewed by the stand-in (RC-021, Go-with-conditions: the three live runs at 50% failure and the step-9 screenshot need S01's own account and the admin controls; the framework forbids the stand-in to enter passwords or register on a third-party site). A seeded chaos test (97 of 100 seeds complete at 50% failure) and failing local fixtures in the container cover the logic. Closes #29 Closes #30 Closes #31 Closes #32 Refs #33
Tirsvad added 3 commits 2026-10-28 11:14:24 +01:00
retry(func, retries=7, description=None), RetriesExhaustedError, resilient
login, book_class and get_my_bookings that re-read the card before a
repeat and count a booking only when the page confirms it, --retries option,
step-9 console image, seeded chaos tests at 50 percent failure and
container tests against failing local fixtures.

Task: MIL-007#1
Task: MIL-007#2
Task: MIL-007#3
Task: MIL-007#4
Tirsvad merged commit c0aa0b4b2b into main 2026-10-28 11:14:26 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100-days-of-code/049-snack-and-lift#46