refactor(run): report the assumed platform per environment - #6508
Merged
Conversation
Contributor
Author
|
Based on your comment to #6507: Yes, much of this can probably go now. Here is the cleanup for that. I did not want to do that in the fix PR as it felt like refactoring and not like a fix, but that distinction is unnecessary when you release straight from |
The `pixi run` platform decision moved into the per-task loop (prefix-dev#6507), so the up-front base-environment logging no longer matched what actually ran: a bare `pixi run` would log "assuming platform linux-64" for the default environment while the task ran in a sibling at a richer platform. Emit the "assuming platform" info per environment, keyed on the task's run environment and its resolved platform, and drop the verbose "Run-platform decision" debug line -- it only described the base environment's inputs and is no longer needed.
hunger
force-pushed
the
push-wykzltwvsksk
branch
from
July 13, 2026 11:24
fb3548f to
5e10799
Compare
Contributor
Author
Hofer-Julian
approved these changes
Jul 13, 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.
The
pixi runplatform decision moved into the per-task loop (#6507), so the up-front base-environment logging no longer matched what actually ran: a barepixi runwould log "assuming platform linux-64" for the default environment while the task ran in a sibling at a richer platform.Emit the "assuming platform" info per environment, keyed on the task's run environment and its resolved platform, and drop the verbose "Run-platform decision" debug line -- it only described the base environment's inputs and is no longer needed.
How Has This Been Tested?
By checking the logging output
AI Disclosure
Tools: Claude
Checklist:
schema/model.py.