Skip to content

fix(backend): fix inverted condition in podutils and loop bug in rpc/kfp#698

Open
ai-naymul wants to merge 2 commits intokubeflow:mainfrom
ai-naymul:fix/podutils-inverted-condition-and-rpc-kfp-loop
Open

fix(backend): fix inverted condition in podutils and loop bug in rpc/kfp#698
ai-naymul wants to merge 2 commits intokubeflow:mainfrom
ai-naymul:fix/podutils-inverted-condition-and-rpc-kfp-loop

Conversation

@ai-naymul
Copy link
Copy Markdown
Contributor

@ai-naymul ai-naymul commented Mar 13, 2026

Fixes kubeflow#697

Signed-off-by: Naymul Islam <naymul504@gmail.com>
@google-oss-prow
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign stefanofioravanzo for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ai-naymul
Copy link
Copy Markdown
Contributor Author

@jesuino @ada333 @ederign this fixes the inverted condition in podutils and a loop bug in rpc/kfp. Happy to address any feedback.

@ederign
Copy link
Copy Markdown
Member

ederign commented Mar 25, 2026

how did you reproduce this bug? can you record a video of it?

@ai-naymul
Copy link
Copy Markdown
Contributor Author

how did you reproduce this bug? can you record a video of it?

@ederign sorry for the late reply. Here's the walkthrough: https://www.loom.com/share/c43060725515427ba506d59aa9b25582

Also wanted to flag, while auditing this I noticed _get_pipeline_id in rpc/kfp.py is actually never called anywhere. The live path for upload goes through kfputils.upload_pipeline, which uses the correct version in kfputils. So another option is to just delete it instead of ffixing it. Happy either way, let me know what you prefer.

cc @jesuino @ada333

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[backend] Inverted condition in get_container_name function makes return unreachable

2 participants