Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Ratelimit on /api/count returns wrong bot ID in production #16
This bug is only reproducible in the production test suite.
When making multiple valid requests in quick succession to the /api/count endpoint, the ratelimit response is returned as expected.
However, the bot id contained within that response does not match the bot id the request was sent as.
I really have no idea where this failure is coming from, it might be the app itself, but I would expect to then be able to reproduce this in staging or development -- perhaps its related to the load on the site. This could also be some form of caching issue, though Cloudflare is set to never cache API requests and IIS should not be caching anything at all.
Steps to reproduce
The ratelimit response should have the correct bot id.
Logs or Screenshots