Skip to content

Tests: stub @/lib/folder-icons in the Hub GGUF card Metal budget test - #16082

Merged
danielhanchen merged 1 commit into
mainfrom
tests-hub-gguf-card-folder-icons-stub
Oct 30, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
tests-hub-gguf-card-folder-icons-stub

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Frontend unit tests is red on main. All four cases in studio/frontend/tests/hub-gguf-card-unified-budget.test.ts fail (seen on #16077's run):

not ok - the Hub GGUF card recommends a quant inside the Mac's Metal load budget
  error: 'no stub for import "@/lib/folder-icons" in .../src/features/hub/catalog/gguf-download-card.tsx'

#15958 moved the card's folder glyph to @/lib/folder-icons and added that stub to the other loadWithStubs tests. This test, from #15848 and merged the same day, was not in that sweep. The card is correct; the test's stub map was one module behind. This adds "@/lib/folder-icons": anyExport next to the other icon stubs.

Verification

  • node --test tests/hub-gguf-card-unified-budget.test.ts: 4 failed on main, 4 passed here.
  • The full frontend suite on main fails only these four.

#15958 moved the card's folder glyph to @/lib/folder-icons and added the stub to the other
loadWithStubs tests; this one, added by #15848 the same day, was missed, so all four of its
cases fail with 'no stub for import "@/lib/folder-icons"'.
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 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 ✅ Completed 2026-10-30T08:23:04.756238Z 5141546 Manual request
ℹ️ 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. Keep it up!

Reviewed commit: 5141546545

ℹ️ 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 cab10d4 into main Oct 30, 2026
1 of 39 checks passed
@danielhanchen
danielhanchen deleted the tests-hub-gguf-card-folder-icons-stub branch October 30, 2026 08:34
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