No analysis on code since about 4 months ago

Thank you, a quick google search from that files ignored line led me to this thread: All files excluded by the scm ignore settings - #4 by cobrabr
And “Disable the SCM Sensor” set to true did solve the issue, although I’m not sure what side effects this will have, since false is the SonarQube cloud’s default.

Still leaves the question of why it stopped working, since I didn’t change this configuration and it was on the default of false.
My negation pattern on the gitignore is indeed a bit out of the usual but it works fine with git itself, similar to someone else on that thread.
In the thread linked, even though it’s an old one there is also a comment from November 2024 with a similar problem, so some investigation by sonar might be needed.

Another thread that might be relevant also from Nov 2024: All files excluded by SCM ignore settings

Either way, thank you for the help, it led me in the right direction, for me personally the SCM sensor fix should be good enough.