transcripts: one for each start of a session, with its own term #69
Loading…
Reference in a new issue
No description provided.
Delete branch "starts-page"
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?
The transcript is of a start, as decided on spec-bb1.16 (the first of the owner's two amendments), on the registry's starts of #64.
Registry.Transcript(ctx, name, n)reads the events of the start'sFirstSeq..LastSeq(n = 0 is the latest); itsCardhas the start (number, how it ended, room, gc's id) and all the starts the registry still holds. A start that was never made or was removed givesErrNotFound./-/<session>/<n>and/-/<session>/<n>/rawfor a start,/-/<session>and/-/<session>/rawfor the latest. The card says "start N of M" with links to the others, how it ended (stop,reset,failed,lost; "not yet" while open), the room and gc's session id ("none recorded" for none). A link to a closed start keeps showing that start.Purgeremoves a start that is not the session's latest, with its events, once it ended before the cutoff, and the session whole, as before, once it has ended and its last event is that old. It returns the number of starts removed (the server's log line saysstarts). The latest start's events stay as long as the session does, so the numbering of events goes on past what was removed (tested).SetRoom(when it finds the room, and at each Started/StartedAfresh it sees), and the journal's "began anew" notice links the transcript of the start that just closed (/-/<session>/<n>, the start before the one whose first event this is).session.ServicegainsStartsandSetRoom, which the registry already had; the chattest fake has both.Not here:
!reset(next); and, rebased onto #68 when it is in, the service reads the room from the same place.Read at
cd80b14. The suite is green here under-race,internal/sessionandinternal/transcriptsten times withGOMAXPROCS=1. A start's transcript is its own numbers, a link by number stays what it was through later starts and through the removal of an older one, and the journal's link is to the start before the one the event opened; the 90 days run by each start's own end and the latest start is never taken alone, so the numbering goes on.One change: the card says "start N of M" with M the count of the starts the registry still holds. Once an older one has been removed that reads "start 97 of 3". Make M the number of the latest start. The row lists every start as a link, which for
guestin the city today is ninety-seven of them; say if you mean that, or show the neighbours and the ends.To say in the description, not to change: until #68 is in, a task's start has no room recorded, since its subscription begins after its Started event and
noteStartnever sees it; the always-on agents' are recorded at attach.It conflicts with main since #70 (CHANGELOG); rebase with the change.
cd80b14e62f8fb7e2710f8fb7e2710b918a6c3e7