felixmosh / bull-board

🎯 Queue background jobs inspector
MIT License
2.36k stars 366 forks source link

Queue names with "/" lead to "Queue not found error" flash messages #750

Closed codder414 closed 6 months ago

codder414 commented 6 months ago

Hi @felixmosh ! thanks for your work, very useful board to track bull activities. But I faced one issue which is quite critical i think:

Problem statement:

Which versions are affected: all Package: bull (haven't tested with bullmq) How to reproduce: try to use queues with "/" in their names

Example: let say we have default bull prefix: "bull" and at the same time we have queue name like: test/transactions When you load bull-board first time it shows something similar:

image

But if you click on the queue: It tries to fetch all jobs but cannot do it so it always fails:

image

My guess here it is because we don't escape "/" character this is why bull-board cannot handle such queue names.

felixmosh commented 6 months ago

Yeah exactly... Do u think that it should encode queue names?

What is the reasoning of using / in queue name?

codder414 commented 6 months ago

Thank you very much ! In my project where i work, there is a convention to use / as delimiter for queue names, it was done before i join to my team.