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

archetech / archon / 42420166655
95%

Build:
DEFAULT BRANCH: main
Ran 07 Nov 2026 10:32PM UTC
Jobs 1
Files 175
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

07 Nov 2026 10:20PM UTC coverage: 73.091% (+0.1%) from 72.979%
42420166655

push

github

web-flow
fix(keymaster): protect Lightning funds when removing a wallet or identity (#1548)

* fix(keymaster): protect Lightning funds when removing a wallet or identity

removeLightning, removeId and fixWallet deleted an identity's Lightning keys
unchecked, though they are the only way to reach its funds and the recovery
phrase cannot recreate them. Removal also left the #lightning service and the
node's directory entry in place, so payments could keep landing in a wallet
nobody could spend from.

removeLightning now removes the wallet on this node only once its balance reads
exactly zero and it has been unpublished; otherwise it raises
LightningStateError and keeps the keys. An unreadable balance or a failed
unpublish is a refusal, not a zero. force discards every wallet the identity
holds and only tries to unpublish, so removal still works with the node
unreachable. removeId refuses, and fixWallet keeps, any identity holding
Lightning keys on any node.

Both Keymasters, REST routes, clients, CLIs and the MCP tool take force. The
wallet and demo client views ask before discarding after a refusal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0168qihPEAixRXFC88BShBFd

* fix(wallet-ui): match Lightning refusals without the regex s flag

The browser extension compiles the shared wallet UI against a target older
than es2018, which rejects the flag. Match across newlines with [\s\S] instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0168qihPEAixRXFC88BShBFd

* fix(keymaster): don't take a rejected update or missing balance as success

The LNbits adapter read a reply without a balance as zero, so a malformed reply
could pass the removal guard. It now raises, and Keymaster refuses unforced.

A DID update rejected with false was ignored, so unforced removal could delete
the keys with the #lightning service still published. Unpublishing and
publishi... (continued)

5169 of 7977 branches covered (64.8%)

Branch coverage included in aggregate %.

67 of 68 new or added lines in 6 files covered. (98.53%)

13263 of 17241 relevant lines covered (76.93%)

13281.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
34.69
6.83% packages/wallet-ui/src/components/LightningTab.tsx
Jobs
ID Job ID Ran Files Coverage
1 42420166655.1 07 Nov 2026 10:32PM UTC 175
73.09
GitHub Action Run
Source Files on build 42420166655
  • Tree
  • List 175
  • Changed 7
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42420166655
  • e1f68b58 on github
  • Prev Build on main (#42419033778)
  • Next Build on main (#42422584026)
  • Delete
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