Skip to content

[Bug]: Background job db entries are not deleted when org is deleted #3110

@tw4l

Description

@tw4l

Browsertrix Version

v1.21.0-2793d2c

What did you expect to happen? What happened instead?

When an org is deleted, I would expect all database records for background jobs for that org to be deleted as well. Instead, they persist in the database.

In the previous check to ensure that all resources related to an org are deleted when an organization is deleted, we appear to have missed these.

Reproduction instructions

  1. Delete an org
  2. Check database and verify background job records for that org are still present

Screenshots / Video

No response

Environment

No response

Additional details

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

Implementing

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions