Stop stream if there are no payments from Gateway
Stop stream on the Orchestrator side if there are not enough payments from Gateway.
We fixed a couple of bugs and the "insufficient balance" does not happen anymore, so we should should tear down the stream if the payments are not coming from Gateway.
Codecov Report
Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.
Project coverage is 31.76625%. Comparing base (
798060e) to head (f433753). Report is 1 commits behind head on master.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| server/ai_http.go | 0.00000% | 6 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## master #3623 +/- ##
===================================================
+ Coverage 31.75089% 31.76625% +0.01536%
===================================================
Files 156 156
Lines 47353 47349 -4
===================================================
+ Hits 15035 15041 +6
+ Misses 31436 31427 -9
+ Partials 882 881 -1
| Files with missing lines | Coverage Δ | |
|---|---|---|
| server/ai_http.go | 9.66767% <0.00000%> (+0.05806%) |
:arrow_up: |
... and 2 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 798060e...f433753. Read the comment docs.
| Files with missing lines | Coverage Δ | |
|---|---|---|
| server/ai_http.go | 9.66767% <0.00000%> (+0.05806%) |
:arrow_up: |
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
I'll wait 1 week before merging this PR, because I noticed a few single cases with "insufficient balance". It was for high-resolution and the balance was at the borderline, so I'll increase slightly the init payment (the buffer) and wait 1 week to see if it still occurs.