Skip to content

@remotion/google-fonts: Fix ignoreTooManyRequestsWarning option#6918

Merged
JonnyBurger merged 1 commit intoremotion-dev:mainfrom
ytakahashi:oneoff/ignoreTooManyRequestsWarning
Mar 30, 2026
Merged

@remotion/google-fonts: Fix ignoreTooManyRequestsWarning option#6918
JonnyBurger merged 1 commit intoremotion-dev:mainfrom
ytakahashi:oneoff/ignoreTooManyRequestsWarning

Conversation

@ytakahashi
Copy link
Copy Markdown
Contributor

Summary

The ignoreTooManyRequestsWarning option in @remotion/google-fonts does not actually suppress the console warning, even when explicitly set to true.
I updated the warning condition inside packages/google-fonts/src/base.ts to properly respect options?.ignoreTooManyRequestsWarning so the warning can actually be silenced when the user explicitly configures it.

@pullfrog
Copy link
Copy Markdown
Contributor

pullfrog bot commented Mar 27, 2026

Reviewed PR #6918 — correct one-line bug fix that wires up the previously unused ignoreTooManyRequestsWarning option in the font-loading warning condition. No issues found.

Pullfrog  | View workflow run | Triggered by Pullfrog | Using Big Pickle (free) | 𝕏

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bugs Ready Ready Preview, Comment Mar 27, 2026 9:25am
remotion Ready Ready Preview, Comment Mar 27, 2026 9:25am

Request Review

Copy link
Copy Markdown
Contributor

@pullfrog pullfrog bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct fix. The ignoreTooManyRequestsWarning option was declared in the FontLoadOptions type but never actually checked in the warning condition — this PR wires it up properly.

Pullfrog  | View workflow run | Using Big Pickle (free) | 𝕏

@ytakahashi
Copy link
Copy Markdown
Contributor Author

Hi! One of the tests failed but it looks like this failure is unrelated to my change.
Please let me know if I need to do anything else!

@JonnyBurger JonnyBurger merged commit de13524 into remotion-dev:main Mar 30, 2026
17 of 18 checks passed
@JonnyBurger
Copy link
Copy Markdown
Member

Thank you for the fix! 🎉

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.

2 participants