Skip to content

Conversation

@pahnin
Copy link
Contributor

@pahnin pahnin commented Jan 9, 2026

Problem

The /pacticipants/{name} endpoint was returning all deployed_versions records including those marked as undeployed (with undeployed_at timestamp set). This caused the pb:deployed-environments link to show historical deployment records rather than only currently active deployments.

Root Cause

DeployedVersionService.find_all_deployed_versions_for_pacticipant was not filtering by deployment status:

Solution

Added .currently_deployed filter which joins with the currently_deployed_version_ids index table:

@pahnin pahnin merged commit e217d3b into master Jan 12, 2026
21 checks passed
@pahnin pahnin deleted the fix/pacticpant-resource-listing-undeployed-version-in-deployed-versions branch January 12, 2026 03:59
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.

4 participants