Skip to content

Conversation

@junngo
Copy link
Contributor

@junngo junngo commented Jan 12, 2026

I split this PR for TryDataRemoval out of #9136.
I added a brief comment in __attempt_remove to explain the intent without going into too much detail.
If more context would be helpful, please feel free to let me know. And of course, if anything needs to be changed, I’m happy to update it.

Copy link
Collaborator

@gmierz gmierz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for splitting this up @junngo! Looks good to me now. I've tested it out locally and everything works as expected. Just a small nit below.

),
del_replicate AS (
DELETE FROM performance_datum_replicate r1
WHERE r1.performance_datum_id IN (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: It would be good to explain this WHERE condition in the comment above. At first glance, it looks like it's redundant since we do a similar select query above for target_datum.

@junngo junngo force-pushed the improve-cycle-data-try branch from 5248bb0 to 50a8b87 Compare January 12, 2026 16:48
@gmierz gmierz merged commit f123e5e into mozilla:master Jan 12, 2026
6 checks passed
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.

2 participants