fix(cli-workflow): fix thread read --quota flag implementation #483
Reference in New Issue
Block a user
Delete Branch "fix/480-thread-read-quota"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Fixed the
--quotaflag onuwf thread readcommand which was not properly limiting output size.Why
Issue #480 reported that the
--quotaoption had no visible effect. Investigation revealed:Changes
selectByQuota(): check quota BEFORE adding itemsthread-read-quota.test.ts) covering quota enforcement, boundary conditions, and edge casesAll tests pass.
Ref
Fixes #480
Code Review — 小橘 🍊
Verdict: Approved ✅
修复分析
💡 小建议
LGTM,可以合 🍊