Skip to content

Fix the rate-limit issue of kustomize action #6552

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

Merged
merged 1 commit into from
Jul 18, 2025

Conversation

iawia002
Copy link
Member

What type of PR is this?

/kind flake

What this PR does / why we need it:

Fix #6547

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

none

@Copilot Copilot AI review requested due to automatic review settings July 18, 2025 03:41
@karmada-bot karmada-bot added the kind/flake Categorizes issue or PR as related to a flaky test. label Jul 18, 2025
@karmada-bot karmada-bot requested a review from chaosi-zju July 18, 2025 03:41
Copy link

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@karmada-bot karmada-bot requested a review from jwcesign July 18, 2025 03:41
@karmada-bot karmada-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 18, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses a rate-limit issue with the kustomize action in the GitHub workflow by switching to a different action implementation that uses authentication to avoid rate limiting.

  • Replaces syntaqx/setup-kustomize@v1 with karancode/[email protected]
  • Adds GitHub token authentication to prevent API rate limiting
  • Updates parameter name from kustomize-version to kustomize_version

@@ -44,9 +44,10 @@ jobs:
version: ${{ env.HELM_VERSION }}

- name: Set up Kustomize
uses: syntaqx/setup-kustomize@v1
uses: karancode/kustomize-github-action@v1.3.2
Copy link
Member

Choose a reason for hiding this comment

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

I see there are a lot of bugs reported but not handled:
https://github.com/karancode/kustomize-github-action/issues

I'm not sure if the failing test related to any of these~

Copy link
Member Author

Choose a reason for hiding this comment

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

Just found the kustomize installation script itself supports setting token by env. It should be work fine from now.

Copy link
Member

Choose a reason for hiding this comment

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

Great!

@codecov-commenter
Copy link

codecov-commenter commented Jul 18, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.45%. Comparing base (f4919ab) to head (e2330eb).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6552      +/-   ##
==========================================
+ Coverage   45.43%   45.45%   +0.02%     
==========================================
  Files         687      687              
  Lines       56335    56335              
==========================================
+ Hits        25596    25609      +13     
+ Misses      29140    29130      -10     
+ Partials     1599     1596       -3     
Flag Coverage Δ
unittests 45.45% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@RainbowMango RainbowMango left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@karmada-bot karmada-bot added the lgtm Indicates that a PR is ready to be merged. label Jul 18, 2025
@karmada-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: RainbowMango

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@karmada-bot karmada-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 18, 2025
@karmada-bot karmada-bot merged commit 538aff6 into karmada-io:master Jul 18, 2025
24 checks passed
@RainbowMango RainbowMango added this to the v1.15 milestone Jul 18, 2025
@iawia002 iawia002 deleted the kustomize-action branch July 18, 2025 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/flake Categorizes issue or PR as related to a flaky test. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[flake test] GitHub rate-limiter failed when installing kustomize
4 participants