Skip to content

fix: repair broken composite literal in ratelimit TestDeployment - #9617

Closed
zhaohuabing wants to merge 1 commit into
envoyproxy:mainfrom
zhaohuabing:fix-ratelimit-test-compile
Closed

fix: repair broken composite literal in ratelimit TestDeployment#9617
zhaohuabing wants to merge 1 commit into
envoyproxy:mainfrom
zhaohuabing:fix-ratelimit-test-compile

Conversation

@zhaohuabing

@zhaohuabing zhaohuabing commented Jul 30, 2026

Copy link
Copy Markdown
Member

The rate limit test package fails to compile:

    resource_provider_test.go:833:5: missing ',' before newline in composite literal

PR envoyproxy#9027 moved the rate limit fields into the embedded
EnvoyGatewayKubernetesInfrastructureConfiguration struct. Two of the
three call sites in this file were updated correctly, but the one in
TestDeployment added the opening brace without the matching closing
brace, most likely a bad conflict resolution against envoyproxy#9594, which had
just added RateLimitHpa to the same literal.

Close the inner literal and fix the indentation.

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
@zhaohuabing
zhaohuabing requested a review from a team as a code owner July 30, 2026 14:30
@netlify

netlify Bot commented Jul 30, 2026

Copy link
Copy Markdown

Deploy Preview for cerulean-figolla-1f9435 ready!

Name Link
🔨 Latest commit 8248683
🔍 Latest deploy log https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/6a6b6002764eee00083d7298
😎 Deploy Preview https://deploy-preview-9617--cerulean-figolla-1f9435.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.83%. Comparing base (7c3e11b) to head (8248683).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9617      +/-   ##
==========================================
+ Coverage   75.75%   75.83%   +0.08%     
==========================================
  Files         254      258       +4     
  Lines       42322    42795     +473     
==========================================
+ Hits        32059    32455     +396     
- Misses       8107     8165      +58     
- Partials     2156     2175      +19     

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant