ted
(Ted Johansson)
Octobre 15, 2025, 7:27
5
Merci pour le rapport, @RBoy !
Il y a eu un changement majeur dans la gemme Faraday qui a été mise à jour dans le cadre de cette version. Cela n’a pas été détecté par nos tests automatisés.
Une correction pour le problème vient d’être fusionnée ici :
main ← fix/twitter-auth-health-check
opened 07:11AM - 15 Oct 25 UTC
### What is the problem?
Faraday [updated their authentication/authorization … middleware in version 2](https://github.com/lostisland/faraday/pull/1306), which was a breaking change for the Twitter auth health check.
### Why didn't we catch it?
The test was manually mocking and stubbing the individual Faraday objects, so the relevant code path wasn't exercised by our tests.
### How does this fix it?
- Update the test to use `stub_request` instead. (This correctly catches the deprecated method error.)
- Update the health check to use the new middleware.
5 « J'aime »