[codex] Fix quota notification threshold selection#381
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ 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 |
|
☑️ Quality Gate passed Issues Measures |
Summary
Root cause
At 100% usage the billing job attempted the 80%, 90%, and 100% base notifications in the same pass, which could surface a misleading 90% subject even when usage was already at the quota.
Validation
GRADLE_OPTS='-Xmx2g -XX:MaxMetaspaceSize=768m' ./gradlew --no-daemon :test --tests com.moneat.services.BillingBackgroundServiceTest -Dkotlin.compiler.execution.strategy=in-processgit diff --check