GitLabClient pipeline reading: test gaps in parseMrPipelines and a wrong sentence in its API doc #790
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#790
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Found in IW-557 (deletion of parseMrPipeline).
GitLabClient.parseMrPipelineshas no direct test that non-JSON input givesLeft, and none that a pipeline'sshais reported as GitLab sends it; the deletedparseMrPipelinetests checked both (IW-557).docs/api/GitLabClient.mdbuildMergeRequestCommandsayshead_pipelinemeans "no 'which of these pipelines is current' guess is needed", but the gate reads the pipeline list becausehead_pipelinenames at most one pipeline (core/adapters/GitLabClient.scala:804) — reword the sentence (IW-557 review).Intake: needs-input
Workflow: waterfall
Reason: G7 (1 [human] finding)
Analysis: project-management/issues/IW-790/analysis.md on branch IW-790
1. Should IW-790 add two new API doc sections, or record them as a follow-up? (G7)
The issue asks to reword one sentence in the GitLab client API doc. The analysis also adds two new sections, about 20 lines each, for
buildMergeRequestPipelinesCommandandparseMrPipelines. The issue does not name these two functions (analysis lines 41-42, reason at line 53). The fixes to thefetchCiSnapshotandfetchPrHeadShaparagraphs stay in IW-790 with either option, because those paragraphs repeat the same false sentence.parseMrPipelinesection, so without these sections the doc says nothing about this. Cost: about 40 more doc lines that go past the issue's scope.Recommended: b): This follows your rule to record a gap outside the issue as one line in FOLLOW-UPS.md. Also, the
build-iw-cli-skillsskill rebuilds all ofdocs/api/from the source, so the next rebuild fills the gap.Answer in a comment on this issue, per number, for example "1: a", or in your own words; intake reads it on its next iteration.