Skip to content

ci: move shared gRPC test fixture to tests/utilities - #2272

Merged
rapids-bot[bot] merged 22 commits into
NVIDIA:mainfrom
ramakrishnap-nv:ci/move-grpc-test-fixture
Nov 5, 2026
Merged

rapids-bot[bot] merged 22 commits into
NVIDIA:mainfrom
ramakrishnap-nv:ci/move-grpc-test-fixture

Conversation

@ramakrishnap-nv

@ramakrishnap-nv ramakrishnap-nv commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Follow-up to #2261 (review nit). Depends on it: this branch is stacked on #2261, so the diff shows its commits until that merges. The change itself is the last commit.

  • Moves grpc_integration_fixture.hpp and grpc_test_log_capture.hpp from cpp/tests/linear_programming/grpc/ to cpp/tests/utilities/grpc/.
  • The routing gRPC test no longer adds the LP test directory to its include path.
  • test_cpp_routing now excludes cpp/tests/linear_programming/grpc/**, so LP/MIP gRPC test changes no longer run the routing job.

Testing: not built locally; relies on CI. Include-only change.

🤖 Generated with Claude Code

ramakrishnap-nv and others added 21 commits October 30, 2026 12:56
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…sets for routing

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Install a <TEST>.labels marker next to labeled test binaries and select on it
in run_ctests.sh. Fail if a group selects no binaries.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
GRPC_INTEGRATION_TEST keeps the LP/MIP cases; GRPC_ROUTING_INTEGRATION_TEST runs
SolveVRP and ChunkedUploadVRPWithPathLogging against a real server. The server
process and base fixture move to a shared header.
Keep cpp/src/grpc/routing shared since GRPC_CLIENT_TEST in the mathopt job covers submit_vrp, exclude presolve and tests/internal from routing, and stop polling on CANCELLED in the VRP gRPC test.
Lets the routing job exclude cpp/tests/linear_programming/grpc, since the fixture and log capture no longer live there.
@copy-pr-bot

copy-pr-bot Bot commented Nov 4, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@ramakrishnap-nv ramakrishnap-nv added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Nov 4, 2026
@copy-pr-bot

copy-pr-bot Bot commented Nov 5, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ramakrishnap-nv

Copy link
Copy Markdown
Collaborator Author

/ok to test 55efd49

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

CI Test Summary

✅ All 28 test job(s) passed.

@ramakrishnap-nv
ramakrishnap-nv marked this pull request as ready for review November 5, 2026 16:03
@coderabbitai

coderabbitai Bot commented Nov 5, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The gRPC integration tests now use utilities/grpc/ include paths. The routing test target no longer includes the linear programming gRPC test directory, and the routing CI changed-file filter excludes that directory.

Changes: gRPC Test Path Separation

Layer / File(s) Summary
Update gRPC test paths and routing filter
.github/workflows/pr.yaml, cpp/tests/linear_programming/grpc/grpc_mathopt_integration_test.cpp, cpp/tests/routing/grpc/*
The integration tests use utilities/grpc/ include paths. The routing target removes the linear programming gRPC directory from its include paths, and the routing CI filter excludes changes under that directory.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Possibly related issues

Possibly related PRs

  • NVIDIA/cuopt#2261: This PR updates the shared gRPC fixture include paths and completes the routing/mathopt CI filter split introduced by PR #2261.
  • NVIDIA/cuopt#2271: This PR also changes the routing/mathopt CI test partition.

Suggested reviewers: iroy30

Merge Risk: Minimal · up to 55efd

The relocation and CI gating are consistent, with no actionable merge-blocking risk identified.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: moving the shared gRPC test fixture to the tests utilities directory.
Description check Passed The description directly explains the fixture move, include-path cleanup, CI filter change, dependency context, and testing status.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 2 files. (1 skipped: 1 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: NVIDIA/cuopt
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: ba918f1
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: e7288d5c-656d-47f2-8a31-cedef4e335f6
Commits

Reviewing files that changed from the base of the PR and between ba918f1 and 55efd49.

Files selected for processing: 6

  • .github/workflows/pr.yaml
  • cpp/tests/linear_programming/grpc/grpc_mathopt_integration_test.cpp
  • cpp/tests/routing/grpc/CMakeLists.txt
  • cpp/tests/routing/grpc/grpc_routing_integration_test.cpp
  • cpp/tests/utilities/grpc/grpc_integration_fixture.hpp
  • cpp/tests/utilities/grpc/grpc_test_log_capture.hpp

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

@ramakrishnap-nv

Copy link
Copy Markdown
Collaborator Author

/merge

@rapids-bot
rapids-bot Bot merged commit 1af75d9 into NVIDIA:main Nov 5, 2026
96 of 97 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants