← Back to issue list

requirements: update craft-providers to 1.7.2

View original Github issue

Metadata

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

Current evaluation

Merged PR #198, updating craft-providers to 1.7.2 for cached-base LXD launches and ID-map validation, improving instance startup performance and disk usage.

Resolution: closed resolved

Reason: Rockcraft PR #198 was merged as commit 0b012773. It updated the dependency to craft-providers 1.7.2, which improves LXD instance launch performance.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- Update to craft-providers v1.7.2, which includes performance improvements when launching LXD instances. <details><summary>Changelog</summary> <p> 1.7.2 (2023-02-06) ------------------ - Check LXD id map before starting an existing instance. If the id map does not match, the instance will be auto cleaned or an error will be raised. - Add `lxc.config_get()` method to retrieve config values 1.7.1 (2023-01-23) ------------------ - Set LXD id maps after launching or copying an instance - Raise BaseConfigurationError for snap refresh failures 1.7.0 (2023-01-11) ------------------ - LXD instances launch from a cached base instance rather than a base image. This reduces disk usage and launch time. - For the LXD launch function `launched_environment`, the parameter `use_snapshots` has been replaced by `use_base_instance`. `use_snapshots` still works but logs a deprecation notice. - Expire and recreate base instances older than 3 months (90 days) - Add `lxc.copy()` method to copy instances - Check for network connectivity after network-related commands fail - Add documentation for network connectivity issues inside instances - Enable testing for Ubuntu 22.04 images - Update `MultipassInstance.push_file_io()` to work regardless of the host's working directory </p> </details>

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #198, updating craft-providers to 1.7.2 for cached-base LXD launches and ID-map validation, improving instance startup performance and disk usage.
stealth/space-bunny-alpha — closed resolved Merged craft-providers 1.7.2 update, bringing LXD ID-map validation and cached-base instance launching to improve launch performance.
qwen/qwen3.6-35b-a3b — — Merged an update to the craft-providers dependency, upgrading it to version 1.7.2. The change incorporates LXD performance improvements, id map validation, and base instance caching. Approved by two reviewers, passed CI checks, and modified three files.
qwen3.6-35b-a3b-mtp-q6 — — Merged dependency update to craft-providers v1.7.2, incorporating LXD performance optimizations, id map validation, base instance caching, and new API methods.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4032 requirements: update craft-providers to 1.7.2 snapcraft merged Merged as commit 9ab9a75dc: bumped the craft-providers pin to 1.7.2 in requirements files, so LXD instances for core22 snaps check the id map, avoiding cross-user errors like git "dubious ownership detected".
87%
#1370 build(deps): bump craft-providers to 1.19.2 charmcraft merged Merged PR #1370 in commit 543b5957, bumping craft-providers to 1.19.2; its base-v3 compatibility tag fixes startup failures for LXD instances created by 1.16.0.
83%
#4437 build(deps): bump craft-providers to 1.19.2 snapcraft merged Merged as commit 7f03ece0b, updating craft-providers to 1.19.2 and its base-v3 LXD compatibility fix; equivalent update #4438 landed as 3ddaf758b.
82%
#4462 build(deps): bump craft-providers to 1.20.1 snapcraft merged Merged as commit 7bd0d3a38, bumping craft-providers to 1.20.1 to fix LXD base-instance setup failures ("Instance setup failed") introduced in1.16.0 by auto-cleaning improperly set-up base instances.
81%
#403 build(deps): bump craft-providers to 1.19.2 rockcraft merged Merged PR #403 (commit 4da091b6) bumped craft-providers to 1.19.2 in Rockcraft's frozen requirements, adopting base-v3 to fix LXD instances created with craft-providers 1.16.0 failing to start.
80%
#24 requirements: update craft-providers rockcraft merged Merged canonical/rockcraft#24 via commit 33d0b2b7, updating craft-providers to 1.2.0 for significantly faster build-instance warm starts.
80%
#206 requirements: update craft-providers to 1.8.0 rockcraft merged Merged PR #206 in commit 1cf81ed1, updating craft-providers to 1.8.0 to clean up interrupted setup instances and improve snap-removal error details.
80%
#4244 requirements: update craft-providers to 1.10.1 snapcraft merged Merged PR #4244 (commit 4a7127fdd) updated craft-providers to 1.10.1, fixing provider shells inheriting the snapshot hostname and resolving #4181.
79%
#3999 dependencies: update craft-providers to 1.6.2 snapcraft merged PR #3999 merged into hotfix/7.2 (commit b7ee0805e), bumping craft-providers 1.6.1 -> 1.6.2 in requirements.txt, which disables automatic snap refreshes inside build instances (LP#1998100, CRAFT-1521).
79%
#3969 requirements: update craft-providers to v1.6.1 snapcraft merged Merged PR #3969 (commit f378ec38b) bumped craft-providers to v1.6.1 in requirements, fixing Multipass errors writing outside the user's home dir and unblocking Snapcraft 7.2.0 testing.
78%