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

stacklok / minder / 8184513452 / 1
53%
main: 53%

Build:
DEFAULT BRANCH: main
Ran 07 Mar 2024 07:37AM UTC
Files 186
Run time 3s
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 Mar 2024 07:33AM UTC coverage: 39.677% (-0.2%) from 39.842%
8184513452.1

push

github

web-flow
Move projects to be self-contained trees (#2275)

* Move projects to be self-contained trees

This moves the projects users are enrolled to be self-contained trees.
This thus removes the need for organizations as a whole. We'll slowly
start moving towards removing this concept from the code-base.

For now, this removes the organization-related queries and makes users
point to their project instead.

User deletion is now handled by figuring out the projects a user had
grants in and removing the projects if there's no more tuples in them.

Actual removal of foregin key constraints for organizations will happen
in a subsequent PR.

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

* Remove organization link in users table

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

* Add unit test for DeleteUser

This also actually removes the user

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

---------

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

6688 of 16856 relevant lines covered (39.68%)

36.13 hits per line

Source Files on job 8184513452.1
  • Tree
  • List 0
  • Changed 12
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8184513452
  • a095bc68 on github
  • Prev Job for on main (#8178626916.1)
  • Next Job for on main (#8184520757.1)
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