Skip to content

[pull] main from openai:main - #184

Merged
pull[bot] merged 2 commits into
Mattlk13:mainfrom
openai:main
Sep 28, 2026
Merged

pull[bot] merged 2 commits into
Mattlk13:mainfrom
openai:main

Conversation

@pull

@pull pull Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

When two transcript groupers observe the same Live dispatcher, callers
must be able to detach and close one without stopping the other or
losing the event stream. The existing grouper tests covered its own
listeners and timers but did not exercise an attached connection.

This tests both sync and async clients over a real local WebSocket. It
checks that the first grouper cancels its active timer, typed and
wildcard observers keep receiving the original values and future
metadata, the second grouper continues accumulating, and the same socket
accepts a post-disposal update. The peer waits for explicit caller
teardown. Tests only; no generated or API changes.

Validation:
- 238 Live tests passed on Pydantic 2.12.5 and 238 on 1.10.26.
- After typing the close callbacks and checking only event IDs present
on the wire: 14 socket-role and grouper tests pass; Pyright reports 0
errors on the affected file.
- Repository-configured `mypy .` passes across 1,920 source files; Ruff
check, format and diff checks pass.
…ends (#3978)

An empty Realtime manager queue was replaced on connect, losing its
configured byte limit and later messages. A typed or queued send could
also be replayed on reconnect even after reaching the server. Preserve
the manager's queue and release only attempted writes on failure or
cancellation; never-attempted messages remain in order. Other endpoints
retain the shared queue's existing defaults.

Six sync/async real-socket regressions fail on the base and pass with
this change, covering empty queues and interrupted pre-open/direct
sends. A focused cancellation regression verifies in-flight bounds and
retained messages. Validation: 456 affected tests per Pydantic 1/2, 45
final queue/Realtime tests per version, Ruff, mypy (1,865 files),
Pyright, and the trusted custom-code check (7,766/10,000).
@pull pull Bot locked and limited conversation to collaborators Sep 28, 2026
@pull pull Bot added the ⤵️ pull label Sep 28, 2026
@pull
pull Bot merged commit a52805c into Mattlk13:main Sep 28, 2026
3 of 6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant