feat: temporarily disable Twitter/X source#8
Open
4ndreello wants to merge 1 commit into
Open
Conversation
- Remove Twitter from SmartMix fetch/enrich/rank/interleave/persist pipeline - Mark Twitter as disabled in FeedService source status - Fix TwitterService mock in test (arrow function broke constructor)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Desabilita temporariamente o Twitter/X do feed por instabilidade da API/fonte.
Mudanças
Como reativar
Basta restaurar as linhas removidas em e o item em de . O serviço e seus testes permanecem intactos.
Verificações
�[1m�[46m RUN �[49m�[22m �[36mv4.0.15 �[39m�[90m/home/andreello/Desktop/dev/tech-news-api�[39m
�[90mstdout�[2m | src/services/ranking.service.test.ts�[2m > �[22m�[2mRankingService�[2m > �[22m�[2mshould penalize posts with 0 comments
�[22m�[39m{ scoreWithComments: �[33m152�[39m, scoreNoComments: �[33m25�[39m }
�[90mstdout�[2m | src/services/ranking.service.test.ts�[2m > �[22m�[2mRankingService�[2m > �[22m�[2mshould favor older posts with engagement over new posts with zero engagement
�[22m�[39m{ oldScore: �[33m32�[39m, newScore: �[33m2�[39m }
�[32m✓�[39m src/services/ranking.service.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 6�[2mms�[22m�[39m
�[32m✓�[39m src/services/twitter.service.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 5�[2mms�[22m�[39m
�[2m Test Files �[22m �[1m�[32m2 passed�[39m�[22m�[90m (2)�[39m
�[2m Tests �[22m �[1m�[32m6 passed�[39m�[22m�[90m (6)�[39m
�[2m Start at �[22m 17:27:17
�[2m Duration �[22m 329ms�[2m (transform 152ms, setup 0ms, import 316ms, tests 11ms, environment 0ms)�[22m passa