Commit 58ada3e
fix: register components/pure and disable broken trigger factory
Import github.com/warpstreamlabs/bento/v4/public/components/pure in the
production binary so that bloblang/mapping processor types are registered
at runtime (previously only imported in test files via testmain_test.go).
Disable TriggerTypes() returning "bento" because the external plugin
adapter's TriggerFactories() method calls CreateModule instead of a
non-existent CreateTrigger RPC, causing a nil trigger registration failure
that prevents step.bento from loading. Triggers can be re-enabled once
the host adapter implements the CreateTrigger RPC.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 37ed192 commit 58ada3e
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | | - | |
| 70 | + | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
| |||
0 commit comments