Add --limit 0 flag to bypass default 50 result limit in beads queries#257
Add --limit 0 flag to bypass default 50 result limit in beads queries#257
Conversation
…imit The beads CLI tools (bd/br) have a default limit of 50 results when listing tasks. This caused epics with more than 50 tasks to have their tasks truncated, making many tasks invisible in the TUI. This fix adds --limit 0 to all list commands across the three beads tracker plugins to retrieve all results regardless of the CLI default. Fixes #233 https://claude.ai/code/session_01BLc8LHLAkhKT32uxQnUYxb
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughThese changes add Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 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 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #257 +/- ##
==========================================
+ Coverage 45.49% 45.70% +0.20%
==========================================
Files 91 91
Lines 27442 27442
==========================================
+ Hits 12486 12542 +56
+ Misses 14956 14900 -56
🚀 New features to boost your workflow:
|
…fHTGH Add --limit 0 flag to bypass default 50 result limit in beads queries
Summary
This PR fixes an issue where epics with more than 50 tasks would have their tasks truncated due to the default result limit in the beads tracker tools. By adding the
--limit 0flag to alllistcommands, we ensure all results are returned regardless of count.Changes
--limit 0togetEpicChildrenIds()query--limit 0togetTasks()andgetEpics()queries--limit 0togetTasks(),getEpics(), and epic children queries--limit 0is included in command arguments, and added new test cases to explicitly verify the flag is used to bypass the default 50 result limitImplementation Details
The
--limit 0flag is a standard way to disable result limits in the beads tools (bothbdandbr). Without this flag, queries default to returning only 50 results, which causes data loss for large epics. This fix ensures complete data retrieval across all tracker operations.Fixes: #233
https://claude.ai/code/session_01BLc8LHLAkhKT32uxQnUYxb
Summary by CodeRabbit
Release Notes