Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 reviewScope: Findings (all valid, all small):
Verdict: no correctness or convention problems; fixing the three readability items now, behavior unchanged. |
|
Follow-up to the thermo-nuclear review: pushed bf8b80b "Address thermo review". Fixed: all three findings. Left: nothing. Validation on Rust 1.98.0: |
Summary
Antigravity quota-summary buckets now accept an explicit
windowfield. A non-emptywindowreplaces the bucketId/displayName cadence candidates entirely:weekly-> 10080 min,5h/session aliases -> 300 min, anything else -> no cadence. A blankwindowfalls back to the previous id/name inference. Weekly-only Starter groups stay visible without an invented 5-hour bucket (the existing informational "No active 5h session" primary placeholder is unchanged). The 0.64.1 invariant that the selected primary/secondary are removed fromextra_rate_windowsis preserved.Upstream reference
Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift(quotaCadenceCandidates,quotaBucketKind),AntigravityQuotaSummaryParser.swift(window: String?),Tests/CodexBarTests/AntigravityQuotaSourceParityTests.swift.Ported / Deferred
windowfield onQuotaSummaryBucketandbucket_kindprecedence inrust/src/providers/antigravity/quota_summary.rs.retrieveUserQuotaSummaryhalf (Windows has no Antigravity OAuth lane).Validation
cargo +1.98.0 fmt --all: cleancargo +1.98.0 clippy --workspace --all-targets -- -D warnings: passcargo +1.98.0 test -p codexbar antigravity -- --test-threads=4: 116 passed, 0 failed (4 new tests: explicit cadence for opaque ids, explicit window over legacy names incl.unknown, blank window fallback, weekly-only Starter)Affected areas
Rust backend, Antigravity provider only. No shared code, no new dependencies.
UI proof
Not applicable (window minutes only, existing rendering).