fix(pet-conda): shorten test fixture path for Windows compatibility#384
Merged
karthiknadig merged 1 commit intomainfrom Apr 3, 2026
Merged
Conversation
Test Coverage Report (Linux)
Coverage unchanged. |
Performance Report (Linux) ✅
Legend
|
Test Coverage Report (Windows)
Coverage unchanged. |
Performance Report (Windows) ➖
Legend
|
There was a problem hiding this comment.
Pull request overview
Renames a deeply nested conda test fixture directory in pet-conda to reduce checkout path lengths, preventing Windows path-length failures in GitHub Actions while preserving history-based manager detection coverage.
Changes:
- Renamed the conda history-based fixture root directory to
conda_histto shorten paths. - Updated
lib_test.rsto reference the new fixture location. - Updated fixture
historycontent to remove stale hardcoded references to the old path.
Reviewed changes
Copilot reviewed 2 out of 26 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| crates/pet-conda/tests/lib_test.rs | Updates test fixture path references to use conda_hist. |
| crates/pet-conda/tests/unix/conda_hist/env_python_3/bin/conda | Renamed fixture file under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/env_python_3/bin/python | Renamed fixture file under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/env_python_3/bin/python3 | Renamed fixture file under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/env_python_3/bin/python3.1 | Renamed fixture file under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/env_python_3/bin/python3.12 | Renamed fixture file under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/env_python_3/conda-meta/history | Updates committed history content to use the new fixture directory name. |
| crates/pet-conda/tests/unix/conda_hist/env_python_3/conda-meta/history_template | History template used by test to write a runtime history with substituted conda install path. |
| crates/pet-conda/tests/unix/conda_hist/env_python_3/conda-meta/pygments-2.17.2-pyhd8ed1ab_0.json | Renamed conda-meta fixture JSON under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/env_python_3/conda-meta/python_abi-3.12-4_cp312.json | Renamed conda-meta fixture JSON under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/env_python_3/conda-meta/python-3.12.2-hdf0ec26_0_cpython.json | Renamed conda-meta fixture JSON under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/env_python_3/conda-meta/python-dateutil-2.8.2-pyhd8ed1ab_0.json | Renamed conda-meta fixture JSON under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/bin/conda | Renamed conda-install fixture file under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/bin/python | Renamed conda-install fixture file under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/bin/python3 | Renamed conda-install fixture file under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/bin/python3.1 | Renamed conda-install fixture file under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/bin/python3.10 | Renamed conda-install fixture file under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/condabin/conda | Renamed condabin fixture file under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/envs/.conda_envs_dir_test | Renamed marker fixture file under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/conda-meta/conda-23.1.0-py310hca03da5_0.json | Renamed conda-meta fixture JSON under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/conda-meta/conda-build-3.23.3-py310hca03da5_0.json | Renamed conda-meta fixture JSON under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/conda-meta/history | Renamed conda-meta history fixture under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/conda-meta/pytest-7.1.2-py310hca03da5_0.json | Renamed conda-meta fixture JSON under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/conda-meta/python-3.10.9-hc0d8a6c_1.json | Renamed conda-meta fixture JSON under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/conda-meta/python-dateutil-2.8.2-pyhd3eb1b0_0.json | Renamed conda-meta fixture JSON under shorter path root. |
| crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/conda-meta/python-fastjsonschema-2.16.2-py310hca03da5_0.json | Renamed conda-meta fixture JSON under shorter path root. |
Performance Report (macOS)
Legend
|
TylerLeonhardt
approved these changes
Apr 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rename the long conda test fixture directory
conda_env_without_manager_but_found_in_history→conda_histso Windows GitHub Actions checkouts stay under the 260-character path limit.lib_test.rshistoryfilecargo fmt --all --checkandcargo clippy --all -- -D warningsFixes #171