Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that the useWorkerFetch fallback value is always a boolean #19499

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

If either of the factory-urls are missing or invalid, the fallback value would currently become useWorkerFetch === null.
While that is obviously a falsy value, which means that the code still works as intended, we should ensure that this is consistent.

@Snuffleupagus Snuffleupagus changed the title Ensure that useWorkerFetch fallback value is always a boolean Ensure that the useWorkerFetch fallback value is always a boolean Feb 16, 2025
If either of the factory-urls are missing or invalid, the fallback value would currently become `useWorkerFetch === null`.
While that is obviously a falsy value, which means that the code still works as intended, we should ensure that this is consistent.
@Snuffleupagus Snuffleupagus force-pushed the useWorkerFetch-ensure-boolean branch from 79a7dc0 to 06e4580 Compare February 16, 2025 13:04
@Snuffleupagus
Copy link
Collaborator Author

/botio unittest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_unittest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/14bcf0451080974/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

Command cmd_unittest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/296d66d1c118244/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/14bcf0451080974/output.txt

Total script time: 2.35 mins

  • Unit Tests: Passed

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/296d66d1c118244/output.txt

Total script time: 7.45 mins

  • Unit Tests: Passed

@timvandermeij timvandermeij merged commit 33c9757 into mozilla:master Feb 16, 2025
9 checks passed
@timvandermeij
Copy link
Contributor

Good find!

@Snuffleupagus Snuffleupagus deleted the useWorkerFetch-ensure-boolean branch February 16, 2025 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants