Skip to content

Conversation

@estebanreyl
Copy link

@estebanreyl estebanreyl commented Oct 14, 2025

I noticed while reviewing the code for this path (https://github.com/kedacore/keda/blob/e89626a16563735b8cc6211fbcbdc43e51d37d15/pkg/scalers/azure_queue_scaler.go), that I had originally misinterpreted how the visibleonly queue length strategy works. This PR tries to clarify the mistaken behavior by making it explicit that the count that has to be 32 or higher before falling back to the regular behavior is that of the visible messages not the queue overall.

Provide a description of what has been changed

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO)

Fixes #

I noticed while reviewing the code for this path (https://github.com/kedacore/keda/blob/e89626a16563735b8cc6211fbcbdc43e51d37d15/pkg/scalers/azure_queue_scaler.go), that I had originally misinterpreted how the visibleonly queue length strategy works. This PR tries to clarify the mistaken behavior by making it explicit that the count that has to be 32 or higher before falling back to the regular behavior is that of the visible messages not the queue overall.

Signed-off-by: Esteban Rey <[email protected]>
@estebanreyl estebanreyl requested a review from a team as a code owner October 14, 2025 01:57
@netlify
Copy link

netlify bot commented Oct 14, 2025

Deploy Preview for keda ready!

Name Link
🔨 Latest commit 6ce8f7f
🔍 Latest deploy log https://app.netlify.com/projects/keda/deploys/68edae1bf802310008247d45
😎 Deploy Preview https://deploy-preview-1642--keda.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

Thank you for your contribution! 🙏 We will review your PR as soon as possible.

While you are waiting, make sure to:

  • Add your contribution to all applicable KEDA versions
  • GitHub checks are passing
  • Is the DCO check failing? Here is how you can fix DCO issues

Learn more about:

@estebanreyl estebanreyl changed the title Clarify queueLengthStrategy description in docs Clarify queueLengthStrategy description in docs for Azure Queue Autoscaling Oct 14, 2025
Copy link
Member

@rickbrouwer rickbrouwer left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

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

Thanks for the clarification! Could you apply to other versions too?

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