Skip to content

ci: fix broken go-benchmark-test#8663

Merged
zirain merged 3 commits intoenvoyproxy:mainfrom
shahar-h:fix-go-benchmark-test
Apr 4, 2026
Merged

ci: fix broken go-benchmark-test#8663
zirain merged 3 commits intoenvoyproxy:mainfrom
shahar-h:fix-go-benchmark-test

Conversation

@shahar-h
Copy link
Copy Markdown
Contributor

@shahar-h shahar-h commented Apr 2, 2026

What this PR does / why we need it:

The go-benchmark-test CI job has been silently failing since #8161 moved tests into a separate Go module (test/go.mod). The Make target ran go test ./test/gobench from the root module, which doesn't contain that package.

The failure was not noticed because the workflow step uses continue-on-error: true.

main module (github.com/envoyproxy/gateway) does not contain package github.com/envoyproxy/gateway/test/gobench
FAIL    ./test/gobench [setup failed]

This PR fixes it by:

  1. Changing the Make target to cd test && go test ... ./gobench so it runs under the correct module
  2. Keeping continue-on-error: true for now since the benchmark comparison against main is currently broken; will remove in a follow-up PR

Also fixes a cosmetic issue: package fuzzpackage gobench to match the directory name.

Which issue(s) this PR fixes:

Fixes #

Signed-off-by: Shahar Harari <shahar.harari@sap.com>
@shahar-h shahar-h requested a review from a team as a code owner April 2, 2026 21:08
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 2, 2026

Deploy Preview for cerulean-figolla-1f9435 canceled.

Name Link
🔨 Latest commit 73b910d
🔍 Latest deploy log https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/69cee84a3db1d00008998f48

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.49%. Comparing base (b4b5cab) to head (73b910d).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8663      +/-   ##
==========================================
+ Coverage   74.46%   74.49%   +0.02%     
==========================================
  Files         243      243              
  Lines       38670    38670              
==========================================
+ Hits        28796    28806      +10     
+ Misses       7879     7869      -10     
  Partials     1995     1995              

☔ 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
Member

@zirain zirain left a comment

Choose a reason for hiding this comment

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

thanks!

@jukie
Copy link
Copy Markdown
Contributor

jukie commented Apr 3, 2026

/retest

@zirain zirain merged commit d35803f into envoyproxy:main Apr 4, 2026
57 of 59 checks passed
@shahar-h shahar-h deleted the fix-go-benchmark-test branch April 4, 2026 05:48
skos-ninja pushed a commit to skos-ninja/envoy-gateway that referenced this pull request May 1, 2026
* ci: fix broken go-benchmark-test

Signed-off-by: Shahar Harari <shahar.harari@sap.com>

* add back continue-on-error

Signed-off-by: Shahar Harari <shahar.harari@sap.com>

---------

Signed-off-by: Shahar Harari <shahar.harari@sap.com>
Signed-off-by: Jake Oliver <jake@truelayer.com>
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.

3 participants