Skip to content

Drop provider-launch e2e tests already covered by the integration suite - #688

Open
masonc08 wants to merge 1 commit into
mainfrom
masonc08/prune-redundant-mps-e2e-tests
Open

masonc08 wants to merge 1 commit into
mainfrom
masonc08/prune-redundant-mps-e2e-tests

Conversation

@masonc08

@masonc08 masonc08 commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

What

Deletes two in-process tests in tests/test_e2e.py that duplicate coverage already provided by the black-box integration suite:

  • TestModelProviderLaunch.test_launch_claude_through_relayed_provider → covered by tests/integration/test_ug_claude_relayed.py
  • TestModelProviderLaunch.test_launch_codex_through_provider → covered by test_ug_configure_codex_openai_mps (same main.ucode.ci_openai_mps)

Also removes the now-dead CI_ANTHROPIC_RELAY_MPS / CI_OPENAI_MPS / CI_OPENAI_MODEL constants, the threading import, the CLAUDE_CODE_OAUTH_TOKEN wiring in the e2e-shards job, and simplifies the codex shard keyword.

Why

The integration suite drives the real installed CLI against the same CI MPSes, so these e2e duplicates add no coverage. Each CI run currently burns the personal Anthropic subscription token and the OpenAI-key MPS twice — once from e2e-shards, once from the integration full job. This removes the e2e-shards half; the surviving relayed CUJ lives in the integration suite, which keeps the OAuth-token secret.

Rebased onto main after #565 landed, so the integration relayed test (test_ug_claude_relayed.py) is present — no coverage gap.

Test

ruff check and py_compile clean; the suite still collects. No behavior change — test and CI-config only.

This pull request and its description were written by Isaac.

@masonc08
masonc08 force-pushed the masonc08/prune-redundant-mps-e2e-tests branch 3 times, most recently from 74a62cc to 2a305c0 Compare September 17, 2026 15:49
The relayed-Claude and Codex-through-OpenAI-MPS launches are exercised
end-to-end by the black-box integration suite (test_ug_claude_relayed and
test_ug_configure_codex_openai_mps), which drive the real installed CLI
against the same CI MPSes. The in-process e2e duplicates add no coverage,
and each CI run burns the personal Anthropic subscription token and the
OpenAI-key MPS a second time.

- Remove TestModelProviderLaunch.test_launch_claude_through_relayed_provider
  and test_launch_codex_through_provider, plus the now-unused
  CI_ANTHROPIC_RELAY_MPS / CI_OPENAI_MPS / CI_OPENAI_MODEL constants and the
  threading import.
- Stop wiring CLAUDE_CODE_OAUTH_TOKEN into the e2e-shards job (no e2e test
  uses it anymore) and simplify the codex shard keyword.

Co-authored-by: Isaac <no-reply@databricks.com>
@masonc08
masonc08 force-pushed the masonc08/prune-redundant-mps-e2e-tests branch from 2a305c0 to 66f656e Compare September 18, 2026 14:30
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.

1 participant