Skip to content

Show gap wheel fixes in the browser repo checker - #193

Merged
patrickballard merged 3 commits into
wheelgap:mainfrom
kunalkshah1:feat/repo-checker-gap-wheels
Nov 20, 2026
Merged

patrickballard merged 3 commits into
wheelgap:mainfrom
kunalkshah1:feat/repo-checker-gap-wheels

Conversation

@kunalkshah1

Copy link
Copy Markdown
Contributor

Closes #187

The repo checker uses wheelgap’s --fix matching and installation text. It fetches the public gap-wheel index once per worker, caps it at 4 MiB, and preserves the check results if the index is unavailable. The table labels filled cells as unofficial, and Fix it and the copied prompt include the install instructions.

Ready for review as a draft. This can land with or after the PR that updates the tracker’s wheelgap pin from 0.13.0 to a release with --fix. The current pin remains supported.

Verification

  • Tracker tests with 0.13.0: 525 passed, 6 skipped. Site tests: 120 passed. Notes validation and JavaScript syntax checks passed.
  • Driver tests against wheelgap main cover the match, wrong version and target, private index, malformed entry and Requires-Python restriction.
  • The published index matched cchardet 2.4.1 on Python 3.14 musl-aarch64 and returned the uv index instructions.

AI tools used: Codex.

@kunalkshah1
kunalkshah1 marked this pull request as ready for review November 20, 2026 18:16
@patrickballard

Copy link
Copy Markdown
Contributor

Thanks @kunalkshah1! This one is for a help wanted issue (#187) and changes the checker's Content-Security-Policy (adding the gap-wheels JSON host to connect-src), so Patrick will review and merge it himself.

(Review assisted by Claude.)

patrickballard and others added 2 commits November 20, 2026 21:07
…t the Fix column over all of a row's gaps

- The Gap wheels block now states the unofficial wording (wheelgap's own gapwheels.UNOFFICIAL) in text; it was
  only in the cell tag's title, which a touch screen or a keyboard never shows.
- The Fix column said "gap wheel available" when any shown cell was filled. It now counts over the row's gaps:
  "gap wheel for 1 of 2 gaps" when a wheel fills only some of them.
- The gap-wheels message no longer falls through to the fixes branch; straight apostrophes as elsewhere.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@patrickballard
patrickballard merged commit e9c5958 into wheelgap:main Nov 20, 2026
1 check passed
@patrickballard

Copy link
Copy Markdown
Contributor

Merged, thanks @kunalkshah1! The repo checker will show the gap wheel that fills a gap, with the same lines wheelgap --fix prints, as soon as its pinned wheelgap release includes --fix. Before merging I made the "unofficial" wording visible on the page, not only on hover, and the fix column now says when a gap wheel fills only some of a package's gaps. If you'd like another, #189 (test that the checker's answer matches uvx wheelgap for every lockfile format) guards exactly this code.

(Reply assisted by Claude.)

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.

Repo checker: show when a gap wheel fills a gap, with the lines to install it (wheelgap --fix)

2 participants