Commit Graph

1 Commits

Author SHA1 Message Date
OfficialAbhinavSingh bda63b9b30 fix: don't rescale computed OpenCode/OpenCodeGo usage percent below 1%
OpenCode and OpenCodeGo parseWindow apply a fraction heuristic
(if percent <= 1 { percent *= 100 }) meant for a direct percent field
that may arrive as a 0...1 fraction. It also ran on the computed
used/limit percent, which is already 0...100 - so an account at or below
1% used (e.g. used=1, limit=100 -> 1.0) was rescaled to 100%, a false
quota-exhausted reading. Gate the heuristic behind percentIsDirect so it
only touches the direct field. Follow-up to #2255/#2265/#2293.
2026-07-19 14:44:13 +01:00