You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Usage history: test the thinning gap >= 0 check (#502 lens) #504
The gap >= 0 check in thinning has no test (apps/server/src/usage/UsageReadingsHistory.ts, thinning loop). Removing it keeps all tests green, and usage history: keep clock step-backs through thinning; test clock guards #502 now relies on it. The lens wrote a test that shows the risk: readings at day −31, the clock steps back to day −36 (that reading ages out), then readings resume at day −31 minus 20 minutes. Without the check, all 30 readings after the step are dropped, along with the break. Add that test (it must fail without the check). Same kind of gap as usage history: two clock-deletion guards have no test #38.
Activity
usage: test the thinning gap check; end a failure streak once its ret…
usage: test the thinning gap check; end a failure streak once its ret…
usage: test the thinning gap check; end a failure streak once its ret…
usage: test the thinning gap check; end a failure streak once its ret…