Skip to content

Flaky E2E test in rpc_session_state.e2e.test.ts (model switchto) #1629

@Morabbin

Description

@Morabbin

The test should call session rpc model switchto is flaky, particularly on Windows CI.

It has a race condition where it awaits session.model_change after switchTo completes, frequently missing the event if it fires too quickly. It also incorrectly hardcodes gpt-4.1 expectations which fails on environments without auth.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions