Closed dmerrick closed 2 years ago
@merlintang Do you recall if the existing code reference above is something required for a particular use case?
@terrytangyuan we can remove this part, this is from the error part of yaml generation.
@dmerrick Feel free to submit a PR for this.
Summary
Right now when you use Argo, an empty yaml file gets dumped after every exception (regardless of if it's related to couler/argo or not). At our company we find our logs and stacktraces littered with seemingly-random Argo templates.
For example:
This unwanted behavior comes from right here: https://github.com/couler-proj/couler/blob/master/couler/argo.py#L283-L285
I propose we make this behavior configurable and turned off by default.
Use Cases
Anyone who uses couler as part of a bigger project probably doesn't want to see random empty templates all the time.
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.