• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cameri / nostream / 45988228715
80%

Build:
DEFAULT BRANCH: main
Ran 27 Nov 2026 11:14AM UTC
Jobs 2
Files 351
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Nov 2026 11:10AM UTC coverage: 80.342% (+0.01%) from 80.331%
45988228715

push

github

web-flow
fix(peering): keep unconfirmed settlements in the retry set (#1259)

<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->


## Problem

A completed peering invoice whose settlement rolled back stays retryable
only while the processor keeps reporting COMPLETED. If the processor
later reports EXPIRED (or another non-completed status), the worker
writes that status and the invoice immediately drops out of
`findUnconfirmedPeeringInvoices`, even though `confirmed_at` is still
null.

## Fix

- Detect a completed peering invoice with `confirmedAt == null`.
- Do not overwrite its stored COMPLETED status with a downgraded
processor status.
- Keep the invoice in the retry set until settlement commits.
- Preserve normal status updates for pending and already-confirmed
invoices.

## Related Issue
<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an
issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps
to reproduce -->
<!--- Please link to the issue here: -->
Closes #1134

## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->

## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran
to -->
<!--- see how your change affects other areas of the code, etc. -->

## Screenshots (if appropriate):

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [ ] Non-functional change (docs, style, minor refactor)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)

## Checklist:
<!--- Go over all the following point... (continued)

6279 of 8437 branches covered (74.42%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

12681 of 15162 relevant lines covered (83.64%)

639.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Unit - 45988228715.1 27 Nov 2026 11:16AM UTC 351
78.35
GitHub Action Run
2 Integration - 45988228715.2 27 Nov 2026 11:14AM UTC 351
36.36
GitHub Action Run
Source Files on build 45988228715
  • Tree
  • List 351
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45988228715
  • fbe21a36 on github
  • Prev Build on main (#45890657749)
  • Next Build on main (#45990428360)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc