Skip to content

fix(cj): reject invalid commission date windows - #956

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
evanbrown3000:fix/cj-reject-invalid-stats-dates-20260812
Aug 12, 2026
Merged

fix(cj): reject invalid commission date windows#956
ralyodio merged 1 commit into
profullstack:masterfrom
evanbrown3000:fix/cj-reject-invalid-stats-dates-20260812

Conversation

@evanbrown3000

Copy link
Copy Markdown
Contributor

Fixes a CJ stats failure path where malformed or reversed from/to values bypassed the local range guard and were sent to the provider.

The adapter now rejects unparseable dates and to < from before any network request. A regression test covers both cases and asserts fetch is untouched.

Local git diff --check passes. The current host does not expose pnpm, so I am relying on the repository CI for the package test rather than installing another runtime.

This PR is submitted for the open uGig sh1pt bug-fix bounty.

@ralyodio
ralyodio merged commit dc7d406 into profullstack:master Aug 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants