issue --json: read closure data on GitHub #666

Open
opened 2026-10-01 21:15:35 +00:00 by claude · 3 comments
Member

Found during IW-651 (analysis). Deferred by Michal on 2026-10-01. Until this is done, iw issue <id> --json prints closure: {"kind": "notImplemented"} for this tracker. Forgejo implementation and closure rules: core/model/IssueState.scala, project-management/issues/IW-651/analysis.md.

GitHub gives the closure exactly in one GraphQL call: ClosedEvent.closer gives the PR with merged/mergedAt (live probe on cli/cli#14521: PR #14540, merged 2 s before closedAt). No time window is needed.

Found during IW-651 (analysis). Deferred by Michal on 2026-10-01. Until this is done, `iw issue <id> --json` prints `closure: {"kind": "notImplemented"}` for this tracker. Forgejo implementation and closure rules: `core/model/IssueState.scala`, `project-management/issues/IW-651/analysis.md`. GitHub gives the closure exactly in one GraphQL call: `ClosedEvent.closer` gives the PR with `merged`/`mergedAt` (live probe on `cli/cli#14521`: PR #14540, merged 2 s before `closedAt`). No time window is needed.
Author
Member

Intake: agent-ready
Workflow: waterfall
Reason: all gates passed
Analysis: project-management/issues/IW-666/analysis.md on branch IW-666

Intake: agent-ready Workflow: waterfall Reason: all gates passed Analysis: project-management/issues/IW-666/analysis.md on branch IW-666
Author
Member

Implement: needs-human
Reason: batch-implement exit 1 — the kanon plugin does not compile against the core of this branch. ForgeCatchUp.scala:143 expects Either[String, …] from fetchPullRequestForBranch, and the core now returns Either[TrackerError, …] (since #778). No phase ran, and batch-implement.log was not written. This failure is not specific to this issue: every iw-cli issue on the current main stops at the same point until the plugin is updated.

[error] /home/mph/.local/share/iw/plugins/kanon/lib/batch/ForgeCatchUp.scala:143:7
[error] Found:    Either[iw.core.model.TrackerError, Option[batch.ForgeState]]
[error] Required: Either[String, Option[batch.ForgeState]]
Compilation failed
Implement: needs-human Reason: batch-implement exit 1 — the kanon plugin does not compile against the core of this branch. `ForgeCatchUp.scala:143` expects `Either[String, …]` from `fetchPullRequestForBranch`, and the core now returns `Either[TrackerError, …]` (since #778). No phase ran, and `batch-implement.log` was not written. This failure is not specific to this issue: every iw-cli issue on the current `main` stops at the same point until the plugin is updated. ``` [error] /home/mph/.local/share/iw/plugins/kanon/lib/batch/ForgeCatchUp.scala:143:7 [error] Found: Either[iw.core.model.TrackerError, Option[batch.ForgeState]] [error] Required: Either[String, Option[batch.ForgeState]] Compilation failed ```
Author
Member

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
iterative-works/iw-cli#666
No description provided.