Skip to content

Share stopped foreign-container cases across managed-cluster tests #8348

Closed

Description

@jyaunches

Objective

Use one immutable case table for the stopped foreign-container signals exercised by managed-cluster tests.

Evidence

The following suites repeat the same StoppedForeignContainerFixture type and three-case STOPPED_FOREIGN_CONTAINER_FIXTURES table for container name, image, and managed-label signals:

  • src/lib/inference/serving/managed-cluster-discovery.test.ts
  • src/lib/inference/serving/managed-cluster-executor.test.ts
  • src/lib/inference/serving/managed-cluster-lifecycle.test.ts

An existing test-support owner is available at src/lib/inference/serving/managed-cluster-fixture.test-support.ts.

Scope

  • Export the immutable case table and its type from the existing test-support module.
  • Migrate the three suites to it.
  • Keep behavior-specific setup and assertions local to each suite.
  • Do not add a production export.

Relationships

Why this is a good first issue

The repeated table and its intended owner are explicit. The work is test-only and does not change managed-cluster behavior.

Acceptance criteria

  • One canonical three-case table remains.
  • All three parameterized suites still exercise every signal.
  • Each suite retains its behavior-specific expectations.
  • The change has a negative net LOC delta.

Validation

npx vitest run --project cli src/lib/inference/serving/managed-cluster-discovery.test.ts src/lib/inference/serving/managed-cluster-executor.test.ts src/lib/inference/serving/managed-cluster-lifecycle.test.ts
npm run typecheck:cli

Activity

  1. added
    good first issue
    help wanted
    provider: vllm
    area: local-models
    on Aug 5, 2026
  2. added theissue type on Aug 5, 2026
  3. self-assigned this
    on Aug 6, 2026
  4. added a commit that references this issue on Aug 6, 2026
    70b3561
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: local-modelsgood first issuehelp wantedprovider: vllm

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions