I want to see what the logs would look like if my Python code contains error so I removed a few quotation marks from my script. It should had caused errors, however the log still printed out normally for quite a while before it actually stopped working.
Is there a way to force them to pick up the new code right away?
Do we have access to the dev ticket?
What is the ETA?
Do we have a way to force the slave to reload the event plugins? Restart the slave, restart the machine…?
Is there a place where we can see the last time it updated the events?
Yeah, restarting the Slave (easy if you have remote administration enabled) is the way to go here.
The developer tickets aren’t publicly available but you can always ask us to poke on them.
If you’re developing scripts and need to restart often, running a Slave on your workstation or a test machine is the best way to iterate quickly on changes. Additionally, having a local Repository you can develop on as a staging area is quite nice and what we all do over here. @mois.moshev has had some good luck using this workflow.
It usually says in the applications log if verbose logging is enabled. I went digging to find an example, but came up empty handed. It’s something like “reloading X because it has changed on disk” where X is an event.
The log message saying that an event plugin is being reloaded as its changed on disk appears in your “Console” panel in DL monitor if you have Verbose Logging enabled in Repo Options.
Developers/Scripters in DL should always have the “Console” & “Background Ops” panels docked in their Monitor UI as power tools. HINT: you could saved a monitor layout either locally or share globally in your pipeline to ‘switch’ into dev mode.
I too would be interested in more details about this.
Currently I am setting up a Linux worker, from my Windows machine. The local Windows worker always reloads its plugins when restarted, but this doesn’t seem to happen reliably on Linux.
Perhaps this changed with sandboxing? From what I gather, event plugins run in their own sandbox process, and it is unclear how to manage that.