Repository navigation
Fix Qwen weekly-only usage label - #534
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughQwen Cloud usage conversion now uses the provider’s configured ChangesQwen Cloud primary usage labels
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to Weekly-only plans now display the configured Weekly label, while five-hour plans retain their existing label behavior. No current merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
|
Thermo-nuclear code-quality review complete. No blocking structural regression found: this change stays in the provider snapshot mapping, does not add a new abstraction layer or scattered feature flag, and the provider file was already above the 1,000-line threshold before this PR. P2 — centralize the The focused tests and existing provider architecture otherwise give this small change a clean shape. |
185d70d to
ede35c4
Compare
Fixes #531
Summary
Weekly-only Qwen Cloud plans now carry an explicit
Weeklyprimary label when their weekly window is promoted to the primary usage window. Normal plans that expose a 5-hour window keep the existing5-hourlabel.The fix stays in the provider snapshot contract, so the existing bridge, CLI, and desktop surfaces use the corrected label without UI changes.
Validation
cargo fmt --all -- --checkcargo test --manifest-path rust/Cargo.toml qwencloud(9 passed)cargo clippy --manifest-path rust/Cargo.toml --all-targets -- -D warningsSummary by CodeRabbit
Refactor
Tests