4 ms·
Reminds me of Jenkins (the CI system) remote agent. One would expect a remote agent with well-defined capabilities: read/write/delete files and directories; ru
by theamk 2y ago
Reminds me of Jenkins (the CI system) remote agent.
One would expect a remote agent with well-defined capabilities: read/write/delete files and directories; run the process with stdout/stderr capture; stop the running process started in previous item.
Instead, there is a generic bytecode executor, and Jenkins controller ships out Java bytecode to be executed remotely. Crazy stuff.
- pjc50 2y agoNothing magic about the byte code, it's a compiled bit of the CI script. The whole point of Jenkins is to run arbitrary code on a machine farm.
- hiccuphippo 2y agoMaybe they could make a wasm interpreter with well defined limitations. Similar to how Deno does it for Javascript.
- chupasaurus 2y agoTask runners have to interpret the tasks one way or the other. Speaking of crazy stuff, Ansible in general ships out Python scripts to be executed remotely.