sorentwo/oban

oban_web - `KeyError` in `Oban.Web.Jobs.SortComponent.render/1`

Closed this issue · 5 comments

Environment

  • Oban Versions:
    CleanShot 2024-03-20 at 12 01 28@2x

  • PostgreSQL Version — 13.2

  • Elixir & Erlang/OTP Versions (elixir --version) — 1.16.1 and 26.0.2

Current Behavior

This could be us doing something wrong, but the stacktrace is all ObanWeb:

CleanShot 2024-03-20 at 12 00 28@2x

This has happened intermittently for a while, but never reliably and I'm unable to reproduce it. It seems like a race condition in LV (or a misunderstanding on my part), because handle_params/3 should always be called before render/1, and handle_params/3 sets defaults.

Are you able to reproduce the error?

@sorentwo nope and I don't have time to do right now so since we use oban_web for monitoring but that's pretty much it, sorry 😩 Feel free to close this one out or we can try to help some of the LV folks, but I won't be able to help much in practice.

I'll ask the LV people before closing this out. People have mentioned this issue for a long time now, and I'd like to sort it out.

@whatyouhide on a tip off from Chris, I think this is sorted 👍

Nice! Thank you both then 🙃 💟