-
Notifications
You must be signed in to change notification settings - Fork 49.1k
feat(Redis Node): Add list length (LLEN) operation #21420
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
base: master
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 issue found across 2 files
Prompt for AI agents (all 1 issues)
Understand the root cause of the following 1 issues and fix them.
<file name="packages/nodes-base/nodes/Redis/Redis.node.ts">
<violation number="1" location="packages/nodes-base/nodes/Redis/Redis.node.ts:614">
The new LLEN branch returns a fresh object without preserving `pairedItem`, so the output item is no longer linked to its input and breaks downstream item pairing. Please include the paired reference when pushing the result.</violation>
</file>
React with 👍 or 👎 to teach cubic. Mention @cubic-dev-ai to give feedback, ask questions, or re-run the review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
E2E Tests: n8n tests failed after 8m 37.8s Run Details
Groups
This message was posted automatically by
currents.dev | Integration Settings
|
Summary
This PR adds a new List Length (LLEN) operation to the Redis node, allowing users to retrieve the length of a Redis list directly from n8n workflows.
LLENcommandHow to test:
bull:main:q){ "bull:main:q": 42 }Example use case:
Monitor queue sizes in Bull/BullMQ workflows by checking Redis list lengths (e.g.,
LLEN bull:main:q).Related Linear tickets, Github issues, and Community forum posts
Review / Merge checklist
release/backport(if the PR is an urgent fix that needs to be backported)