I have created the task with Task.create and pulled it with an agent, to change its status. The error now occurs when the agent builds the env : he tries to pull jb_pytest_runner from the repo.
We are working on a solution, I will keep you updated
The Pycharm testrunner wraps the script into a local cript, and thats what you are getting.
(jb pytest runner). Because it is local, you lose the source info
Let me check if I have a workaround or solution for you. I keep you updated