Skip to content

CTM-332: handle mixed-but-not-correctable attribute statuses#3553

Merged
davidangb merged 2 commits intodevelopfrom
da/CTM-332_mixedCorrections
Feb 9, 2026
Merged

CTM-332: handle mixed-but-not-correctable attribute statuses#3553
davidangb merged 2 commits intodevelopfrom
da/CTM-332_mixedCorrections

Conversation

@davidangb
Copy link
Contributor

@davidangb davidangb commented Feb 9, 2026

Ticket: CTM-332

For Quicksilver corrections, add a new MixedButNotCorrectable entity status to differentiate from Mixed.

  • 'MixedButNotCorrectable': attributes in this entity have multiple distinct statuses, but none of them qualify to be processed as a correction
  • 'Mixed': attributes in this entity have multiple distinct statuses, and at least one of those attributes is of status Reordered and thus should be processed as a correction

This resolves an issue introduced in #3552, in which the monitor processes an entity of type 'Mixed, finds no correctable attributes in it, and moves on ... but in its next loop it finds the same entity again. Now, it will mark that entity as MixedButNotCorrectable` so it won't keep re-processing it.

My comment in #3552 of "I've also removed ATTRIBUTE_CORRECTIONS ... we never actually needed that;" was a lie. We did need it; it prevented this loop. But I think this PR is a cleaner and more performant way to handle it.

@davidangb davidangb marked this pull request as ready for review February 9, 2026 17:31
@davidangb davidangb requested a review from a team as a code owner February 9, 2026 17:31
@davidangb davidangb requested review from calypsomatic, rjohanek and snf2ye and removed request for a team and rjohanek February 9, 2026 17:31
@davidangb davidangb merged commit d6b9d7d into develop Feb 9, 2026
25 checks passed
@davidangb davidangb deleted the da/CTM-332_mixedCorrections branch February 9, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants