fix(benthos): revert Redpanda Connect upgrade - #520
Conversation
WalkthroughThe Benthos deployment now uses the ChangesBenthos image migration
Estimated code review effort: 2 (Simple) | ~5 minutes Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Approve — automated reviewThe patch cleanly restores the previously working Benthos image, executable, and matching E2E expectations while consistently updating the Helm chart versions and lockfile. No findings. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@internal/resources/registries/image.go`:
- Line 14: Update the public ECR image example comment near GetBenthosImage to
include the generated :<version> tag, documenting a pinned reference rather than
an implicit latest image.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 2033d5ef-44ea-4884-997f-bd7674e9cf3b
⛔ Files ignored due to path filters (5)
docs/09-Configuration reference/settings.catalog.jsonis excluded by!**/*.jsonhelm/crds/Chart.yamlis excluded by!**/*.yamlhelm/operator/Chart.lockis excluded by!**/*.lock,!**/*.lockhelm/operator/Chart.yamlis excluded by!**/*.yamltests/e2e/chainsaw/23-benthos-module/chainsaw-test.yamlis excluded by!**/*.yaml
📒 Files selected for processing (2)
internal/resources/benthos/controller.gointernal/resources/registries/image.go
| // Format Accepted: | ||
| // ENDPOINT/ORGANIZATION/REPOSITORY:VERSION | ||
| // ghcr.io/<organization>/<repository>:<version> | ||
| // public.ecr.aws/<organization>/jeffail/benthos |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Document the public ECR tag format.
Line 14 omits :<version>, but GetBenthosImage generates a tagged reference. Update the example to avoid suggesting an unpinned latest image.
Proposed fix
-// public.ecr.aws/<organization>/jeffail/benthos
+// public.ecr.aws/<organization>/jeffail/benthos:<version>📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| // public.ecr.aws/<organization>/jeffail/benthos | |
| // public.ecr.aws/<organization>/jeffail/benthos:<version> |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@internal/resources/registries/image.go` at line 14, Update the public ECR
image example comment near GetBenthosImage to include the generated :<version>
tag, documenting a pinned reference rather than an implicit latest image.
Summary
v4.23.1-es/benthoscommand and the corresponding E2E expectationsoperatorandoperator-crdsHelm charts to3.13.2and regenerateChart.lockContext
Redpanda Connect
4.93.0rejects the existing NATS JetStream input used withOneStreamByStackbecause the rendered configuration sets bothqueueanddurable. This leaves the new Benthos pods inCrashLoopBackOffduring the rollout.Reverting the upgrade restores the last known-good runtime while keeping the existing NATS consumer semantics unchanged.
Validation
just helm-validateKUBEBUILDER_ASSETS=$(setup-envtest use 1.32.0 -p path) ginkgo --focus='BenthosController' ./internal/testsgit diff --checkjust pre-commitwas also attempted. The host run was blocked because the installedgolangci-lintwas built with Go 1.25 while the repository targets Go 1.26.1; the Nix run reached lint before being interrupted for immediate publication.