Repository navigation
Installer differential: ignore winget's partly filled download bars - #13172
Conversation
A main-vs-main run of the Windows installer differential (head 6c723f7) failed on progress frames alone: one side logged an extra partly filled winget bar ('█████▒▒▒▒▒ <percent>' and '<size> / <size>'). How many partial frames reach the log depends on the network, the same class of noise as the spinner frames #12965 dropped. Drop a line only when it is a partial frame (a bar with a '▒' left followed by a normalised percent or size). The full bar a finished download ends on still compares, so a download that stops finishing is still reported, and the real differences in that run (diffusers main now skipped, audio.cpp now installing) still fail the comparison.
|
@codex review |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Follow-up to #12965. A staging run of the Windows installer differential at main
6c723f7477failed partly on winget's download bar. One side logged an extra partly filled frame:winget redraws the bar as the bytes arrive, so the number of partial frames that reach the log depends on the network. This is the same class of noise as the spinner frames #12965 dropped, and it can fail the lane on any run.
Change
normalise_transcriptnow also drops a line when it is only a partial frame: a bar with a▒still in it, followed by a normalised<percent>or<size> / <size>.Verification
Replaying the real evidence from that staging run, only the genuine differences remain, and they still fail the comparison:
diffusers main (none pinned, skipped), from Studio: install the released Diffusers 0.41.0 instead of the pinned main commit #13045 installing the released Diffusers;audio.cpp prebuilt installed, where the older base hadprebuilt install failed.tests/python/test_installer_differential_comparer.pycompare_installer_evidence.py --self-testThe new tests:
test_winget_partial_progress_frames_do_not_fail: a different number of partial frames on each side still compares equal.test_a_download_that_never_finishes_still_compares: losing the final full bar is still reported.