Skip to content

Conversation

@aniketpati1121
Copy link
Contributor

@aniketpati1121 aniketpati1121 commented Aug 27, 2025

This PR upgrades Argo Workflows to version 3.7 in the manifests.

Changes include:

  • Added RBAC patch files for workflow-controller and workflowtaskresults
  • Ensured the workflows have the necessary permissions to run correctly
  • Verified hello-world example workflow runs successfully

Please review and let me know if any further adjustments are required.

fixes #12184

@google-oss-prow
Copy link

Hi @aniketpati1121. Thanks for your PR.

I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@github-actions
Copy link

🚫 This command cannot be processed. Only organization members or owners can use the commands.

@aniketpati1121 aniketpati1121 force-pushed the chore/update-argo-3.7 branch 4 times, most recently from 0ab2c4b to 2d2627c Compare August 27, 2025 07:10
@aniketpati1121
Copy link
Contributor Author

Hi @mprahl, I have added the necessary RBAC patch files for Argo Workflows 3.7 and verified that the hello-world workflow runs successfully. Please review and /ok-to-test if everything looks good. Thank you!

@github-actions
Copy link

🚫 This command cannot be processed. Only organization members or owners can use the commands.

@mprahl
Copy link
Collaborator

mprahl commented Aug 27, 2025

@aniketpati1121 thanks for the PR! Please follow the directions here to upgrade Argo Workflows:
https://github.com/kubeflow/pipelines/tree/master/third_party/argo

Also, did you mean to commit those SDK files?

@aniketpati1121 aniketpati1121 force-pushed the chore/update-argo-3.7 branch 2 times, most recently from 6eb33cc to 2ea53fb Compare August 27, 2025 18:33
@google-oss-prow google-oss-prow bot added size/XXL and removed size/L labels Aug 27, 2025
@google-oss-prow google-oss-prow bot added size/L and removed size/XXL labels Aug 27, 2025
@google-oss-prow google-oss-prow bot added size/M and removed size/L labels Aug 27, 2025
@aniketpati1121
Copy link
Contributor Author

Hi @mprahl, I’ve cleaned up the Argo upgrade PR. Now it only contains the commit for upgrading Argo Workflows to 3.7.
The previous SDK/Python 3.9 drop commits have been removed to avoid confusion.
Please review it and /ok-to-test if everything looks good. Thanks!

@github-actions
Copy link

🚫 This command cannot be processed. Only organization members or owners can use the commands.

@gmfrasca
Copy link
Member

Hey @aniketpati1121! We've actually made some updates to the way these Argo upgrades are done; we've added some documentation, but may have missed other places.

That said, this can be done in a couple steps:

  1. Update the version specified for the argo-workflows dependency in go.mod, then run go mod tidy.
  2. Update the contents ofthird_party/argo/VERSION to the target version, the run make update from the manifests/kustomize/third-party/argo directory to update the manifests
  3. Finally, look for any outlying references and update them. specifically, backend/Dockerfile and a few docker commands found in the test directory also reference it.

We also just added some CI checks for running argo compatibility with KFP, so you can update the values for argo_version in .github/workflows/kfp-samples.yml, and the list of argo_versions in .github/workflows/e2e-test.yml to ensure we maintain compatibility with the 'old' version(s) of argo, namely 3.6.7 and 3.5.14.

All of this we should've already added to our documentation such that anyone can pick up this task and run, but that's a different issue 😬

@HumairAK HumairAK requested review from gmfrasca and removed request for droctothorpe and zazulam August 28, 2025 19:39
@google-oss-prow google-oss-prow bot added size/XL and removed size/M labels Aug 29, 2025
@aniketpati1121
Copy link
Contributor Author

Hey @aniketpati1121! We've actually made some updates to the way these Argo upgrades are done; we've added some documentation, but may have missed other places.

That said, this can be done in a couple steps:

  1. Update the version specified for the argo-workflows dependency in go.mod, then run go mod tidy.
  2. Update the contents ofthird_party/argo/VERSION to the target version, the run make update from the manifests/kustomize/third-party/argo directory to update the manifests
  3. Finally, look for any outlying references and update them. specifically, backend/Dockerfile and a few docker commands found in the test directory also reference it.

We also just added some CI checks for running argo compatibility with KFP, so you can update the values for argo_version in .github/workflows/kfp-samples.yml, and the list of argo_versions in .github/workflows/e2e-test.yml to ensure we maintain compatibility with the 'old' version(s) of argo, namely 3.6.7 and 3.5.14.

All of this we should've already added to our documentation such that anyone can pick up this task and run, but that's a different issue 😬

Hi @gmfrasca

I have updated Argo to v3.7.0 across go.mod, go.sum, third_party/argo/VERSION, backend/Dockerfile, and the kfp-samples workflow.
All necessary changes suggested in the review have been applied, and pre-commit hooks have passed. The PR is now ready for CI re-run and review.

Thanks

aniketpatil and others added 3 commits September 1, 2025 10:18
…tive API (kubeflow#12189)

* Add support for additional filters on the Kubernetes native API

This adds support for eq, neq, and in filters.

Signed-off-by: mprahl <[email protected]>

* Fix filter mapping in Kubernetes native API

Signed-off-by: mprahl <[email protected]>

---------

Signed-off-by: mprahl <[email protected]>
Signed-off-by: aniketpatil <[email protected]>
This adds a GitHub workflow to ensure the read me stays up to date.

Signed-off-by: mprahl <[email protected]>
Signed-off-by: aniketpatil <[email protected]>
@rimolive
Copy link
Member

rimolive commented Sep 1, 2025

/ok-to-test

@github-actions
Copy link

github-actions bot commented Sep 1, 2025

Approvals successfully granted for pending runs.

@aniketpati1121
Copy link
Contributor Author

Hi @RicardoOliveira,
Even though the ok-to-test label is already added, the CI checks are still failing. Could you please help trigger the workflow manually? Thanks!

@rimolive
Copy link
Member

rimolive commented Sep 2, 2025

@aniketpati1121 I can't say for sure, but probably it's because you did not sign-off your latest commits.

Correct that, and if the test don't trigger again, we'll need the approvers to help.

@aniketpati1121
Copy link
Contributor Author

@aniketpati1121 I can't say for sure, but probably it's because you did not sign-off your latest commits.

Correct that, and if the test don't trigger again, we'll need the approvers to help.

Hi @rimolive,
I have fixed the DCO issue and now all checks have passed successfully .
The PR is ready for review and approval. Thanks a lot for your guidance!

@rimolive
Copy link
Member

rimolive commented Sep 2, 2025

@HumairAK @mprahl Looks like you must approve the workflows run. Please?

@google-oss-prow google-oss-prow bot added size/XXL and removed size/XL labels Sep 3, 2025
@aniketpati1121
Copy link
Contributor Author

Hi, I’ve updated go.mod, go.sum and verified Argo v3.7 upgrade. All DCO and dependency checks have passed. Pending workflows just need approval. Thanks!

@gmfrasca
Copy link
Member

gmfrasca commented Sep 9, 2025

Hey @aniketpati1121 - if you haven't seen it, looks like CI ran but there's some build failures. Seems like it's because Argo updated the validate.ValidateWorkflow method signature to take in an additional parameter, though there may be additional updates to be made as well.

I think once you make the updates to any of those calls there, and are able to getmake images_all to complete (or just run the go build commands directly), most of the CI should run and pass.

Comment on lines +5 to +6
- https://github.com/argoproj/argo-workflows/manifests/base/crds?ref=v3.7.0
- https://github.com/argoproj/argo-workflows/manifests/cluster-install/workflow-controller-rbac?ref=v3.7.0
Copy link
Member

@gmfrasca gmfrasca Sep 9, 2025

Choose a reason for hiding this comment

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

looks like argo shuffled their manifests a bit in v3.7.0, which is why kustomize build fails to find these remote refs in the KFP Manifests CI check. I think this should fix it:

Suggested change
- https://github.com/argoproj/argo-workflows/manifests/base/crds?ref=v3.7.0
- https://github.com/argoproj/argo-workflows/manifests/cluster-install/workflow-controller-rbac?ref=v3.7.0
- https://github.com/argoproj/argo-workflows/manifests/base/crds/minimal?ref=v3.7.0
- https://github.com/argoproj/argo-workflows/manifests/cluster-install-no-crds/workflow-controller-rbac?ref=v3.7.0

@aniketpati1121
Copy link
Contributor Author

Closing this in favor of new clean PR

@aniketpati1121 aniketpati1121 deleted the chore/update-argo-3.7 branch September 14, 2025 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[chore] Update Argo Workflows to 3.7

4 participants