feat(partitions): validate namespaced partitions
Metadata
Current evaluation
Validates namespaced partitions during LifecycleManager initialization, resolving issue #595. Merged after approval by two reviewers, adding 248 lines and removing 22 across five files.
Suggested action: —
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Validate namespaced partitions when intializing the `LifecycleManager`.
Fixes #595
(CRAFT-2032)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Validates namespaced partitions during LifecycleManager initialization, resolving issue #595. Merged after approval by two reviewers, adding 248 lines and removing 22 across five files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged validation logic for namespaced partitions during LifecycleManager initialization, resolving issue #595 and CRAFT-2032. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #595 Parse and validate namespaced partitions | craft-parts | closed | Fixed by implementing parsing and validation for namespaced partitions in LifecycleManager. Added error handling for invalid namespaces and partitions, enforcing lowercase letter and hyphen constraints. Resolved via merged pull request #599. | |
| #489 partitions: add feature and validation | craft-parts | merged | Merged. Implements the partitions feature and validation for LifecycleManager, adding a new parameter, input validation, error handling, and integration tests. Approved by two reviewers and passed CI checks. | |
| #600 feat(partitions): handle namespaced partitions in utils | craft-parts | merged | Merged following two reviewer approvals and passing CI. Updates utility functions to handle namespaced partitions across eight files (+229/-72 lines). Resolves #596 and CRAFT-2303. | |
| #493 partitions: validate usage of partitions in parts | craft-parts | merged | Implemented partition validation for filepaths in the organize, overlay, stage, and prime keywords within parts. Merged after reviewer approval and passing CI checks, modifying seven files to resolve CRAFT-1844. | |
| #4493 feat(lifecycle): conditionally enable partitions | snapcraft | merged | Merged after approval and CI checks. Conditionally enables partitions for components on core24 or newer bases, generates partitions from definitions, and adds environment variables. Resolves #4463 and #4465. | |
| #292 feat: expose partitions to the lifecycle service | craft-application | merged | Merged the feature exposing partitions to the lifecycle service. Approved by two reviewers, the change modifies five files (+117/-17 lines) and integrates the new API into the codebase. | |
| #652 feat(partitions): clean partition directories | craft-parts | merged | Merged changes cleaning partition directories when the partitions feature is enabled. Approved by two reviewers, passed CI, and resolves issue #634. |