Skip to content

Conversation

@nstehr
Copy link
Contributor

@nstehr nstehr commented Jun 12, 2025

Description

This builds on #84. It adds the functionality to allow for the download and installation of a custom processor using the ProcessorURL field.

The processor will be saved to the volume used by the conduit pod.

Right now, when the pod is recreated it will download the processor again. There is currently no checking of checksums, versions, etc if any are saved and will overwrite the existing processor, given the name being the same.

Fixes # (issue)
#10

Quick checks:

  • I have followed the Code Guidelines.
  • There is no other pull request for the same update/change.
  • I have written unit tests.
  • I have made sure that the PR is of reasonable size and can be easily reviewed.

@nstehr nstehr force-pushed the ns/wasm_processors branch from 654e0d2 to 2e056c1 Compare June 13, 2025 14:28
@nstehr nstehr force-pushed the ns/wasm_processors branch from 2e056c1 to 73327f0 Compare June 13, 2025 16:00
@nstehr nstehr marked this pull request as ready for review June 20, 2025 14:12
@nstehr nstehr requested a review from a team as a code owner June 20, 2025 14:12
}
// handles standalone processors that need WASM downloaded
for _, p := range allProcessors {
if !strings.HasPrefix(p.Plugin, "builtin") && p.ProcessorURL != "" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All standalone processors have builtin prefixed on the front?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I could tell..yes. This code was a refactor of the existing logic, which did the check the same way.

@nstehr nstehr merged commit 3fb45c3 into main Jun 20, 2025
4 checks passed
@nstehr nstehr deleted the ns/wasm_processors branch June 20, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants