-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Truncate diffs to avoid failing actions - Argument list too long #207
Comments
Here is a related feature request for dyff: homeport/dyff#280 |
This works so that the flux diff output succeeds, but now the output fails when adding the PR comment:
|
Have same issue. Tried to Add resources requests on kube-prometheus-stack for all components 😬
1000 lines atm from the gh job |
One way to work around this in a workflow is to output the diff to a file and use an action to post the diff file. I've done this with hacky Markdown formatting in https://github.com/jfroy/flatops/blob/main/.github/workflows/flux-diff.yaml. |
Example run: https://github.com/allenporter/k8s-gitops/actions/runs/5099732326/jobs/9167613119
The output is so large it fails the action. We should instead have an option to truncate the diff and return a partial result.
The text was updated successfully, but these errors were encountered: