fix: add missing settings fields required by action_classifier#93
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adds five missing configuration fields to the ChangesAction Classifier Configuration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
|
Hi @Devnil434, the CI failure on this PR is from pre-existing lint errors in services/memory/memory.py (undefined names Could you confirm if the gssoc:approved label needs to be added for scoring, or if the merge already counts? |
Fixes #92
What this PR does:
Adds 5 missing fields to the Settings class in libs/config/settings.py that action_classifier.py reads at module level. Without these fields, importing action_classifier raises an AttributeError immediately, which also breaks pipeline.py via cascade import.
Fields added:
Defaults justified by:
Tested:
Verified that after this fix, importing action_classifier no longer raises AttributeError:
(venv) PS C:\Users\ankit\OneDrive\Desktop\work\Projects\New folder\Eagle> python -c "from libs.config.settings import settings; print(settings.lingering_threshold_sec)"
5.0
Summary by CodeRabbit