[chores:fix] Fixed collection of metrics via hex UUID path#821
Conversation
The recent change to url patterns introduced a regression. A similar fix to the same issue was done recently to OpenWISP Controller, the best solution is to reuse the same solution also in OpenWISP Monitoring.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📜 Recent review details⏰ Context from checks skipped due to timeout. (13)
🧰 Additional context used📓 Path-based instructions (2){**/*.sh,**/*.{js,ts,tsx,jsx},**/*.py,**/*.rb,**/*.go,**/*.java,**/*.cs,**/*.cpp,**/*.c}📄 CodeRabbit inference engine (Custom checks)
Files:
**/*.py📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (3)📚 Learning: 2026-02-21T18:44:28.852ZApplied to files:
📚 Learning: 2026-03-14T18:39:04.626ZApplied to files:
📚 Learning: 2026-03-14T18:39:04.626ZApplied to files:
🔇 Additional comments (1)
📝 WalkthroughWalkthroughThe device metrics API URL pattern in Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
🚥 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 |
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (2 files)
NotesThe change correctly addresses the regression from #816 by switching the A focused regression test ( Previous Review Summary (commit b784329)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit b784329)Status: No Issues Found | Recommendation: Merge Files Reviewed (2 files)
NotesThe change correctly addresses the regression from #816 by switching the A focused regression test ( Reviewed by glm-5.2-20260616 · Input: 10.5K · Output: 659 · Cached: 61.1K |
pandafy
left a comment
There was a problem hiding this comment.
LGTM!
BTW, I didn't find any documentation for uuid_any in openwisp-controller.
It's not documented, we should not needed it outside of controller and monitoring, so it can remain for internal use only. |
Checklist
Reference to Existing Issue
Fixing regression introduced in #816.
Description of Changes
The recent change to url patterns introduced a regression. A similar fix to the same issue was done recently to OpenWISP Controller, the best solution is to reuse the same solution also in OpenWISP Monitoring.