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

openwisp / openwisp-radius / 26543937000
97%

Build:
DEFAULT BRANCH: master
Ran 27 May 2026 11:11PM UTC
Jobs 1
Files 88
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 May 2026 11:04PM UTC coverage: 97.42%. Remained the same
26543937000

push

github

web-flow
[chores:fix] Prevented dangling relations from breaking radius migrations

Historical databases can contain dangling relations in RegisteredUser
and OrganizationUser rows. The RegisteredUser UUID and multitenant
migration helpers assumed these foreign keys were always valid and
could fail during upgrades when copying or backfilling data.

This bug was observed as a foreign key violation while inserting rows
into openwisp_radius_registereduser during the 0045/0046 migration
chain because a copied RegisteredUser.user_id no longer existed in
openwisp_users_user. The same class of issue could also affect
OrganizationUser-based backfills when a membership pointed to a missing
user or organization.

This change filters invalid RegisteredUser and OrganizationUser rows
before reusing their foreign keys in migration helpers, preserving the
existing behavior for valid data while safely skipping broken legacy
references. Focused regression tests were added to cover dangling
RegisteredUser.user_id, dangling OrganizationUser.user_id and dangling
OrganizationUser.organization_id cases.

4342 of 4457 relevant lines covered (97.42%)

10.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python- - 26543937000.1 27 May 2026 11:11PM UTC 88
97.42
GitHub Action Run
Source Files on build 26543937000
  • Tree
  • List 88
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26543937000
  • 40509d3e on github
  • Prev Build on master (#26530361018)
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