Add log service addon#5507
Conversation
IMO that's a must for an addon system. |
|
Cool, this still doesn’t solve the problem that the addon can’t know if the step is finished from the log chunk or from the *model.Step when the last logAppend is called. |
|
Also, I really like the addon approach! |
The system supports having multiple plugins in one binary. But that would require everyone who uses multiple plugins to compile their own correct "mix" of plugins.
For secrets, I'd rather use an http-based approach because then, this can also be added on a repo-level and not only globally. |
Should be done in a separate PR. My idea would be to add a new function to the interface like |
No way around it? That's a pretty bad UX. |
|
No, I don't know. Didn't try it. Maybe (I hope so) it also works with more than one plugin binary. |
It should be possible to load multiple binaries, otherwise that would be to difficult for 99% of our users to run such plugins and no-one would really share a helpful plugin, resulting in the feature not being used a lot. In general I am still not 100% happy with the addon / plugin mechanisms we have atm:
Some notes of my thoughts on the plugin topic (no concrete ideas / directions yet): We had a look at https://github.com/knqyf263/go-plugin some time ago, there seems to be sth similar in istio: https://istio.io/latest/docs/reference/config/proxy_extensions/wasm-plugin |
No. This affefcts Go's internal plugins system. This one uses RPC and as long as this does not change there should be no incompatibiltiy. |
|
Tested it, it is working with both log and forge addon configured. So no problem there. Also added some more docs. What we need to think about is where we put the user docs for addons as that's quite an advanced feature. Right now it was below the forges but that doesn't fit anymore after this. |
|
Surge PR preview deployment was removed |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #5507 +/- ##
==========================================
- Coverage 21.30% 21.22% -0.08%
==========================================
Files 420 423 +3
Lines 38163 38280 +117
==========================================
- Hits 8130 8125 -5
- Misses 29280 29402 +122
Partials 753 753 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
I would move it to Configuration > Addons |
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
provide a more flexible approach to #5482
Works just like the forge addons.