← Back to issue list

[PROTOTYPE] refactor: use craft-platforms

View original Github issue

Metadata

Project
rockcraft
Number
#662
Type
pull request
State
closed
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Prototype PR #662 was closed unmerged in August 2024; the production build-planner migration later landed via rockcraft#715 at commit 516d29e5.

Resolution: closed superseded

Reason: mr-cal closed #662 as a prototype and deferred it until canonical/craft-application#391 was released. Its purpose was later fulfilled by merged rockcraft#715 (516d29e5), which adopted craft-platforms for build plans.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- This prototype ensures that the `craft-platforms` build planner will be a drop-in replacement for the current build planner. This is a prototype because there are some linting issues here and the upstream craft-application PR is a prototype. Upstream work: - https://github.com/canonical/craft-application/pull/403 - https://github.com/canonical/craft-platforms/pull/25 (CRAFT-3154)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Prototype PR #662 was closed unmerged in August 2024; the production build-planner migration later landed via rockcraft#715 at commit 516d29e5.
stealth/space-bunny-alpha — closed superseded Prototype closed unmerged; the craft-platforms build-plan refactor was later completed by merged canonical/rockcraft#715 at commit 516d29e5.
stealth/space-bunny-alpha — closed stale Prototype was closed unmerged after 776 days. Its branch was reserved for later work once canonical/craft-application#391 was completed and released.
qwen/qwen3.6-35b-a3b — — Closed as a prototype pending upstream completion of craft-application#391. The branch remains available for future use once those changes are released.
qwen3.6-35b-a3b-mtp-q6 — — Closed as a prototype pending upstream completion. The craft-platforms build planner refactor is deferred until craft-application issue #391 is resolved and released.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/rockcraft#715 (confidence 99%)

    Merged production implementation replacing the custom build planner with craft-platforms.

  • Blocked By: canonical/craft-application#391 (confidence 98%)

    The closing comment identified this upstream issue as the prerequisite for resuming the prototype.

  • Related To: canonical/craft-platforms#25 (confidence 96%)

    Merged upstream craft-platforms change that added the Rock build planner.

Related issues

Issue Project State Summary Similarity
#403 [PROTOTYPE] refactor: use craft-platforms craft-application closed Closed unmerged as a prototype; maintainer redirected the craft-platforms build-planner integration to #391, with the build-plan service later landing via #666 (621d1a32).
90%
#698 Use craft-platforms for build plans rockcraft closed Merged PR #715 (516d29e5) replaced Rockcraft's custom build-plan generation with craft-platforms, resolving #698 and aligning plans with downstream consumers.
76%
#715 refactor: use craft-platform for the build plans rockcraft merged Merged PR #715 (516d29e5) replaced Rockcraft’s custom build-plan generation with craft-platform, creating one shared source for Rockcraft and remote builds; fixes #698.
76%
#639 Move the build planner logic into craft-platforms rockcraft closed Build planner logic extracted to craft-platforms in merged PR canonical/craft-platforms#25 (commit d9ff004); rockcraft later simplified in commit 5f898b32. Maintainer mr-cal confirmed completion.
75%
#501 feat: use craft-platforms build planning craft-application closed Closed unmerged after team discussion; the redesign was later delivered separately by #666 using craft-platforms, followed by #667 removing BuildPlanner.
74%
#346 Prototype Rockcraft Rebase rockcraft closed Prototype closed without a recorded resolution; the broader migration later landed via #856 (2139bcd2), using Craft Application 5.
74%
#764 [PROTOTYPE]: Work for ROCKCRAFT-245 craft-providers closed Prototype PR #764 was closed unmerged after 231 days without review or CI; no resolving commit or superseding work was identified.
73%
#391 Use craft-platforms for build plans craft-application closed Build planning and filtering moved to craft-platforms in merged PR #25 (d9ff004); craft-application adopted the planner through merged PR #666 (621d1a32).
73%
#1876 Use craft-platforms for build plans charmcraft closed Closed as done: charmcraft PR #1894 (commit f1755e8f) switched build plan generation to craft-platforms via craft-application's BuildPlanService; rockcraft did the same in #715.
72%
#5233 [PROTOTYPE] feat: support foreign architectures snapcraft closed Prototype PR for foreign-architecture support (CRAFT-4038) was closed unmerged; maintainer mr-cal noted it was superseded by merged PR #5274, shipped on latest/edge and scheduled for Snapcraft 8.8.
72%