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

Make BullMQ Deno compatible #3024

Open
manast opened this issue Jan 22, 2025 · 0 comments
Open

Make BullMQ Deno compatible #3024

manast opened this issue Jan 22, 2025 · 0 comments

Comments

@manast
Copy link
Contributor

manast commented Jan 22, 2025

Is your feature request related to a problem? Please describe.
We do not officially support Deno. As there is a growing community, it makes sense to also support it.

Describe the solution you'd like
Make the minimal changes necessary to achieve compatibility so that the whole test suite can be run via Deno, that would gives us some guarantees that the library is indeed working properly in this environment. The tests should run automatically in GitHub actions as we do with the rest.

Describe alternatives you've considered
None

Additional context
It is possible that some code changes are necessary, but I am not sure: https://docs.deno.com/runtime/fundamentals/node/

Some changes in the test runner may be necessary as Deno requires the npm specifier to be used when importing node modules:

import  { Queue, Worker } from "npm:bullmq"

The question is how to run the tests without doing this change in all the tests (which btw is not compatible with Node so that would require duplicating them, or creating some generic "import" module that works with both runtimes. In any case, we do not want to create code duplication to achieve our goals here.

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

No branches or pull requests

1 participant