chore(logging): lower cache version conflict log level to debug#5630
Merged
baszalmstra merged 1 commit intoprefix-dev:mainfrom Mar 10, 2026
Merged
chore(logging): lower cache version conflict log level to debug#5630baszalmstra merged 1 commit intoprefix-dev:mainfrom
baszalmstra merged 1 commit intoprefix-dev:mainfrom
Conversation
baszalmstra
approved these changes
Mar 10, 2026
Contributor
|
In light of #5668, I think this change should be reverted. The warning indicated an actual bug in pixi. Not having the warning would have made debugging harder. |
baszalmstra
added a commit
that referenced
this pull request
Mar 13, 2026
This reverts commit 8cb7f3f.
Contributor
|
Jup did that in #5673 |
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.
Description
Reduces the log severity for cache version conflicts in
source_metadata/mod.rs.Cache conflicts can occur when multiple Pixi processes compute metadata concurrently and attempt to write to the cache. In these cases Pixi already falls back to the locally computed result, so the situation is expected under optimistic concurrency and does not indicate an error.
Previously this condition was logged using
tracing::warn!insource_metadata/mod.rs, while the same condition inbuild_backend_metadata/mod.rsis logged withtracing::debug!.This change aligns the log level in
source_metadatawith the existing behavior inbuild_backend_metadata, preventing unnecessary warnings in CI logs.Fixes #5626
How Has This Been Tested?
cargo checkto ensure the project builds successfully.cargo fmtto ensure formatting is correct.warn!todebug!forWriteResult::Conflict(_)insource_metadata/mod.rs.build_backend_metadata/mod.rs.AI Disclosure
Tools: Claude
Checklist:
schema/model.py.