Skip to content

Conversation

@jmgasper
Copy link
Contributor

@jmgasper jmgasper commented Nov 6, 2025

Reported via Slack

ON tl.challenge_id = bc.id
LEFT JOIN group_list gl
ON gl.challenge_id = bc.id
LEFT JOIN LATERAL (
Copy link

Choose a reason for hiding this comment

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

[⚠️ correctness]
The new lateral join for latest_actual_end_date uses MAX(cp."actualEndDate") without any additional filtering or ordering. Ensure that actualEndDate is always populated correctly and that using MAX will consistently yield the correct completed_date. Consider if additional criteria are needed to ensure the correct phase is selected.

@jmgasper jmgasper merged commit 29ed6a9 into master Nov 6, 2025
6 of 7 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