Commit d34dfd5
committed
Fix disregard_locked_content guard, make timestamp tests deterministic, add solve-group and channel-extended coverage
- Restore the `should_disregard_conda` check in outdated.rs that was
accidentally removed, causing ChannelsExtended and pypi-only unsat
variants to skip per-platform satisfiability (losing validated
source timestamps).
- Extract `merge_source_timestamp_hints` into a static method with
unit tests for distinct-variant and conflict-dropping behaviour.
- Replace all `thread::sleep` calls in timestamp tests with
deterministic host-dep timestamps via `PackageBuilder::with_timestamp`.
The explicit-update test rewrites mock repodata to publish a newer
package between locks.
- Add integration test for solve-group environments sharing a source
package (exercises merge_source_timestamp_hints end-to-end).
- Add integration test for channel-appended (ChannelsExtended) with
source timestamp preservation.1 parent 703ff39 commit d34dfd5
24 files changed
Lines changed: 600 additions & 144 deletions
File tree
- crates
- pixi_api/src/workspace
- list
- reinstall
- remove
- workspace
- pixi_cli/src
- workspace/export
- pixi_command_dispatcher/src
- cache
- install_pixi
- source_record
- pixi_core/src
- environment
- lock_file
- satisfiability
- pixi_glob/src/glob_set
- pixi_record/src
- pixi/tests/integration_rust
- common
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments