Joystream / hydra

A Substrate indexing framework
49 stars 44 forks source link

Tracking issue for Hydra problems #458

Open ondratra opened 3 years ago

ondratra commented 3 years ago

Overview

Here we are attempting to keep an ongoing list of problems currently identified in Hydra, including how those problems impact other Atlas products.

:x: means product is not affected ✅ means product is affected.

Bugs

Enhancements

(ordered by priority)

Nice2have

kdembler commented 3 years ago

Af far as I can tell only issue from this list that affects Atlas is https://github.com/Joystream/hydra/issues/455 - like mentioned previously, we had to implement couple workarounds and restrict the user functionality since filtering search results is really problematic. Other issues that Atlas team have noticed can be found here - https://github.com/Joystream/joystream/issues/2818

Lezek123 commented 3 years ago

https://github.com/Joystream/hydra/issues/399:

https://github.com/Joystream/hydra/issues/434:

https://github.com/Joystream/hydra/issues/359:

https://github.com/Joystream/hydra/issues/438:

https://github.com/Joystream/hydra/issues/362:

https://github.com/Joystream/hydra/issues/283:

https://github.com/Joystream/hydra/issues/420:

https://github.com/Joystream/hydra/issues/452:

https://github.com/Joystream/hydra/issues/455:

https://github.com/Joystream/hydra/issues/454:

https://github.com/Joystream/hydra/issues/444 (the deep filtering part):

https://github.com/Joystream/hydra/issues/448:

https://github.com/Joystream/hydra/issues/443:

https://github.com/Joystream/hydra/issues/396:

https://github.com/Joystream/hydra/issues/435:

What I would add to the list:

I noticed that in hydra 3.1.0-alpha.13 there is still an issue with sanitizeNullCharacter, which breaks the processor unless commented-out in node_modules/@joystream/hydra-processor/lib/db/subscribers.js:

 Cannot read property 'storage_bag_id' of undefined, stack: TypeError: Cannot read property 'storage_bag_id' of undefined
processor-mnt_1          |     at sanitizeNullCharacter (/joystream/node_modules/@joystream/hydra-processor/lib/db/subscribers.js:40:16)
processor-mnt_1          |     at sanitizeEntity (/joystream/node_modules/@joystream/hydra-processor/lib/db/subscribers.js:33:9)
processor-mnt_1          |     at SanitizationSubscriber.beforeInsert (/joystream/node_modules/@joystream/hydra-processor/lib/db/subscribers.js:11:9)
jodator commented 3 years ago

AFAICS the issues that were causing us troubles were: #444 & #396. However, as for now, we use a different query to get the deeply nested variants (#396) and I think that #444 isn't that present now (2/3 issues were fixed). At the moment we don't see obvious blockers.