← Back to issue list

providers: do not push .bashrc to Multipass instances

View original Github issue

Metadata

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

Current evaluation

Merged a temporary workaround to stop pushing .bashrc to Multipass instances, bypassing a craft-providers limitation that blocks writes to /root/. Approved and passed CI, this resolves the immediate issue until the upstream bug is fixed.

Suggested action:

No scores available.

Issue body

- [X] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [X] Have you successfully run `make lint`? - [X] Have you successfully run `pytest tests/unit`? ----- A limitation of craft-providers prevents snapcraft from pushing files to Multipass's `/root/` directory. This limitation was uncovered with the recent PR https://github.com/snapcore/snapcraft/pull/3951. This PR prevents pushing `.bashrc` to Multipass environments. This reversion can be addressed after https://github.com/canonical/craft-providers/issues/169 is resolved. Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a temporary workaround to stop pushing .bashrc to Multipass instances, bypassing a craft-providers limitation that blocks writes to /root/. Approved and passed CI, this resolves the immediate issue until the upstream bug is fixed.
qwen3.6-35b-a3b-mtp-q6 Merged a workaround to stop pushing .bashrc to Multipass instances, addressing a craft-providers limitation blocking writes to /root/. The change will be reverted once craft-providers issue #169 is resolved. Unrelated test failures were fixed separately.
qwen3.6-35b-a3b-mtp-q6 Merged a workaround to stop pushing .bashrc to Multipass instances, addressing a craft-providers limitation blocking writes to /root/. This change will be reverted once the upstream issue is resolved. An unrelated test failure was fixed separately.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4010 providers: push .bashrc to Multipass instances snapcraft merged Merged. Replaces temporary host file creation with craft-providers.push_file_io to push .bashrc directly into Multipass instances. Approved by two reviewers, passed CI, and merged into main.
87%