← Back to issue list

`ProjectService` needs to be runtime configurable to determine whether ESM bases count as supported

View original Github issue

Metadata

Project
craft-application
Number
#909
Type
issue
State
open
Author
lengau
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed

Current evaluation

Enhancement: ProjectService.check_base_is_supported should be runtime-configurable so ESM bases count as supported, enabling Rockcraft's --pro feature to use ESM support as the --ignore=unmaintained cut-off. Triaged, open, no activity since creation ~11 months ago.

Suggested action: keep open

Reason: The issue is labeled 'Status: Triaged' and 'Type: Enhancement' and was filed by a maintainer (lengau) as part of the WIP --pro feature; Pro support was subsequently finalized in #1047 and pro_services is now plumbed into ProjectService (craft_application/application.py:546), but check_base_is_supported still unconditionally treats ESM bases as EOL, so the requested configurability remains unimplemented. No maintainer has closed or deprioritized it, so it should stay open despite ~11 months of inactivity.

Impact: 40 Quick Win: 24.0 Staleness: 65 Complexity: 40 Confidence: 75 Support Request: 0

Issue body

### What needs to get done When someone uses [`ProjectService.check_base_is_supported`](https://github.com/canonical/craft-application/blob/395771748cd6ce89aec80a69805d8082aaf21262/craft_application/services/project.py#L673), it currently errors if the base is ESM. This needs to be configurable though, so that when requested we count ESM bases as supported. ### Why it needs to get done So that the WIP `--pro` feature for Rockcraft can set ESM support (or perhaps the end of pro support? Could these differ @cjdcordeiro?) as the cut-off date for `--ignore=unmaintained`

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 40
Quick Win: 24.0
Staleness: 65
Complexity: 40
Confidence: 75
Support Request: 0
keep open Enhancement: ProjectService.check_base_is_supported should be runtime-configurable so ESM bases count as supported, enabling Rockcraft's --pro feature to use ESM support as the --ignore=unmaintained cut-off. Triaged, open, no activity since creation ~11 months ago.
qwen/qwen3.6-35b-a3b
Staleness: 75
Complexity: 40
Confidence: 85
Support Request: 10
keep open Enhancement to make ProjectService base support checking configurable for ESM bases. Currently triaged but inactive for ~10 months with only a Jira sync comment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 78
Complexity: 40
Confidence: 75
Support Request: 10
keep open Enhancement to make ProjectService.check_base_is_supported runtime configurable for ESM base support. Currently triaged but inactive for 295 days.
qwen3.6-35b-a3b-mtp-q6
Staleness: 70
Complexity: 45
Confidence: 80
Support Request: 10
keep open Make ProjectService.check_base_is_supported runtime configurable to treat ESM bases as supported rather than erroring. Triaged and synced to Jira, awaiting implementation to enable Rockcraft pro feature cutoff logic.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-application#1047 (confidence 70%)

    chore: finalize Pro support (#1047) landed the --pro plumbing this enhancement builds on; pro_services is now passed to ProjectService, but the ESM-aware base check was not added.

  • Related To: canonical/craft-application#886 (confidence 60%)

    fix(check_supported_base): ESM still counts as EOL (#886) established the current behavior this issue asks to make configurable.

Related issues

No related issues found above the similarity threshold.