Skip to content

[Bug]: Crawl logs are not deleted when crawls are deleted #3109

@tw4l

Description

@tw4l

Browsertrix Version

v1.21.0-2793d2c

What did you expect to happen? What happened instead?

When crawls are deleted, I expect all of their related data to be deleted from the database.

Instead, crawl error and behavior logs appear to be left behind after deletion, ever since they were moved to a separate mongo collection.

Reproduction instructions

  1. Create a crawl that will generate error and/or behavior logs (e.g. a crawl with a custom behavior)
  2. Delete the crawl
  3. Verify the crawl logs are still present in the database

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