Skip to content

Proto codegen is still not properly working #4491

@downfa11

Description

@downfa11

Checklist:

  • I've included steps to reproduce the bug.
  • I've included the version of argo rollouts.

Describe the bug

The generated proto file path differs from the path used when running go-to-protobuf.

2025/10/15 15:27:54 Could not make proto path relative: github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1/generated.proto: No such file or directory

2025/10/15 15:27:54 Unable to run protoc on github.com.argoproj.argo_rollouts.pkg.apis.rollouts.v1alpha1: exit status 1
make: *** [Makefile:125: k8s-proto] Error 1

I believe the cause is the same as the issue fixed in #4482.


I also tried creating a symbolic link locally as below, but it led to other errors:

mkdir -p ~/go/src/github.com/argoproj  
ln -s $(pwd) ~/go/src/github.com/argoproj/argo-rollouts  

I tried to resolve it locally, but couldn’t get it working properly, so I’m opening this issue.

To Reproduce

make codegen

Expected behavior

make codegen should complete successfully.

Version

argo-rollout v1.8.3, go 1.23.4


Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions