fix: replace flaky kube-linter action with cached manual install#106
fix: replace flaky kube-linter action with cached manual install#106pdodgen-revparts merged 2 commits intomainfrom
Conversation
The stackrox/kube-linter-action@v1 download script intermittently fails due to transient GitHub API errors, with no retry logic and silent failure (curl --silent --fail + set -e). Replace with gh release download (authenticated via GH_TOKEN) and actions/cache to avoid repeated API calls entirely.
PR SummaryLow Risk Overview Adds Written by Cursor Bugbot for commit 6dc1951. This will update automatically on new commits. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Summary
stackrox/kube-linter-action@v1download script intermittently fails due to transient GitHub API errors — it usescurl --silent --failwithset -eand no retry logic, causing silent failures across all repos using this workflowgh release download(authenticated, better error handling) andactions/cacheto skip the download entirely on cache hitsKUBE_LINTER_VERSIONenv var for easy bumpinghttps://revolutionparts.atlassian.net/browse/DEVEX-1032
Test plan
encodium/manage