Skip to content

[misc] Exclude client benchmarks from CI #3752

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
Apr 28, 2025
Merged

[misc] Exclude client benchmarks from CI #3752

merged 1 commit into from
Apr 28, 2025

Conversation

lixmal
Copy link
Contributor

@lixmal lixmal commented Apr 28, 2025

Describe your changes

Issue ticket number and link

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

@Copilot Copilot AI review requested due to automatic review settings April 28, 2025 11:25
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 updates the CI workflow to exclude client benchmarks from running during CI.

  • It modifies grep commands in the test steps to filter out benchmark directories including /management, /signal, /relay, and /client/ui.
  • It narrows the benchmark execution to the ./management directory, effectively omitting client benchmarks.
Comments suppressed due to low confidence (2)

.github/workflows/golang-test-linux.yml:418

  • [nitpick] The benchmark execution is now limited to the ./management directory, which aligns with the PR purpose. Please confirm that no other essential benchmark directories are unintentionally omitted.
-timeout 20m ./management/...

.github/workflows/golang-test-linux.yml:147

  • Using multiple patterns without the -e flag may cause grep to misinterpret subsequent patterns as file names. Consider reverting to the original syntax with separate -e flags for each exclusion pattern.
run: CGO_ENABLED=1 GOARCH=${{ matrix.arch }} CI=true go test -tags devcert -exec 'sudo' -timeout 10m -p 1 $(go list ./... | grep -v /management /signal /relay)

@lixmal lixmal force-pushed the remove-client-bench branch 2 times, most recently from 0841839 to 996df53 Compare April 28, 2025 11:27
@lixmal lixmal force-pushed the remove-client-bench branch from 996df53 to 70ad946 Compare April 28, 2025 11:28
Copy link

@lixmal lixmal merged commit 3fa915e into main Apr 28, 2025
32 checks passed
@lixmal lixmal deleted the remove-client-bench branch April 28, 2025 11:40
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.

2 participants