Skip to content

Installer differential: ignore winget spinner frames in the transcript - #12965

Merged
danielhanchen merged 2 commits into
mainfrom
differential-ignore-winget-spinner
Oct 7, 2026
Merged

danielhanchen merged 2 commits into
mainfrom
differential-ignore-winget-spinner

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

I ran the Windows installer differential on staging with main against main: base 62ea2d7b52, head 8e0f3b5077. Between those two commits install.ps1 only differs by the unsloth / unsloth-zoo pin bump (#12960, #12869). The lane still failed with "the installer's behaviour changed":

@@ -28,4 +28,5 @@
    -
 No installed package found matching input criteria.
+   -
    -
 Found uv [astral-sh.uv] Version 0.12.23

The extra - is winget's busy spinner while winget install astral-sh.uv queries its source. The number of frames that reach the log depends on how long that query took, so this lane can fail on any run.

The test was wrong here, not the installer. The pin bump never reaches the winget step, and the second-run transcript, shortcuts and generated files all compared equal.

Change

normalise_transcript now drops a line only when it is a bare spinner frame (-, \, | or /). A line with any other text on it still compares, including winget's own - Packages list. Nothing else in the normalisation changes.

Verification

before after
the real base/head evidence from that staging run exit 2 (spinner line) exit 0
same evidence with one word changed in a real line (Found uv to Found UV) exit 2 exit 2
tests/python/test_installer_differential_comparer.py new spinner test fails 88 passed
compare_installer_evidence.py --self-test passes passes

The new tests:

  • test_winget_spinner_frames_do_not_fail: different frame counts on each side still compare equal.
  • test_a_dash_line_with_text_still_compares: a change to a - Packages style line is still reported.

A main-vs-main run of the Windows installer differential (base 62ea2d7,
head 8e0f3b5; install.ps1 differs only in the unsloth / unsloth-zoo pin
bump) failed on one extra "   -" line next to `winget install astral-sh.uv`.
That is winget's busy spinner: how many frames reach the log depends on how
long its source query took, so the lane could fail on any run.

Drop lines that are a bare spinner frame (- \ | /). A line with any other
text, such as winget's "  - Packages", still compares, and a one-word change
in the same real transcript still exits 2.
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-07T17:05:34.553955Z 8f357d6 New commits
🔒 Security Review ⚠️ Failed 2026-10-07T15:41:22.669865Z 5dcbd7b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: 5dcbd7bf90

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@danielhanchen
danielhanchen merged commit 0e8fc1a into main Oct 7, 2026
@danielhanchen
danielhanchen deleted the differential-ignore-winget-spinner branch October 7, 2026 18:01
danielhanchen added a commit that referenced this pull request Oct 10, 2026
…13172)

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant