Add `RealtimeSession.append_voice_instructions` for GPT-Live's voice model, and a Twilio Media Streams bridge example

Merged
DS
12d ago
+2932-34

Closes #14162

Why we make these changes

On OpenAI GPT-Live, the agent's instructions go to the delegated backend, and the voice model the caller hears starts with openai_live_instructions, which can't be changed once the session has started. Live can only add to it, with session.instructions.append, and nothing sent that, so there was no way to change how the voice model speaks mid-call ("the caller is on a key menu, stay quiet"). The same telephony use case had only a three-line docs note, so this PR also adds a Twilio Media Streams bridge example and documents the traps such a bridge hits.

[!WARNING]
Compatibility impact: RealtimeInput, the union RealtimeConnection.send accepts, gains AppendVoiceInstructions. A session sends it only to a connection whose model's profile sets supports_appending_voice_instructions, which defaults to False, so an existing connection never receives it, but code that matches RealtimeInput exhaustively (assert_never) stops type-checking. DEFAULT_REALTIME_PROFILE gains supports_appending_voice_instructions: False.

Why this can ship in a minor release: the version policy allows adding new types to unions and new optional profile fields, and no existing connection's behavior changes. The API compatibility check is waived for both in .github/api-compatibility-waivers/.

Migration: in an exhaustive match over RealtimeInput, handle AppendVoiceInstructions (or raise for it, as the built-in connections without the flag do).

New public surface

  • RealtimeSession.append_voice_instructions(text): raises UserError unless the profile sets the new flag.
  • RealtimeModelProfile.supports_appending_voice_instructions: False by default, True on GPT-Live.
  • pydantic_ai.realtime.codec.AppendVoiceInstructions, added to RealtimeInput. Every existing connection already raises UserError on an input it doesn't take, and the session only sends this one when the flag is set.
  • The example pydantic_ai_examples.realtime_twilio (examples package only).

The new input can also carry instructions marked for the voice model, which #11430 proposes routing to it declaratively.

User-visible behavior

await session.append_voice_instructions('The caller is on a key menu: stay quiet until they press a key.')

GPT-Live gets {'type': 'session.instructions.append', 'delegation_id': None, 'content': ...}. The session doesn't wait for the acknowledgement: a refusal arrives as a recoverable RealtimeSessionErrorEvent, as on the thinking channel. Text over 500 o200k_base tokens raises before sending (checked live: 500 accepted, 501 refused). History doesn't record the instructions.

Deliberate choice, reconnects: a stored session is forked, and the fork keeps the appended instructions (checked live, see decisions). A replacement session starts with openai_live_instructions followed by the appended instructions, keeping the newest that fit in the 16,384-token start cap (checked live in o200k_base) and dropping the oldest first. An append the running session accepts is never refused for the sake of a later reconnect.

Twilio: docs/realtime/deployment.md#twilio-media-streams replaces the "SIP/telephony bridge" note and covers the line's audio, mark-based playback accounting for interrupt(played_bytes=...), clear echoing pending marks, GPT-Live interrupting itself, custom parameters, DTMF, teardown and signature checks. The comparison pages' Telephony rows and the overview's limitation row now link it.

Verification

  • tests/realtime/test_openai_live_ws.py::test_voice_instructions_steer_the_voice_model: new GPT-Live recording. The append is acknowledged and the reply follows it.
  • tests/realtime/test_openai_live.py: the 500-token cap, the start-cap fold, and a replacement session starting with the appended instructions.
  • tests/realtime/test_session.py::test_append_voice_instructions_needs_a_voice_model_with_instructions_of_its_own: both sides of the flag.
  • tests/test_realtime_examples.py: the Twilio app, driven in-process through TestClient against a scripted connection: signed webhook, no call answered without the auth token, refused stream, barge-in at the acknowledged bytes, a second barge-in after a clear, a provider-side interruption, a profile without interruption, custom parameters, DTMF, stop, and the mu-law conversion.

What changes for existing users

Nothing at runtime; see the compatibility note above for exhaustive matches over RealtimeInput.

  • Deliberate: the example adds twilio to the examples package, for RequestValidator. pydantic-ai-slim gains no dependency.
  • Deliberate: the example transcodes with the standard library. Native G.711 stays with #9038.
PR decisions

2026-11-23 · one PR: #14162 + Twilio bridge example · iter -

2026-11-23 · #14162 shape: codec input + profile flag + session method · iter -

  • Decision: A dataclass in realtime/codec.py added to RealtimeInput; a RealtimeModelProfile flag, default False and True on GPT-Live; a RealtimeSession method that raises UserError when the flag is off (the #12440 pattern, not depended on)
  • Why: Decided by David via misc-mgr, 2026-11-22 (rt-cluster dispatch)
  • Source: https://github.com/pydantic/pydantic-ai/pull/12440
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · #14162 name must not be bare instructions · iter -

  • Decision: "the method must not be a bare 'instructions', which means the agent's backend instructions here"; working name append_voice_instructions, final name settled against the realtime vocabulary
  • Why: Decided by David via misc-mgr, 2026-11-22 (rt-cluster dispatch)
  • Source: https://github.com/pydantic/pydantic-ai/issues/14162
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · #14162 wire and cap · iter -

  • Decision: Send {'type': 'session.instructions.append', 'delegation_id': None, 'content': ...}, at most 500 tokens, checked with _check_context_length as the thinking channel is
  • Why: Decided by David via misc-mgr, 2026-11-22 (rt-cluster dispatch)
  • Source: https://developers.openai.com/api/docs/guides/live-conversations.md
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · #14162 reconnect fold · iter -

  • Decision: Fold appended text into the saved session.start instructions so a redial keeps it, as #11930 updates self._backend['instructions']; respect the 16,384-token start-up cap; don't write it to message history
  • Why: Decided by David via misc-mgr, 2026-11-22 (rt-cluster dispatch)
  • Source: https://github.com/pydantic/pydantic-ai/issues/14162
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · #14162 ack is fire-and-forget · iter -

  • Decision: Don't wait for session.instructions.appended; a rejection surfaces as RealtimeSessionErrorEvent, like every existing channel
  • Why: Decided by David via misc-mgr, 2026-11-22 (rt-cluster dispatch)
  • Source: https://github.com/pydantic/pydantic-ai/issues/14162
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · #14162 recording · iter -

  • Decision: Record a GPT-Live cassette for the new path, copying test_instruction_change_updates_the_backend; run every live recording with env-run --mask ~/.zsh_secrets
  • Why: Decided by David via misc-mgr, 2026-11-22 (rt-cluster dispatch)
  • Source: https://github.com/pydantic/pydantic-ai/issues/14162
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · Twilio deliverables and traps · iter -

  • Decision: examples/pydantic_ai_examples/realtime_twilio plus a full Twilio Media Streams section in docs/realtime/deployment.md replacing the SIP/telephony note. Teach explicitly: per-chunk forwarding makes handle_barge_in=True a no-op (count mark-acked bytes, pass to interrupt(played_bytes=...)); clear echoes every pending mark (drop pending marks before clear, never count those echoes as played); GPT-Live reports no interruption and has no interrupt(). Also cover start.customParameters, DTMF as text, teardown on stop or a dropped socket; for signature validation point to Twilio's SDK, don't hand-roll it
  • Why: Decided by David via misc-mgr, 2026-11-22 (rt-cluster dispatch)
  • Source: https://www.twilio.com/docs/voice/media-streams/websocket-messages
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · Twilio tests and deps · iter -

  • Decision: None new in pydantic-ai-slim; the example transcodes and resamples G.711 itself (method recorded separately); the docs snippet runs against MockRealtimeConnection in tests/test_examples.py; no Twilio account
  • Why: Decided by David via misc-mgr, 2026-11-22 (rt-cluster dispatch)
  • Source: https://github.com/pydantic/pydantic-ai/issues/9038
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · out of scope · iter -

2026-11-23 · start cap on redial: drop oldest appends · iter -

  • Decision: Keep the start prompt plus the newest appends that fit under 16,384 tokens, dropping the oldest. "Never refuse an append the running session accepts." State the drop rule in the method docstring and name it in the PR body as a deliberate choice
  • Why: Decided by misc-mgr for David, 2026-11-23 (rt-cluster dispatch 2)
  • Source: https://github.com/pydantic/pydantic-ai/issues/14162
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · fork reconnect: probe, re-send if dropped · iter -

  • Decision: Probe live while recording whether a fork (openai_live_store=True) keeps appended voice instructions; if a fork drops them, re-send the kept appends after the fork. Record the probe result here and cite it in the PR
  • Why: Decided by misc-mgr for David, 2026-11-23 (rt-cluster dispatch 2)
  • Source: https://developers.openai.com/api/docs/guides/live-conversations.md
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · snippet testing bar · iter -

  • Decision: deployment.md snippet executes in tests/test_examples.py (defines the endpoint, like the relay snippet); bridge behavior is driven in tests/test_realtime_examples.py against a scripted connection, per that module's docstring precedent
  • Why: Decided by misc-mgr for David, 2026-11-23 (rt-cluster dispatch 2)
  • Source: https://github.com/pydantic/pydantic-ai/issues/14162
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · examples page + navigation entry · iter -

  • Decision: Add docs/examples/realtime-twilio.md and its docs/navigation.yml entry
  • Why: Decided by misc-mgr for David, 2026-11-23 (rt-cluster dispatch 2)
  • Source: https://github.com/pydantic/pydantic-ai/issues/14162
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · G.711 transcoding: stdlib · iter -

  • Decision: The example transcodes with a 256-entry mu-law table and integer-ratio resampling (linear interpolation up, block average down) in pure stdlib (array), no numpy/audioop-lts/soxr
  • Why: No new dependency; audioop is gone in 3.13; every target rate (16k/24k) is an integer multiple of 8k
  • Source: https://peps.python.org/pep-0594/#audioop
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · naming: append_voice_instructions · iter -

  • Decision: Method RealtimeSession.append_voice_instructions(text); codec AppendVoiceInstructions(text); profile supports_appending_voice_instructions
  • Why: Docs/profiles say 'the voice model the caller hears' and #11430 uses 'voice model'; bare 'instructions' is the backend's on Live; 'live' is provider-specific. Codec name follows verb-object inputs (CommitAudio, TruncateOutput); flag follows supports_seeding_images
  • Source: https://github.com/pydantic/pydantic-ai/issues/11430
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · fork probe: a fork keeps appended voice instructions · iter -

  • Decision: No re-send after a fork. Live probe 2026-11-23 (gpt-live-1, store=True): after session.instructions.append ('end every reply with pineapple') and no spoken reply, 2 of 2 forks ended their first reply with 'pineapple'; the no-append control fork did not. The fork's session.started reports only the original instructions and input: [], so the append rides the stored timeline. Only the replacement-session redial folds them into session.start
  • Why: Probe result requested by misc-mgr (dispatch 2); fork carries them natively
  • Source: https://developers.openai.com/api/docs/guides/live-conversations.md
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · pre-push review 1 of 3 at a5239cf15bb7994463d2f794a9bcf3ea91d79516 · iter -

2026-11-23 · pre-push review 1 of 3 at a5239cf15bb7994463d2f794a9bcf3ea91d79516 · iter -

  • Decision: remediated: mark named before media (clear race); barge-in clears Twilio on RealtimeResponseInterruptedEvent too (Gemini, ElevenLabs Agents), interrupt() only on speech start; GPT-Live buffer claim tied to measured pacing; examples page names no model ID; start-cap tokenizer probed; answered_calls caveat commented
  • Why: tree e56113e409a7dce8b7337a407d09fd80505a6652; full branch 463a6d519b..a5239cf15b; 6 findings, all acted on (finding 1 in part: its 'clear on speech start for every model' fix can't reach GPT-Live, which emits no speech start)
  • Source: https://github.com/pydantic/pydantic-ai/tree/realtime-voice-instructions-twilio
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · start cap counted in o200k_base (probe) · iter -

  • Decision: Keep counting the 16,384-token session.start cap with o200k_base. Live probe 2026-11-23 (gpt-live-1): 16,384 o200k_base tokens of instructions start; 16,385 are refused with invalid_value 'Instructions must not exceed 16384 tokens.'
  • Why: Pre-push review 1 flagged the start-cap tokenizer as unverified
  • Source: https://developers.openai.com/api/docs/guides/live-conversations.md
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · Twilio barge-in keyed on event type, not profile · iter -

  • Decision: The example clears Twilio's buffer on RealtimeInputSpeechStartEvent (and calls interrupt(played_bytes=...)) and on RealtimeResponseInterruptedEvent (clear only); GPT-Live emits neither, so nothing fires. Replaces gating the barge-in task on supports_interruption
  • Why: Gemini and ElevenLabs Agents interrupt server-side and report RealtimeResponseInterruptedEvent; Twilio still holds unplayed audio there (docs/realtime/turns.md barge-in signals)
  • Source: https://github.com/pydantic/pydantic-ai/tree/realtime-voice-instructions-twilio
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · pre-push review 2 of 3 at df59926f623476d28a13e308ccd423db6dffe028 · iter -

2026-11-23 · pre-push review 2 of 3 at df59926f623476d28a13e308ccd423db6dffe028 · iter -

2026-11-23 · pre-push review 3 of 3 at 3e7ee12e4d421e213a3fb82b55bf61d99315ddff · iter -

2026-11-23 · pre-push review 3 of 3 at 3e7ee12e4d421e213a3fb82b55bf61d99315ddff · iter -

2026-11-23 · unreviewed push: API waivers at 6e4149a4e65c524894427e1a9e30fc928806757e · iter -

  • Decision: Pushed the two waiver JSON files without a fourth review
  • Why: Review budget exhausted (3 of 3); the delta is two data files the API gate reads, touching no code, docs or tests; check_api_compatibility.py --against v2.71.0 exits 0 with them
  • Source: https://github.com/pydantic/pydantic-ai/pull/14191
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · exempt push at 1a56772a0ec86516a06691828a539e9b4fee1e15 · iter -

  • Decision: Pushed the full-profile test fixes without review
  • Why: Exempt delta from reviewed tree 164717152f (via dbdcaa531c docstring-only, 6e4149a4e6 waiver data): test fixtures only, adding the new key with each provider's established value (True on GPT-Live, False elsewhere); the 8 tests CI failed now pass
  • Source: https://github.com/pydantic/pydantic-ai/pull/14191
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · merge upstream/main at 253f6ec6d5bb075d086c057bd38578ce3c578c16 · iter -

  • Decision: Merged main to clear the openai.md conflict with #14165; kept both table-row edits (custom voice text, append_voice_instructions link); no fourth review
  • Why: Conflict-only delta: one docs table row resolved as the union of both sides; the auto-merged openai_live.py and test_openai_live.py changes are #14165's own reviewed content; PR was dirty so pull_request CI could not run
  • Source: https://github.com/pydantic/pydantic-ai/pull/14165
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · exempt push at dcba9ed90a46797baaed9dee764e6be28d6ca0dc · iter -

  • Decision: Pushed a sideband test covering the session_start-is-None early return in _append_voice_instructions, without review
  • Why: Coverage gate missed openai_live.py's sideband path (connect_webrtc passes no session_start: a sideband re-attaches to the same session, which keeps appends). Test-only delta; review budget exhausted
  • Source: https://github.com/pydantic/pydantic-ai/pull/14191
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · douwebot remediation at f41299f1b132230f6a9aa65b56d9242c2c49a40a · iter -

  • Decision: Fixed both blocking findings: PlaybackMarks.clear() returns the heard position and credits cleared bytes to later positions (example, docs snippet, docs bullet, agent skill); /twiml raises unless TWILIO_AUTH_TOKEN is set and non-empty, read per request since tests import the module. Added a two-barge-in test (fails at audio_end_ms=0 without the fix) and a missing-token test; pushed without a fourth review
  • Why: douwebot review 6016227076 CHANGES_REQUESTED on dcba9ed90a; budget exhausted (3 of 3), so remediate + local checks + hosted re-review per pushing skill; empty-key signature verified to pass RequestValidator('')
  • Source: https://github.com/pydantic/pydantic-ai/pull/14191
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · skip: WebSocket handshake signature check · iter -

  • Decision: Declined veria-ai's suggestion to validate X-Twilio-Signature on the /media-stream handshake; the stream stays admitted by its CallSid from the signed /twiml webhook
  • Why: Twilio docs confirm the handshake is signed but not the signed URL form (only a trailing-slash troubleshooting tip); unverifiable without a Twilio account, and a wrong form would refuse every real stream
  • Source: https://www.twilio.com/docs/usage/security#notes
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · skip (worth doing): douwebot optional findings at f41299f1b1 · iter -

  • Decision: Not pushed: (1) gate the deployment.md snippet's stream on a call the signed webhook answered, or comment it; (2) say before the snippet that mulaw_to_pcm16/pcm16_to_mulaw come from the example's audio module. Fold both into the next push to this branch
  • Why: Dispatch rule: 'A douwebot Optional: finding alone never earns a push'; douwebot review 6016429210 APPROVED with no blocking findings
  • Source: https://github.com/pydantic/pydantic-ai/pull/14191#discussion_r4661695753
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · step 7 reported at f41299f1b1 · iter -

  • Decision: Merge bar met at f41299f1b1 (CI, PR Review Checks, clean douwebot approval 6016429210, 0 open threads); reported stats to misc-mgr with recommendation pydanty:review-lite; second-opinion choice left to the manager; monitor mode on
  • Why: Dispatch: 'For step 7, report the PR stats and your recommendation to me. Don't pick a second opinion yourself.'
  • Source: https://github.com/pydantic/pydantic-ai/pull/14191
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · step 7 settled: pydanty:review-lite · iter -

  • Decision: Second opinion is pydanty:review-lite, applied on the final head only after douwebot re-approves it. Fold douwebot's 2 Optional docs findings now (gate the deployment.md snippet's streams like the example; say where its audio helpers come from), overriding the Optional-only-never-pushes rule for these two
  • Why: Overmanager's pick under the narrowed bar: public API additive, no working input changes (overmanager dispatch 2026-11-23T04:13Z via misc-mgr)
  • Source: https://github.com/pydantic/pydantic-ai/pull/14191
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · push past exhausted budget at e9c4ab88ca7360ab674d489269ba0651d0343c2a · iter -

  • Decision: Pushed the two folded douwebot Optional docs fixes (snippet admits only answered calls; helpers' source named) without a fourth review
  • Why: Budget exhausted (3 of 3): remediate, run local checks (deployment.md snippet tests pass), push, CI, hosted review per pushing skill; folding ordered by overmanager dispatch 2026-11-23T04:13Z via misc-mgr
  • Source: https://github.com/pydantic/pydantic-ai/pull/14191#discussion_r4661695753
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · pydanty:review-lite applied at e9c4ab88ca · iter -

  • Decision: Applied pydanty:review-lite at 04:39Z on e9c4ab88ca, after douwebot approved that head (review 6016630915); waiting up to 2 h 30 min; no pushes or thread changes while pydanty:is-working is on
  • Why: Step 7 order from overmanager dispatch 2026-11-23T04:13Z via misc-mgr; branch freshness deadline about 14:40Z
  • Source: https://github.com/pydantic/pydantic-ai/pull/14191
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · pydanty review-lite triage at e9c4ab88ca · iter -

  • Decision: Fixed required (empty appends kept for redial) and optional #3 (_pcm16 inlined) at 1f75b1d417; skipped #1-2 (inlining moves codec temporaries to module scope), #4 exempt (dispatch arm), #5 (start assigned only after trim; cancelled call leaves redial start as before), #6/#8 refuted (existing tests), #7 (generic error mapping pinned), #9 (server connection limits out of example scope), #10 (Voice Live has no delegated backend)
  • Why: pydanty review 6016880559 CHANGES_REQUESTED, 1 required + 10 unverified; pydanty is not on the merge bar; pushed past exhausted budget with local checks green
  • Source: https://github.com/pydantic/pydantic-ai/pull/14191#issuecomment-7091759821
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · exempt push: send() docstring sync at 605e4568b7dd7fecec03eeabe3737c6f8b2e7c32 · iter -

  • Decision: Pushed douwebot's review-body Optional finding (send() docstring now lists AppendVoiceInstructions/append_voice_instructions() like the RealtimeSessionInput docstring) despite the Optional-only rule
  • Why: Merge bar: 'Blocking findings and review-body findings block, resolved or not'; gate read 'Douwebot has discussion findings on this head' on 1f75b1d417 (review 6017104273). Docstring-only delta
  • Source: https://github.com/pydantic/pydantic-ai/pull/14191
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · merge bar met at 605e4568b7 · iter -

  • Decision: CI success, PR Review Checks success, clean douwebot approval 6017293038 (gate success), 0 open threads, mergeable clean; main 8 ahead with no conflict; pydanty review-lite triaged (not re-run on the post-fix head)
  • Why: Step 7 sequence from overmanager dispatch 2026-11-23T04:13Z via misc-mgr complete; reported gate table to misc-mgr
  • Source: https://github.com/pydantic/pydantic-ai/pull/14191
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · dismissed pydanty review 6016880559 · iter -

2026-11-23 · skip: re-running pydanty:review-lite on 605e4568b7 · iter -

  • Decision: Not re-running review-lite on the post-fix head
  • Why: The delta since its review is the fix for its own required finding, with a test, plus a one-line docstring sync, and douwebot reviewed both (dispatch 2026-11-23T06:22Z via misc-mgr)
  • Source: https://github.com/pydantic/pydantic-ai/pull/14191
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

2026-11-23 · WebSocket-handshake signature decline stands · iter -

  • Decision: Keep declining X-Twilio-Signature validation on the /media-stream handshake; streams stay admitted by CallSid from the signed webhook
  • Why: Confirmed by misc-mgr (dispatch 2026-11-23T06:22Z), raised once to David as an FYI
  • Source: https://www.twilio.com/docs/usage/security#notes
  • Session: 059d011c-c17c-46f5-b6de-b6fd1d77f052

Checklist

  • No breaking changes in accordance with the version policy.
  • Any permitted compatibility impact has a label, warning, migration and release note, and an exact API-check waiver if the gate reports it.
  • PR title is fit for the release changelog.