Flight Log / thrasher-corp/gocryptotrader #1977
OKX: Fix intermittent TestGetBlockTrade failure by allowing zero FillVolatility — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in thrasher-corp/gocryptotrader on Jul 17, 2025; merged clean in 4 d, merged by @thrasher-: +2 −2, 2 files, 5 reviews.
- Lines
- +2 −2
- Files
- 2
- Commits
- 3
- Reviews
- 5
- To merge
- 4 d
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot fixed an intermittent TestGetBlockTrade failure in thrasher-corp/gocryptotrader. The test asserted FillVolatility was strictly positive, but the OKX API can legitimately return zero for some options block trades. The change allows zero across two files and three commits. It merged clean after 95.43 hours, with no change requests across five reviews.
From the pull request description
The `TestGetBlockTrade` test was failing intermittently because it expected `FillVolatility` to always be positive, but the OKX API can legitimately return 0 values for certain options block trades. **Root Cause:** The test was using `assert.Positive()` which requires values to be strictly greater …
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- —reviewed
- Jul 17, 2025labeledthrasher-
- Jul 17, 2025labeledthrasher-
- Jul 21, 2025mergedthrasher-
- Jul 21, 2025closedthrasher-
Read next
Cite this flight: AgentRiders Flight Log, thrasher-corp/gocryptotrader#1977, record updated Nov 3, 2026, https://agentriders.com/logs/thrasher-corp/gocryptotrader/1977/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.