Conversation
…use fixture - Rename unprofessional "sexy" test data to neutral names - Remove redundant @pytest.mark.asyncio decorators (asyncio_mode=auto) - Convert manual setup/teardown to pytest_asyncio fixture - Add edge case tests: nonexistent topic, topic_id=0, topic+search filter
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 45 minutes and 44 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #132 +/- ##
=======================================
Coverage 94.46% 94.46%
=======================================
Files 21 21
Lines 5941 5941
=======================================
Hits 5612 5612
Misses 329 329
🚀 New features to boost your workflow:
|
|
🐳 Dev images published!
The dev/test instance will pick up these changes automatically (Portainer GitOps). To test locally: docker pull drumsergio/telegram-archive:dev
docker pull drumsergio/telegram-archive-viewer:dev |
Summary
Follow-up to #122 (General topic coalesce fix by @tondeaf). Addresses all review swarm findings:
@pytest.mark.asyncio— project usesasyncio_mode = "auto"in pyproject.toml_make_adapter_with_messages()+ try/finally replaced with@pytest_asyncio.fixtureyielding(adapter, chat_id)with automatic engine disposaltest_nonexistent_topic_returns_empty— topic_id=999 returns[]test_topic_zero_returns_empty— topic_id=0 must not match NULL rows via coalescetest_topic_filter_combined_with_search— both filters apply simultaneouslyTest plan
ruff check+ruff formatclean