Skip to content

[model-gateway] refactor e2e test infrastructure and add router CI#16513

Merged
slin1237 merged 11 commits intomainfrom
smg-ci-n/9
Jan 5, 2026
Merged

[model-gateway] refactor e2e test infrastructure and add router CI#16513
slin1237 merged 11 commits intomainfrom
smg-ci-n/9

Conversation

@slin1237
Copy link
Copy Markdown
Collaborator

@slin1237 slin1237 commented Jan 5, 2026

Infrastructure improvements:

  • Consolidate to ModelPool (remove redundant BackendPool)
  • Add ConnectionMode, WorkerType, Runtime enums for type safety
  • Add pytest_collection_modifyitems hook to scan test markers and auto-detect required backends (grpc/http)
  • Simplify backends.py to only handle cloud backends (openai, xai)
  • Add process_utils.py with common process management functions

Test additions:

  • Add MMLU evaluation tests in e2e_test/router/
  • Add pyproject.toml for e2e_test with pytest-rerunfailures

CI updates:

  • Add router-e2e-tests job to pr-test-rust.yml workflow
  • Uses 4-gpu-a10 runner with retry support for flaky tests

Cleanup:

  • Remove custom pytest_retry decorator (use pytest-rerunfailures)
  • Delete unused fixtures (generate_test_certs.py, mock_worker.py)

Checklist

Review Process

  1. Ping Merge Oncalls to start the PR flow. See the PR Merge Process.
  2. Get approvals from CODEOWNERS and other reviewers.
  3. Trigger CI tests with comments (/tag-run-ci-label, /rerun-failed-ci, /tag-and-rerun-ci) or contact authorized users to do so.
  4. After green CI and required approvals, ask Merge Oncalls to merge.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@github-actions github-actions Bot added dependencies Pull requests that update a dependency file model-gateway labels Jan 5, 2026
@slin1237 slin1237 added the run-ci label Jan 5, 2026
@slin1237 slin1237 force-pushed the smg-ci-n/9 branch 2 times, most recently from e8ee8ce to 1a8bc31 Compare January 5, 2026 19:44
Infrastructure improvements:
- Consolidate to ModelPool (remove redundant BackendPool)
- Add ConnectionMode, WorkerType, Runtime enums for type safety
- Add pytest_collection_modifyitems hook to scan test markers
  and auto-detect required backends (grpc/http)
- Simplify backends.py to only handle cloud backends (openai, xai)
- Add process_utils.py with common process management functions

Test additions:
- Add MMLU evaluation tests in e2e_test/router/
- Add pyproject.toml for e2e_test with pytest-rerunfailures

CI updates:
- Add router-e2e-tests job to pr-test-rust.yml workflow
- Uses 4-gpu-a10 runner with retry support for flaky tests

Cleanup:
- Remove custom pytest_retry decorator (use pytest-rerunfailures)
- Delete unused fixtures (generate_test_certs.py, mock_worker.py)
@slin1237 slin1237 merged commit 4221b7c into main Jan 5, 2026
56 of 61 checks passed
@slin1237 slin1237 deleted the smg-ci-n/9 branch January 5, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file model-gateway run-ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants