AIP Logic fails to execute Ontology Writes despite being in an Action context

Furthermore, my workaround involves inlining all the AIP Logic functions that I need into a single “mega” Logic function (I’m not proud of my creation here to be honest).

However, I stumbled across a separate issue, wherein after a certain amount of nesting of loops/conditionals/groups, whatever language server / compiler powering AIP Logic decides to completely break and stop doing anything. Even though, by my calculations, the types I had were perfectly correct. It was only at a nesting level of around ~6 so this really does surprise me that the limits are so low.

My workaround: make it even worse to work with (but at least functional) by removing some conditional bits and using a custom defined tail function.

See pictures for example of error:

Picture 1: we are at the maximum before the compiler explodes. Note that the type hints are visible above blocks.

Picture 2: Kaboom! Everything breaks and I can do nothing anymore. Usually on the bottom tab, there is a nice grey tick saying compilation successful or similar.