Repository navigation
fix(quota): isolate estimates across plan changes for 0.9.4 - #30
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
套餐变化后,七天额度预估仍可能沿用旧套餐额度,或把本周期变更前后的消费混在一起计算。
保存服务端观测到的套餐变更边界,仅在同一已知套餐区间内参考上一周期。周期中途变更或百分比回退后,以新区间首个快照为基准计算消费与百分比增量,保留完整累计用量。重复推送及携带旧快照的晚到批次不回退套餐。旧快照不补写当前套餐,观测时间不冒充上游生效时间。版本更新为 0.9.4。
验证
刚发现套餐变化但尚无两个可比较的新采样点时,估值暂时未知。套餐标签未变化的额度调整无法保证即时识别。无界面布局变更。