Skip to content

Resolved counts from when a row stopped waiting #1190

Closed

Description

@JacobStephens2

Parent

#919

What to build

When a row leaves Needs you or Ready for review, Resolved counts from when it stopped waiting, not from when its Command ended (Spec Q3.4). This Ticket does that for the exit that exists today: a later Command starting on the same issue.

For example, a failure whose issue a later Command takes up ten days after it ended stays in Resolved for inbox.days from that later Command's start. Today it goes straight to History. Wherever the row goes, it says why it left: in thirdshift status, in status --json and on its Console row.

Two things stay as they are:

  • A row that ages out isn't one anybody dealt with, so it still goes straight to History (Q4.2).
  • Done still holds the Commands that ended in the last day.

This is the prefactor the rest of the Spec builds on. The Inbox starts taking what it knows beyond the Command records, here when and why each row left. #1191 and #1194 extend that with dismissals and GitHub's facts. The Console moves the row on time at its new boundary, as it does at today's Inbox boundaries.

Acceptance criteria

  • A failed Command whose issue gets a later Command after inbox.days stays in Resolved for inbox.days after the later Command started, then goes to History.
  • A ready Command taken up by a later Command (The Inbox's Ready for review keeps Commands whose pull request was merged, forever #1083's exit) does the same.
  • A Command that never waited goes by when it ended, as today: Done for a day, Resolved until inbox.days, then History.
  • A row that ages out of Needs you goes straight to History, as today.
  • A row that left says why and when, in status, in status --json and on its Console row.
  • An open Console page moves the row when its new boundary passes, without any file changing.
  • status and the Console agree on every row's group.
  • Tested through the thirdshift binary, and the Console's boundary through its live-update tests.
  • The hand-written site pages and the domain-to-code index say what changed.

Blocked by

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

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions