artemiscloud / activemq-artemis-self-provisioning-plugin

ActiveMQ Artemis Self Provisioning Plugin
https://main--633c221f1c3e24f3029a826f.chromatic.com/
Apache License 2.0
3 stars 12 forks source link

Openshift 4.15: Dev build and prod build are diverging in behavior #193

Open lavocatt opened 2 weeks ago

lavocatt commented 2 weeks ago

There is something going on with the production build that we need to understand and hopefully fix before the demo.

On the production build it is impossible to list the broker pods of a deployed broker

image

Even though the pod is running fine and the status says "ok": image

On the production build, upon creating a broker, the namespace selection is broken

image Even setting the namespace manually doesn't update the field!

lavocatt commented 2 weeks ago

My intuition is telling me that this might be because when we work with the dev environment we are running the version 0.0.21 of the dynamic plugin sdk, but when we run in prod, the dynamic plugin sdk is running the version 1.x.x

I'm trying to update the dynamic sdk version on my branch to see if I can get to reproduce these issues in dev mode. That would be a good start.

lavocatt commented 2 weeks ago

Intuition was correct! I can reproduce the bugs in dev now. I'm opening a draft PR to track the progress on the matter.

lavocatt commented 1 week ago

For 4.15, react-router also needs to get updated.

lavocatt commented 1 week ago

I've been running tests against 4.12 and our production build is working fine: image

4.14 also works well image

lavocatt commented 1 week ago

After a more thorough exploration it seems like this is due to the react-router library. We're using an outdated version of it. We must upgrade it.