Remove dead FeedbackParser.getLabelIdForIssueType and its Linear label constants #455
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#455
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?
FeedbackParser.getLabelIdForIssueType(core/model/FeedbackParser.scala:60-63) returns Linearlabel UUIDs (
Constants.IwCliLabels.Bug/Feature). Its only callers are two tests,FeedbackParserTest.scala:162-170. It has been dead in production since the feedback command leftLinear, and the Forgejo routing added by IW-426 has no label parameter at all —
ForgejoClient.buildCreateIssueBody(core/adapters/ForgejoClient.scala:78-80) isujson.Obj("title" -> …, "body" -> …).A function whose only callers are its own tests is dead code; test-only usage does not make it live.
Remove the helper, its two tests, and the
Constants.IwCliLabelsentries it is the last reader of.Found during IW-426.
Intake: agent-ready
Workflow: waterfall
Reason: all gates passed — analysis reviewed sound, 1 phase, no CLARIFY markers
Analysis: project-management/issues/IW-455/analysis.md on branch IW-455
Intake: agent-ready
Workflow: waterfall
Reason: all gates passed
Analysis: project-management/issues/IW-455/analysis.md on branch IW-455
Implement: needs-human
Reason: batch-implement exit 1 — the kanon plugin does not compile against the iw-cli core of this branch.
ForgeCatchUp.scalaexpectsEither[String, …]fromfetchPullRequestForBranch, and core returnsEither[TrackerError, …]since #778. No phase ran; the branch is unchanged. This failure is not specific to this issue: every iw-cli item fails in the same way until the plugin follows the core change.No
batch-implement.logwas written. The last lines of the command output:Release: the implement loop failed this issue for a reason outside it. The kanon plugin did not compile against iw-cli main, because the tracker port now returns TrackerError (iw-cli #778). The plugin fix is dev-docs #484, and iw-cli 0.22.1 carries the core change. The issue goes back to the implement loop.