How do the limitations of AI Code Fix work?

Template for a good new topic, formatted with Markdown:

  • ALM used: Bitbucket Cloud
  • CI system used: Bitbucket Cloud
  • Scanner command used when applicable (private details masked): latest
  • Languages of the repository: Java
  • Error observed: N/A

I’m unsure about how many times I can use the AI ​​Code Fix in my SonarQube instance. Is it unlimited? I’ve searched for information on this, but I haven’t been able to find the number of times I can use it or a limitation about code lines.

Hi,

There are limits, but the docs are a bit coy about what exactly they are (and my internal probing hasn’t yielded anything useful). I can tell you they reset at the first of the month, though.

 
:woman_shrugging:
Ann

Hi again,

I’ve since learned that there is a limit - to prevent abuse - but it’s pretty high, and we haven’t seen anyone hit it yet. (That’s not a challenge! :sweat_smile:)

 
HTH,
Ann

Hello Ann,

Thanks for the information! It really helped me understand better how it works. And don’t worry — I won’t try to hit the limit just to test it. :grinning_face_with_smiling_eyes:

Best,
Pedro