Add test coverage for entity types that should not be tracked

Created on 14 March 2025, 29 days ago

Problem/Motivation

🐛 Entity Usage not respecting configured settings Active was a regression that made it through, the fix did not contain any test coverage. This seems like quite an important thing to cover so we don't regress again.

Proposed resolution

Add test coverage for entities being excluded from tracking when not included in track_enabled_target_entity_types

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇦🇺Australia acbramley

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @acbramley
  • 🇪🇸Spain marcoscano Barcelona, Spain

    Sounds good to me. 👍
    Clarifying the title though, since it was a bit misleading. The bug wasn't about the module tracking usage on types that were not set to, but it was collecting potential URL changes on all entities during presave, instead of collecting these URLs only on the ones that interest us (the ones marked as source). There was no functional bug, it was just a performance issue.

Production build 0.71.5 2024