Running another OkPy tool while OkPy editor is open causes "> Test_" mode to run the wrong tool

While working on a OkPy tool I had to run another OkPy tool to setup my model for testing the tool I am currently working on in the editor. The other tool ran normally and I continued to work on the tool open in the editor.

However when using the > Test_ mode instead of running the current tool which is open in the editor it ran the other tool I had used before.

When I use the regular Run button instead this does not happen (my currently in editor tool is run), this only happens in the > Test_ mode.

Something like this:

I have tool A open in the editor. While tool A is open in the editor I ran tool B outside of the editor. When I try to > Test_ run tool A, tool B runs in test mode instead. Using the regular Run button opens tool A as expected, not tool B.

It also causes the Save button to not save the currently open tool (A), but to save the tool run outside (B), basically duplicate saving only the other tool (B) and loosing changes to the in editor tool (A).

hey @FilipeFinco . Thanks for reporting this. It should normally not be possible to run tool B with tool A opened in the editor. It looks like one of our guards is not functioning propperly.

we’ll look closer at it!