Prettify labels in action progress messages with Bzlmod
UiStateTracker is provided with the repository mapping of the main repository after the loading phase has been completed and uses this mapping to "unmap" canonical labels back to the apparent name used for them by the main repository.
@Wyverald Could you review this PR?
@joeleba I have trouble getting UiStateTrackerTest to pass in the Skymeld case. This change makes it necessary to fire a LoadingPhaseCompleteEvent, but that seems to affect the SkymeldUiStateTracker state in a way I don't understand. Could you help with that?
@zhengwei143 Could you please help with the failing test? Thanks!
Seems like you just need to set mainRepositoryMapping = event.getMainRepositoryMapping(); in the SkymeldUiStateTracker#loadingComplete method. SkymeldUiStateTracker overrides that method - so the repository mapping wasn't set for the Skymeld case and hence you got a lot of NullPointerException(s) and failing tests.
@zhengwei143 Thanks, that seems to have worked, tests are passing now.
@Wyverald Friendly ping
@bazel-io flag
@bazel-io fork 6.1.0