← Back to issue list

build(deps): update craft-application and craft-providers

View original Github issue

Metadata

Project
charmcraft
Number
#2069
Type
pull request
State
merged
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Merged craft-application and craft-providers update. Uses unique build environments per platform, fixing a bug where identical build-on/build-for entries shared environments. Reduces multi-base build times. Resolves #2058.

Suggested action:

No scores available.

Issue body

Use a unique build environment for each platform in a charm recipe. ### Scenario 1 * Fixes a bug where multiple platforms would build in the same build environment if the platforms had the same `build-on` and `build-for` entries. ```yaml platforms: noble: build-on: [riscv64] build-for: [riscv64] noble-debug: build-on: [riscv64] build-for: [riscv64] ``` ### Scenario 2 * Improves build time for multi-base recipes. Previously, Charmcraft would tear down and recreate the same container when building for a different base if the platforms had the same `build-on` and `build-for` entries. ```yaml platforms: jammy: build-on: [ubuntu@22.04:riscv64] build-for: [ubuntu@22.04:riscv64] noble: build-on: [ubuntu@24.04:riscv64] build-for: [ubuntu@24.04:riscv64] ``` Fixes #2058 (CRAFT-3847)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged craft-application and craft-providers update. Uses unique build environments per platform, fixing a bug where identical build-on/build-for entries shared environments. Reduces multi-base build times. Resolves #2058.
qwen3.6-35b-a3b-mtp-q6 Merged craft-application and craft-providers. Uses unique build environments per platform, fixing a bug where identical build-on/build-for entries shared containers. Cuts multi-base build times by avoiding container recreation. Closes #2058.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4796 build(deps): bump craft-application to 2.7.0 snapcraft merged Merged dependency update bumping craft-application to 2.7.0. The change implements the required _providers_base() method, passes all CI checks, and received two approvals.
77%
#1281 build(deps): update craft-providers to 3.7.1 rockcraft merged Merged update to craft-providers 3.7.1, resolving a stonking failure in build-base: devel and forwarding proxy environment variables to pro methods. Approved and passed CI.
76%
#4551 build(deps): bump craft-providers to 1.22.0 snapcraft merged Merged dependency update bumping craft-providers to 1.22.0, resolving Launchpad bug #2051567. The three-file change passed CI and code coverage checks, received two approvals, and was successfully merged.
75%
#4462 build(deps): bump craft-providers to 1.20.1 snapcraft merged Merged update bumping craft-providers to 1.20.1. Fixes a bug where improperly set-up base instances cause snapcraft failures by updating base compatibility tags and adding auto-cleanup for inactive instances. Approved and passed CI.
74%
#4624 build(deps): bump craft-providers to 1.23.0 snapcraft merged Merged dependency update bumping craft-providers to 1.23.0. Changes apply the base-v7 compatibility tag, switch to buildd daily for Ubuntu 24.04 and development images, and enforce non-interactive apt installs. Approved by two reviewers and passed CI checks.
74%
#155 build(deps): bump craft-providers to 1.20.1 craft-application closed Abandoned by author. The PR bumped craft-providers to 1.20.1 to update all craft applications but was closed because using craft-application requirements as a blanket update strategy was incorrect.
74%
#4421 build(deps): bump craft-providers to 1.19.1 snapcraft merged Merged into hotfix/7.5 following approval and passing CI. Bumps craft-providers to 1.19.1, incorporates devel base tests, and resolves multipass test failures. Addresses issues #4412 and CRAFT-2171.
74%
#4625 build(deps): bump craft-providers to 1.23.0 snapcraft merged Merged dependency update bumping craft-providers to 1.23.0. Adds base-v7 compatibility, Ubuntu 24.04 buildd config, and non-interactive apt enforcement. Approved, passed CI, and merged after maintainer override.
73%
#4623 build(deps): bump craft-providers to 1.23.0 snapcraft merged Merged dependency update bumping craft-providers to 1.23.0. Changes include a new base compatibility tag, Ubuntu 24.04 buildd daily usage, and non-interactive apt installs. Approved by two reviewers and passed all CI checks.
73%
#4552 build(deps): bump craft-providers to 1.22.0 snapcraft merged Merged a dependency update bumping craft-providers to 1.22.0. This resolves bug 2051567 by preventing apt source updates for Ubuntu development images. Approved, passed CI, and modified three files.
73%