test: add regression coverage for report-period guard boundary - #2254
Conversation
Adds a property-style test for saturating timestamp behavior on timed periods and a deterministic test confirming the AllTime window preserves the full history range. Note: main currently fails to compile (36 errors in quicklendx-contracts, unrelated to this change) — see issue comment for details. Verified via 'git stash' that main is broken independent of this diff.
|
@xtrial01 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Started work on this — tests are written and pushed in draft PR #2254, but I can't verify them because Confirmed via Most notable errors:
Given the commit history (#2136–#2143 landed in quick succession), this looks like it could be a merge/rebase issue across a few recent PRs rather than one bad commit. Flagging so it can get fixed, happy to help narrow it down further if useful. Full error log is in the draft PR description (#2254). |
Closes #2070
Adds two regression tests to test_analytics_consistency.rs:
Blocked on verification: main (3241a44) currently fails cargo check with 36 pre-existing, unrelated compile errors in quicklendx-contracts (duplicate QuickLendXError definitions, missing InvoiceLock/is_frozen/set_frozen, duplicate imports in idempotency.rs, etc.). Confirmed via git stash that this is not caused by this branch's diff. Opening as draft until main is fixed and I can confirm tests pass, clippy is clean, and the wasm build succeeds.
See issue comment for full error details.