fix: add timeouts to Wikidata requests#13757
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughBoth Wikidata component modules ( ChangesWikidata Bounded Timeout
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 7 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (7 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Fixes #13655
Testing
uv run --group dev pytest -q src/backend/tests/unit/components/search/test_wikidata_api.pyuv run ruff format --check src/lfx/src/lfx/components/tools/wikidata_api.py src/lfx/src/lfx/components/wikipedia/wikidata.py src/backend/tests/unit/components/search/test_wikidata_api.pyuv run ruff check src/lfx/src/lfx/components/tools/wikidata_api.py src/lfx/src/lfx/components/wikipedia/wikidata.py src/backend/tests/unit/components/search/test_wikidata_api.pygit diff --checkSummary by CodeRabbit
Bug Fixes
Tests