Liveness oracle tri-state: distinguish "IdP unreachable" from "departed" (powers the outage warn box + disabled actions) #650
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Cordy/Cairn#650
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up from the #597 tab rev-2 mockup review. The rev-2 mockup wants two things the current API cannot express:
Both need the oracle to answer three ways, not two:
alive,gone,unknown. TodayOwnersAPI.Aliveisfunc(ctx, username) booland the fail-frozen rule maps outages tofalse, so/api/v1/admin/owners/departedcannot tell an outage from a real departure — the listing balloons and the API is silent about why.Scope:
Healthy() boolon the directory client — whichever is smaller; the 60s cache from live group resolution (#96) already knows when its last refresh failed)./admin/owners/departedresponse gains"outage": truewhen the directory answer is unknown.ownerTransferandownersRevokerefuse with their own sentence during an outage (server-side guard, not just disabled buttons — the API is the boundary).outagewith the assertive copy; the conditional copy stays for the non-outage directory case; action buttons disabled whileoutage.