Summary
We need to ensure that when we generate facts, say for example the pod name, we only do so once.
Use Cases
This would significantly reduce the number of bugs we have.
For example, when investigating this issue: #10124
Something I noticed was that the output between ./argo get -json and the UI were slightly different.
I've had similar issue with a Mutex issue linked here.
This generation of facts every time we need them has been quite problematic in my opinion and we should refactor the codebase to eliminate this behaviour. I believe doing so will eliminate an entire class of bugs from our codebase.
Summary
We need to ensure that when we generate facts, say for example the pod name, we only do so once.
Use Cases
This would significantly reduce the number of bugs we have.
For example, when investigating this issue: #10124
Something I noticed was that the output between
./argo get -jsonand the UI were slightly different.I've had similar issue with a Mutex issue linked here.
This generation of facts every time we need them has been quite problematic in my opinion and we should refactor the codebase to eliminate this behaviour. I believe doing so will eliminate an entire class of bugs from our codebase.