Skip to content

ai/live: Remote signer updates#3870

Merged
j0sh merged 6 commits intomasterfrom
ja/signer-updates
Feb 11, 2026
Merged

ai/live: Remote signer updates#3870
j0sh merged 6 commits intomasterfrom
ja/signer-updates

Conversation

@j0sh
Copy link
Collaborator

@j0sh j0sh commented Feb 10, 2026

ai/live: Special-case zero NumTickets
Per the code: if the balance is already large enough to cover the
required minimum credit (fee with ticket EV as the floor) then
the code currently does not generate a ticket.

Checking for this case prevents us from creating an empty-ticket
payment. While those are not a huge problem for the orchestrators,
it still leads to undesirable noise across the network.

ai/live: Check for a required ManifestID
Help out SDK implementers in case they miss this, since the errors
are non-obvious: the orchestrator runs out of balance within a few
minutes, even if payments are being sent regularly.

ai/live: Simplify state in remote signer unit tests.
Compute the signature for test cases automatically if one was not
provided as part of the test. Saves a bunch of boilerplate.

j0sh added 2 commits February 9, 2026 21:46
Per the code: if the balance is already large enough to cover the
required minimum credit (fee with ticket EV as the floor) then
the code currently does not generate a ticket.

Checking for this case prevents us from creating an empty-ticket
payment. While those are not a huge problem for the orchestrators,
it still leads to undesirable noise across the network.
Help out SDK implementers in case they miss this, since the errors
are non-obvious: the orchestrator runs out of balance within a few
minutes, even if payments are being sent regularly.
@j0sh j0sh requested review from eliteprox and rickstaa February 10, 2026 05:48
@github-actions github-actions bot added the go Pull requests that update Go code label Feb 10, 2026
Compute the signature for test cases automatically if one was not
provided as part of the test. Saves a bunch of boilerplate.
Copy link
Collaborator

@eliteprox eliteprox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes lgtm!

@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.55875%. Comparing base (d654ac5) to head (0426389).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                 @@
##              master       #3870         +/-   ##
===================================================
+ Coverage   32.53778%   32.55875%   +0.02097%     
===================================================
  Files            170         170                 
  Lines          41690       41700         +10     
===================================================
+ Hits           13565       13577         +12     
+ Misses         27103       27097          -6     
- Partials        1022        1026          +4     
Files with missing lines Coverage Δ
server/remote_signer.go 62.80702% <100.00000%> (+1.35247%) ⬆️

... and 3 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 data
Powered by Codecov. Last update d654ac5...0426389. Read the comment docs.

Files with missing lines Coverage Δ
server/remote_signer.go 62.80702% <100.00000%> (+1.35247%) ⬆️

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@j0sh j0sh enabled auto-merge (squash) February 11, 2026 14:55
@j0sh j0sh merged commit cd20825 into master Feb 11, 2026
15 of 16 checks passed
@j0sh j0sh deleted the ja/signer-updates branch February 11, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants