Skip to content

Handle a token that dies during playback #35

Description

@iderex

The kickoff names this case specifically. It is the one where a wrong answer is
most visible, because something is on screen and a person is watching it.

The rule the record in #5 has to have fixed, and this issue implements: playback
that has already started does not stop because a report failed.

What this produces

The stream in flight left alone while renewal is attempted.

Position reports queued rather than discarded, so that the position reached
during the renewal is not lost, which connects to the offline queue in M6.

A single named event the client can react to when renewal fails and a person has
to sign in again, arriving early enough that the client can decide when to
interrupt rather than being interrupted.

What happens when renewal succeeds: the queued reports go out in order, and
nothing is reported twice.

Done when

A test plays through a token death against the fake server and proves the stream
was not stopped by the core, the position reached during the outage arrives at
the server after renewal, and nothing is reported twice. Blocked on #34.

Metadata

Metadata

Assignees

Labels

architectureShape of the core: boundaries, interfaces, contractsblocked-on-issueWaits on another open issue on this boardsecurity

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions