Skip to content

Flaky: in_process_go native_go_rejected_requests_release_tokens_before_the_next_valid_request (mock upstream BrokenPipe on ReplyWrite) #113

Open

Description

@oxa-orchestrator

Observed on 2026-11-18 in PR oxstack/ox-llm#607's oxa tests shard 2. The PR does not touch the gateway; it changes only oxa-session.

The test oxa-cli::in_process_go native_go_rejected_requests_release_tokens_before_the_next_valid_request panicked in oxc-gateway/tests/common/openai.rs: the mock upstream got a BrokenPipe on ReplyWrite. The same head passed on a re-run after merging main.

Expected: the mock tolerates a client that closes after the response it needs (a rejected request), or the test waits for the client to finish reading before the mock writes. Fix the race at its root and keep the assertion; do not retry or skip the test.

Activity

  1. n0rpan commented on Nov 19, 2026

    @n0rpan
    Contributor

    Triage 2026-11-19: this issue is now tracked in #164 (Cluster: CI, tests and code scanning, priority P1), planned PR 1: "Flake batch". It will be fixed there together with its related issues, not one by one.

  2. transferred this issue fromon Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions