Skip to content

Conversation

@Elkasitu
Copy link
Contributor

None of the sync manager concrete models introduce any schema changes, instead the only difference in implementation is Python-based, this makes these models prime candidates for Proxy models, i.e. models that share the same table but differ in python implementation.

The reasoning is so that it's easier to query and expose sync manager data through e.g. a single API endpoint instead of many endpoints or a very custom and complex endpoint.

This commit also fixes a nasty but easy to miss bug WRT the relationship between sync managers and the respective entity that they sync: if a sync manager row was to be deleted, the related Flaw/Tracker would be deleted on cascade.

This PR unblocks #1145

None of the sync manager concrete models introduce any schema changes,
instead the only difference in implementation is Python-based, this
makes these models prime candidates for Proxy models, i.e. models that
share the same table but differ in python implementation.

The reasoning is so that it's easier to query and expose sync manager
data through e.g. a single API endpoint instead of many endpoints or a
very custom and complex endpoint.

This commit also fixes a nasty but easy to miss bug WRT the relationship
between sync managers and the respective entity that they sync: if a
sync manager row was to be deleted, the related Flaw/Tracker would be
deleted on cascade.
@Elkasitu Elkasitu added the technical For PRs that introduce changes not worthy of a CHANGELOG entry label Dec 22, 2025
@Elkasitu Elkasitu marked this pull request as ready for review December 22, 2025 09:33
@Elkasitu Elkasitu requested a review from a team December 22, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

technical For PRs that introduce changes not worthy of a CHANGELOG entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants