Open
Description
https://github.com/kubernetes-client/java/actions/runs/13120437178
When I just ran the openapi model generation workflow just now, an error from code patching step aborted the workflow with following error:
Run ls scripts/patches/*.diff | xargs git apply
error: patch failed: kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Secret.java:18
error: kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Secret.java: patch does not apply
So I had skip the code patch step in the workflow via, retry and toggling If true, skip patching code after generation
: https://github.com/kubernetes-client/java/actions/runs/13120777699
This indicates that the patches under scripts/patches
folder are outdated, hence we need to do either of:
- Refresh the patch files for the branch
- Consider an alternative approach to make incremental patches on top of the raw generated code.