Skip to content

Supervision: Delivery retries a request until it is answered, Unavailable Supervisor asks the person instead #280

Open

Description

@joshuagay

draft-hardt-aauth-supervision.md at 70d6737:

  • L211 (Delivery): "The PS retries a request that did not receive a terminal response, under the same id or sdi, until it does."
  • L609 (Unavailable Supervisor): "An SS is unavailable for a decision when the PS cannot reach it: the connection fails or times out, the response is malformed, the SS answers server_error, or the SS answers rate_limited with a Retry-After past the point the agent's request would expire."
  • L611 (Unavailable Supervisor): "When the SS is unavailable, the PS puts the act to the person, as it would with no SS configured. The sdi stands, the PS's log entry records that the SS was not consulted, and when the SS is reachable again the PS reports the outcome in decision.resolved with supervisor: unavailable."

A supervision request that times out is both a request with no terminal response, which L211 retries until it is answered, and a decision for which the SS is unavailable, which L611 hands to the person. Read together, the PS puts the act to the person and keeps resending the request. The SS can then decide an sdi the person has already decided, which decision.resolved later reports. Depending on which rule the PS follows, the SS sees either one request and a decision.resolved, or retries for an act that is already closed.

Ask: In Delivery: "The PS retries an event until it receives a terminal response. It retries a supervision request until it receives a terminal response or the SS becomes unavailable for that decision (#unavailable)."

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions