← Back to issue list

ExtensionError link to non-exists URL

View original Github issue

Metadata

Project
rockcraft
Number
#351
Type
issue
State
open
Author
syu-w
Labels
—
Created
Updated
Closed
—

Current evaluation

Maintainer-reported broken docs URL ("https://rockcraft.io/docs/supported-extensions") in ExtensionError plus a "snapcraft.yaml" naming slip in the Extension docstring. URL already fixed by PR #777; wording nit still present.

Suggested action: close resolved

Reason: The reported dead link no longer exists: at commit 316e7bcf extension.py raised ExtensionError with docs_url="https://rockcraft.io/docs/supported-extensions", whereas at current HEAD it uses doc_slug="/reference/extensions/" plus a resolution hint — changed by commit 7f291e7f "feat: improve error message for experimental extensions (#777)", confirmed via a pickaxe search for that doc_slug. The new slug is valid: docs/reference/extensions/index.rst exists and declares the `reference-extensions` label. The secondary nit from the author's comment (docstring saying "add new parts to a given snapcraft.yaml" instead of rockcraft.yaml, extension.py line 61) is still unfixed at HEAD, but it is a non-user-facing docstring word and is best handled as a trivial follow-up rather than holding this issue open.

Evaluated by: mr-cal-bot

Impact: 15 Quick Win: 12 Complexity: 5 Confidence: 78 Actionability: 82

Issue body

### Bug Description Link to non-exists URL https://github.com/canonical/rockcraft/blob/316e7bcf666fe44abf0c30a9e7ea4af7fedc7994/rockcraft/extensions/extension.py#L88-L91 ### To Reproduce N/A ### Environment N/A ### rockcraft.yaml ```shell N/A ``` ### Relevant log output ```shell N/A ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 15
Quick Win: 12
Complexity: 5
Confidence: 78
Actionability: 82
close resolved Maintainer-reported broken docs URL ("https://rockcraft.io/docs/supported-extensions") in ExtensionError plus a "snapcraft.yaml" naming slip in the Extension docstring. URL already fixed by PR #777; wording nit still present.
qwen/qwen3.6-35b-a3b
Impact: 0
Quick Win: 0
Complexity: 0
Confidence: 95
Actionability: 100
keep open Typo in Extension class docstring: references 'snapcraft.yaml' instead of 'rockcraft.yaml'. Still present in current codebase.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 18
Staleness: 75
Complexity: 10
Confidence: 70
Support Request: 0
close stale ExtensionError doc link pointed to a non-existent snapcraft.io URL and docstrings referenced snapcraft.yaml instead of rockcraft.yaml; the code has since been refactored to use doc_slug with rockcraft docs base URLs, so the original problem appears resolved but the issue was never closed.
qwen/qwen3.6-35b-a3b
Staleness: 88
Complexity: 5
Confidence: 75
Support Request: 5
close stale Reports broken documentation links in ExtensionError messages within rockcraft. Unlabelled and inactive for nearly three years with no maintainer response or reproduction steps provided.
qwen3.6-35b-a3b-mtp-q6
Staleness: 92
Complexity: 5
Confidence: 80
Support Request: 0
close stale Reports a broken URL in an ExtensionError message and a typo in a comment within rockcraft's extension.py. Open for nearly 3 years with no maintainer response or activity in over 10 months.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 5
Confidence: 80
Support Request: 0
needs triage Unlabelled report of a broken URL in rockcraft's ExtensionError message. Author provided clarification in a follow-up comment. No maintainer response, labels, or assignment present.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/rockcraft#777 (confidence 85%)

    Commit 7f291e7f (PR #777) replaced the dead docs_url with doc_slug="/reference/extensions/" in the experimental-extension ExtensionError, and that slug resolves to docs/reference/extensions/index.rst.

Related issues

Issue Project State Summary Similarity
#1103 fix: remove snapcraft.yaml reference from expand-extensions rockcraft open Two-line help/docstring fix in rockcraft/commands/extensions.py replacing "snapcraft.yaml" with "rockcraft.yaml" in expand-extensions. Approved, CI passing, no unresolved comments; verified still applicable to current main.
72%