Skip to content

Conversation

@Sanskarzz
Copy link

Issue: #3178

Description

This PR fixes a bug where the /api/v1beta/workloads (list) endpoint incorrectly reported the transport_type as streamable-http for workloads that were actually using stdio transport.

Changes

  • Updated the minimalRunConfig struct in pkg/workloads/types/types.go to include the Transport field.
  • Refactored WorkloadFromContainerInfo to:
    Load the actual transport type from the stored RunConfig.
    Use state-of-truth transport type for both the domain model and URL generation.
    Fall back to labels only if the run configuration is missing.

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>
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.

1 participant