Repository navigation
refactor: convert Reporter trait hierarchy from &mut self to &self - #5913
Merged
baszalmstra merged 1 commit intoApr 16, 2026
Merged
baszalmstra merged 1 commit into
baszalmstra merged 1 commit into
Conversation
baszalmstra
force-pushed
the
bz/reporter-shared-ref
branch
from
April 16, 2026 11:19
b8aac14 to
128ac95
Compare
baszalmstra
force-pushed
the
feature/lockfile-v7
branch
from
April 16, 2026 12:45
d11415d to
7cf6e7d
Compare
baszalmstra
force-pushed
the
bz/reporter-shared-ref
branch
2 times, most recently
from
April 16, 2026 12:53
cc54d88 to
9fff9d0
Compare
baszalmstra
force-pushed
the
feature/lockfile-v7
branch
from
April 16, 2026 12:54
7cf6e7d to
feada3d
Compare
baszalmstra
force-pushed
the
feature/lockfile-v7
branch
from
April 16, 2026 13:49
feada3d to
6241687
Compare
baszalmstra
force-pushed
the
bz/reporter-shared-ref
branch
from
April 16, 2026 13:54
9fff9d0 to
4e22df2
Compare
baszalmstra
added a commit
that referenced
this pull request
May 1, 2026
baszalmstra
added a commit
that referenced
this pull request
May 1, 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.
Description
Switch the
Reportertrait and all 11 sub-reporter traits from&mut selfto&self. This removes the exclusive-borrow requirement so that reporters can be shared (e.g. viaArc<dyn Reporter>) across concurrent tasks, giving more flexibility in how we execute tasks in the command dispatcher.The
Reporterbound is tightened fromSendtoSend + Sync. Implementations that held mutable state now use interior mutability. Implementations that already locked internally only needed signature changes.How Has This Been Tested?
cargo clippy -p pixi_command_dispatcher -p pixi_reporters -- -D warningsandcargo test -p pixi_command_dispatcher -p pixi_reportersboth pass (34 unit tests + 23 integration tests).AI Disclosure
Tools: Claude Code (Claude Opus 4.6)
Checklist: