codapi
codapi copied to clipboard
Feature Request: Include stdout and stderr for each step
I'm using codapi as a compiled language backend. It should compile the source first then run the binary. During these actions, I want to get the warning compiler print and the stderr from the compiled binary, which is impossible with the current api design.
Not currently planned, see #24 for details:
To be honest, I prefer the current behavior, and I'd rather not add a config switch. I don't currently see enough compelling reasons to complicate this behavior.
Having the build output visible could introduce security risks. You may want to consider doing intake validation using Open Policy Agent or similar. Rego language is written in go, but Microsoft has a Rust port that's incredible fast.
https://github.com/microsoft/regorus
@gengle Everything happens in the container. I don't think it poses any additional risk. In fact, the current design would get the same output, you'd just have a hard time separating those outputs.