You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove orchestration_event_push feature flag and rename poller to streamer
The orchestration_event_push flag has been on in dogfood and staging long
enough that the SSE event-push path is the only one we want to support.
Polling is gone; the dual-mode `OrchestrationEventPoller` is renamed to
`OrchestrationEventStreamer` and only opens SSE connections.
- Removed the `OrchestrationEventPush` FeatureFlag variant and Cargo
feature.
- Renamed `orchestration_event_poller.rs` (and its tests) to
`orchestration_event_streamer.rs`. Renamed the public type to
`OrchestrationEventStreamer` and `handle_poll_result` (the shared
event-injection sink) to `handle_event_batch`.
- Removed polling-only state and methods: `poll_backoff_index`,
`poll_in_flight`, `poll_and_inject`, `start_idle_poll_timer`,
`POLL_BACKOFF_STEPS`, `EVENT_POLL_BATCH_LIMIT`. `event_cursor`,
`pending_delivery`, and `conversation_statuses` are kept since they
are also used by the SSE path.
- Removed the dead `AIClient::poll_agent_events` trait method and impl
in `server_api/ai.rs`.
The `OrchestrationV2` flag continues to gate streamer instantiation and
watched-run registration; behavior under v2 is unchanged.
Co-Authored-By: Oz <oz-agent@warp.dev>
0 commit comments