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

KarpelesLab / libwallet / 24652194098
25%

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2026 06:47AM UTC
Jobs 1
Files 97
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

20 Apr 2026 06:38AM UTC coverage: 21.043% (-0.005%) from 21.048%
24652194098

push

github

MagicalTux
Account.Delete: cascade-remove linked Web3 ConnectedSite rows

Up through 0.3.17 deleting an account left a dangling
ConnectedSite row referencing the now-gone Account ID — the
TODO at the original delete site flagged it years ago.

Cascade synchronously, before the account row goes away, so
no orphan ever exists in the DB. Implemented via a minimal
stub struct in wltacct mapping the ConnectedSite table —
keeps wltacct → wltbase free of an import cycle (wltbase
already imports wltacct). Cascade failures are logged but
don't block the account delete: leaving the account behind
because of a stale ConnectedSite would be the worse outcome.

Transactions intentionally NOT cascaded — tx history can
outlive the account that originated it, by design.

New Account.Delete(env) public wrapper around the existing
unexported accountDelete so non-API callers (background
tasks, tests) can drive the same flow.

End-to-end test in wlttest covers: delete the owning account,
its ConnectedSite rows are gone, an unrelated ConnectedSite
is untouched (cascade is correctly scoped, not "delete
everything").

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

0 of 7 new or added lines in 1 file covered. (0.0%)

2494 of 11852 relevant lines covered (21.04%)

65.01 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
0.0
0.0% wltacct/account.go
Jobs
ID Job ID Ran Files Coverage
1 24652194098.1 20 Apr 2026 06:47AM UTC 97
21.04
GitHub Action Run
Source Files on build 24652194098
  • Tree
  • List 97
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24652194098
  • 84eec051 on github
  • Prev Build on master (#24651503887)
  • Next Build on master (#24653240982)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc