build providers: refresh packages on bring up
Metadata
Current evaluation
Merged. Added packaging repository refresh tasks to the BaseProvider bring-up logic, consolidating Multipass provider functionality. Approved and passed CI. A related container environment issue remains unresolved.
Suggested action: —
No scores available.
Issue body
Run packaging repo refresh tasks when bringing up an environment.
This requires adding start to the BaseProvider and bringing up logic
that was in the Multipass provider.
LP: #1792214
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Added packaging repository refresh tasks to the BaseProvider bring-up logic, consolidating Multipass provider functionality. Approved and passed CI. A related container environment issue remains unresolved. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes to refresh packages on environment bring-up. The update adds a start method to BaseProvider and ports Multipass initialization logic, ensuring packaging repositories update when environments launch. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation to refresh package repositories during environment bring-up. Adds a start method to BaseProvider and generalizes Multipass-specific initialization logic, ensuring consistent package updates across all build providers. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2225 build providers: environment setup for projects | snapcraft | merged | Merged. Adds a cloud data generator to the Base Provider for environment setup and updates project loading logic for re-execution mode. Integrates changes into the multipass provider. Resolves Launchpad issues #1782780 and #1782782. | |
| #2869 build providers: use multipass from stable | snapcraft | merged | Merged update to consume Multipass 1.0 from the stable channel for build providers. Approved by one reviewer, modifying four files with minimal changes. | |
| #2293 build providers: use the new snapcraft: remote for multipass | snapcraft | merged | Merged into master. Updates the multipass build provider to use the new snapcraft: remote, removing static base mappings and delegating error handling to multipass. Approved by reviewers and passed CI. | |
| #2100 build_providers: new build provider using multipass | snapcraft | merged | Merged pull request introducing the build_providers package and MVP multipass integration for snapcraft. Approved by two reviewers despite reported naming inconsistencies and a launch crash, accepted as initial implementation. |