-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add flag to allow you to disable tink-worker action logging rollup #443
Conversation
Codecov Report
@@ Coverage Diff @@
## master #443 +/- ##
=======================================
Coverage 35.14% 35.14%
=======================================
Files 47 47
Lines 2888 2888
=======================================
Hits 1015 1015
Misses 1781 1781
Partials 92 92 Continue to review full report at Codecov.
|
Why we do not remove it all together?! What's the point about the current behavior?! Thanks!! |
7982a1d
to
7108578
Compare
To know for sure we'd have to speak to those who did the initial design/coding around this. Currently, this allows you to see all the action logs in one place, alongside the tink-worker logs. This is probably a benefit to smaller users of tink without an external logging infrastructure. Or at least, that was my thinking. I'm fine getting rid of it entirely, but I figured that was a change that would require wider buy-in. |
a0e80a7
to
ced70b4
Compare
Signed-off-by: James W. Brinkerhoff <[email protected]>
f516a0e
to
2bb6b56
Compare
Just to summarise the discussion we had on slack with @mmlb . I thought about the possibility to remove this feature all together, mainly because it is easy to grow everything behind a feature flag but long term it makes things confusing but let me explain why we are keeping it today. As far as it is today (before this PR), tink-worker removes all the containers it runs straight away, almost like The proposal we made to avoid that was to remove the equivalent of |
Signed-off-by: James W. Brinkerhoff <[email protected]>
Signed-off-by: James W. Brinkerhoff <[email protected]>
2bb6b56
to
f354b54
Compare
Description
Currently tink-worker attaches to the 'console' of each action container and logs its STDOUT/STDERR alongside tink-worker's normal output. This change allows this behavior to be disabled through a flag.
Why is this needed
We wish to log all action output centrally via syslog as configured in the docker 'daemon.json'. If we enable that, and tink-worker still wants to grab the action logs the conflict will cause actions to fail to execute.