impl-tool:follow-up

impl-tool:follow-up@0.0.0

followUpRuling

One of accepted, rejected, resolved.

followUpItem

FieldTypeReq.DefaultDescription
stateenum one of open, accepted, rejected, resolvedYesWhat 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
summarystringYesWhat is outstanding, and where it would be done, as one unwrapped line
evidencestringNo""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
rationalestringNo""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)
detaillist[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

FieldTypeReq.DefaultDescription
scopestringNo"."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
repostringNo""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
pullRequeststringNo""The pull request number this section belongs to, where it is known. Optional, and resolved from the branch when it is not given
entrieslist[followUpItem]YesThis repository's follow-up items. An empty list is the right answer when the iteration left nothing here for another issue

followUpStateItem

FieldTypeReq.DefaultDescription
idintegerYesThe 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
itemfollowUpItemYesThe follow-up item itself

followUpStateSection

FieldTypeReq.DefaultDescription
scopestringNo"."The repository the section belongs to: . for the top-level repository, otherwise the submodule's path
repostringNo""The repository as the forge names it (owner/name); empty where it is not known
pullRequeststringNo""The number of the pull request the section was read from and is published to; empty where there is none
entrieslist[followUpStateItem]No[]The section's items, each with its local id

followUpState

FieldTypeReq.DefaultDescription
branchesdict[string, list[followUpStateSection]]No{}Each branch's sections, keyed by branch name

followUpRecord

FieldTypeReq.DefaultDescription
branchstringYesThe branch the record is about
sectionslist[followUpStateSection]No[]The branch's follow-up sections, one per repository

followUpMutationSummary

FieldTypeReq.DefaultDescription
issuestringYesThe id of the issue under review
branchstringYesThe branch whose pull requests are under review
sectionfollowUpStateSectionYesThe changed scope's section as it stands after the change

followUpDuplicate

FieldTypeReq.DefaultDescription
summarystringYesThe item's summary, as first written
scopeslist[string]No[]The repositories whose pull requests carry the item, in the order they were read

followUpDuplicateReport

FieldTypeReq.DefaultDescription
issuestringYesThe id of the issue under review
branchstringYesThe branch whose pull requests were read
scopesReadintegerNo0How many repositories' sections were read
duplicateslist[followUpDuplicate]No[]Every item found in more than one repository's pull request

followUpListSummary

FieldTypeReq.DefaultDescription
issuestringYesThe id of the issue under review
branchstringYesThe branch whose pull requests are under review
sectionslist[followUpStateSection]No[]The branch's sections as the local working copy holds them

followUpPushSummary

FieldTypeReq.DefaultDescription
issuestringYesThe id of the issue under review
branchstringYesThe branch whose pull requests are written to
sectionslist[followUpStateSection]No[]The sections considered for publishing
updatedlist[string]No[]The scopes whose section differs from what their pull request holds: written on a real run, only named on a dry run
dryRunbooleanNofalseWhether this was a dry run, in which nothing is written
problemslist[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
errorstringNo""The first failure that stopped the push; empty where there was none

Used by

The versions of each application and library holding this build.

Held byVersions
impl-tool0.0.0