← Back to issue list

bug: `init` is advertised as a lifecycle command

View original Github issue

Metadata

Project
rockcraft
Number
#112
Type
issue
State
closed
Author
cjdcordeiro
Labels
—
Created
Updated
Closed

Current evaluation

Fixed incorrect lifecycle command advertising in PR #113 (commit 116f6f41), removing init from the lifecycle command group.

Resolution: closed resolved

Reason: PR #113 was merged as commit 116f6f41 with the explicit commit title "fix: #112 and help messages", correcting the command grouping and related help output.

Evaluated by: mr-cal-bot

No scores available.

Issue body

https://github.com/canonical/rockcraft/blob/f72beac0b8f6404217c2a8a4cc9608fdaa7c8fcd/rockcraft/cli.py#L42 `init` is not longer a lifecycle command since https://github.com/canonical/rockcraft/pull/35/commits/908f04cebddd2d2050ec0ade874155096fa107d0

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed incorrect lifecycle command advertising in PR #113 (commit 116f6f41), removing init from the lifecycle command group.
stealth/space-bunny-alpha — closed resolved Likely fixed in canonical/rockcraft#64 (044d7cb6), which added lifecycle step commands after init was decoupled from the lifecycle.
stealth/space-bunny-alpha — closed stale Closed with no recorded fix or closing comment; the report identified stale lifecycle metadata after PR #35 made init a standalone command.
stealth/space-bunny-alpha — closed stale Closed without a confirmed fix: `init` remained incorrectly advertised as a lifecycle command despite no longer being a lifecycle step.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The reported misclassification of init as a lifecycle command remains unaddressed.
qwen/qwen3.6-35b-a3b — — Fixed and closed. Resolved by updating CLI help text to remove init from lifecycle commands following PR 35.
qwen/qwen3.6-35b-a3b — — Closed. The bug was resolved by updating the CLI to remove init from the lifecycle command list. The issue was closed by the maintainer without further discussion.
qwen3.6-35b-a3b-mtp-q6 — — Abandoned. The init command classification in cli.py remains outdated following PR 35, with no fix or follow-up provided.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/rockcraft#113 (confidence 100%)

    The resolving commit 116f6f41 explicitly references and fixes issue #112.

  • Related To: canonical/rockcraft#35 (confidence 95%)

    Commit 908f04cebddd2d2050ec0ade874155096fa107d0 had already decoupled init from the lifecycle, exposing stale command advertising.

Related issues

No related issues found above the similarity threshold.