impl-tool:follow-up
impl-tool:follow-up@0.0.0
followUpRuling
One of accepted, rejected, resolved.
followUpItem
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
state | enum one of open, accepted, rejected, resolved | Yes | What has been decided about this item: open when it is still outstanding, accepted when a queue note now owns it, rejected when it will not be done, resolved when a commit closed it | |
summary | string | Yes | What is outstanding, and where it would be done, as one unwrapped line | |
evidence | string | No | "" | What the state points at, never why it was ruled that way -- the reason goes in rationale. An accepted item names the queue note that now owns it by slug, in backticks, as in the-note-slug -- never by number or issue key, which the queue renumbers, and never by uuid alone, though a TAG:uuid may sit beside the slug. A resolved item names the commit that closed it: a sha in backticks, or a /commit/<sha> link. An open item and a rejected one point at nothing and leave it empty. It is rendered beneath the item under the state's own label, so name the thing alone and leave the announcing to the label, and say how it was resolved in detail, never here. A resolved item leaves the evidence empty when this iteration resolved it, whatever repository it was done in: the commit does not exist while you are writing this, so the runner names the one it makes for that repository. It can only do that where this iteration commits, so an item resolved in a repository this iteration did not touch is published open and reported |
rationale | string | No | "" | Why the item stands as it does, as one unwrapped line. An open item says why it cannot be done in this issue -- which repository's design question it is, whose decision it is, or what unfinished work it is blocked on -- and one an iteration lists is refused without it. A rejected item says why it will not be done, and is required to, since a rejection nobody can re-judge is the work dropped with a tidier word on it. Welcome on any other ruling, where it is read by whoever is deciding whether the ruling still holds. Not what the state points at (that is evidence) and not detail for an implementer (that is detail) |
detail | list[string] | No | [] | Extra detail a future implementer would want, one unwrapped line each, rendered as sub-bullets under the item. Not for the reader ruling on it -- keep the summary a single decidable sentence and put the mechanism, symbol names and numbers here |
followUpSection
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
scope | string | No | "." | The repository this item would be done in -- . for the top-level repository, otherwise the submodule's path as git submodule lists it -- the directory it is checked out at, not the remote's name. A scope naming neither matches no repository and its items reach no pull request |
repo | string | No | "" | The repository as the forge names it (owner/name), where it is known. Optional: the runner resolves it from the checkout when it is not given |
pull | string | No | "" | The pull request number this section belongs to, where it is known. Optional, and resolved from the branch when it is not given |
entries | list[followUpItem] | Yes | This repository's follow-up items. An empty list is the right answer when the iteration left nothing here for another issue |
followUpStateItem
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
id | integer | Yes | The item's number within its scope, from 1, assigned locally; followup rule, followup reset and followup rm name the item by it, and it never appears in a pull request | |
item | followUpItem | Yes | The follow-up item itself |
followUpStateSection
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
scope | string | No | "." | The repository the section belongs to: . for the top-level repository, otherwise the submodule's path |
repo | string | No | "" | The repository as the forge names it (owner/name); empty where it is not known |
pull | string | No | "" | The number of the pull request the section was read from and is published to; empty where there is none |
entries | list[followUpStateItem] | No | [] | The section's items, each with its local id |
followUpState
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
branches | dict[string, list[followUpStateSection]] | No | {} | Each branch's sections, keyed by branch name |
followUpRecord
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
branch | string | Yes | The branch the record is about | |
sections | list[followUpStateSection] | No | [] | The branch's follow-up sections, one per repository |
followUpMutationSummary
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
issue | string | Yes | The id of the issue under review | |
branch | string | Yes | The branch whose pull requests are under review | |
section | followUpStateSection | Yes | The changed scope's section as it stands after the change |
followUpDuplicate
followUpDuplicateReport
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
issue | string | Yes | The id of the issue under review | |
branch | string | Yes | The branch whose pull requests were read | |
scopes | integer | No | 0 | How many repositories' sections were read |
duplicates | list[followUpDuplicate] | No | [] | Every item found in more than one repository's pull request |
followUpListSummary
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
issue | string | Yes | The id of the issue under review | |
branch | string | Yes | The branch whose pull requests are under review | |
sections | list[followUpStateSection] | No | [] | The branch's sections as the local working copy holds them |
followUpPushSummary
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
issue | string | Yes | The id of the issue under review | |
branch | string | Yes | The branch whose pull requests are written to | |
sections | list[followUpStateSection] | No | [] | The sections considered for publishing |
updated | list[string] | No | [] | The scopes whose section differs from what their pull request holds: written on a real run, only named on a dry run |
dry | boolean | No | false | Whether this was a dry run, in which nothing is written |
problems | list[string] | No | [] | What the pre-merge check would refuse in these sections, one line per item, each naming its scope. Non-empty means nothing was published |
error | string | No | "" | The first failure that stopped the push; empty where there was none |
Used by
The versions of each application and library holding this build.