Skip to content

chore: setup translator test#7627

Merged
zirain merged 3 commits intoenvoyproxy:mainfrom
kkk777-7:chore-setup-translator-test
Dec 2, 2025
Merged

chore: setup translator test#7627
zirain merged 3 commits intoenvoyproxy:mainfrom
kkk777-7:chore-setup-translator-test

Conversation

@kkk777-7
Copy link
Copy Markdown
Member

@kkk777-7 kkk777-7 commented Nov 30, 2025

What this PR does / why we need it:
fix gatewayapi translator test setup and remove duplicate resources in testfiles.
xref: #7535 (comment)

Which issue(s) this PR fixes:

Fixes #

Release Notes: No

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
@kkk777-7 kkk777-7 marked this pull request as ready for review November 30, 2025 11:33
@kkk777-7 kkk777-7 requested a review from a team as a code owner November 30, 2025 11:33
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.31%. Comparing base (35e3b60) to head (7ab83b0).
⚠️ Report is 549 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7627      +/-   ##
==========================================
- Coverage   72.33%   72.31%   -0.02%     
==========================================
  Files         232      232              
  Lines       34143    34143              
==========================================
- Hits        24698    24692       -6     
- Misses       7669     7675       +6     
  Partials     1776     1776              

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

Copy link
Copy Markdown
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

LGTM thanks for cleaning this up

@zirain
Copy link
Copy Markdown
Member

zirain commented Dec 1, 2025

/retest

@zirain zirain enabled auto-merge (squash) December 2, 2025 00:16
@zirain zirain merged commit 7864465 into envoyproxy:main Dec 2, 2025
73 of 78 checks passed
rudrakhp pushed a commit to rudrakhp/gateway that referenced this pull request Apr 24, 2026
* chore: setup gatewayapi translator test

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* remove: duplicate resources in testfiles

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* update gatewayapi test output

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

---------

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>
rudrakhp added a commit that referenced this pull request Apr 24, 2026
* fix json report (#8614)

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>

* fix: deep copy status in translator layer to avoid race (#8778)

Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>

* chore: setup translator test (#7627)

* chore: setup gatewayapi translator test

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* remove: duplicate resources in testfiles

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* update gatewayapi test output

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

---------

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>

* perf: introduce translator context (#7535)

* perf: introduce translator context

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* perf: add policy map in translator context

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* chore: update tranlate bench

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* Revert "perf: add policy map in translator context"

This reverts commit 14a3784.

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* add translator context method, remove unused function

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* update gatewayapi test output

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* add resources in translator context

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* add gatewayapi translate bench

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* fix: set resources in translator context

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* fix: go lint

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* address comments

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* feat: support egctl translate options

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* update: bench test

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* update embedded field

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* fix gatewayapi testdata output

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

---------

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
Co-authored-by: zirain <zirain2009@gmail.com>
Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>

* fix gen-check

Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>

---------

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
Co-authored-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
Co-authored-by: Kota Kimura <86363983+kkk777-7@users.noreply.github.com>
Co-authored-by: zirain <zirain2009@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants