Skip to content

Commit f160865

Browse files
Fix Rust e2e compile errors and Python import order for 1.0.76-2
The Rust e2e suite only builds with `--features test-support`, so two more 1.0.76-2 field additions were missed: `include_ephemeral` on `EventLogReadRequest` and `defer_if_model_change_queued` on `ModelSwitchToRequest`. Also restores alphabetical import order in the Python commands e2e test after the `SessionCommandsListRequest` rename. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 72193c60-62cd-459b-a6f3-4b2798a7eb4b
1 parent 7287bae commit f160865

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

python/e2e/test_rpc_commands_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
from copilot.rpc import (
88
CommandsInvokeRequest,
9-
SessionCommandsListRequest,
109
CommandsRespondToQueuedCommandRequest,
1110
ExecuteCommandParams,
1211
QueuedCommandHandled,
12+
SessionCommandsListRequest,
1313
SlashCommandKind,
1414
SlashCommandTextResult,
1515
)

rust/tests/e2e/rpc_event_log.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ async fn should_read_persisted_events_from_beginning() {
4545
.read(EventLogReadRequest {
4646
agent_scope: None,
4747
cursor: None,
48+
include_ephemeral: None,
4849
max: Some(100),
4950
types: Some(json!("*")),
5051
wait_ms: Some(0),
@@ -90,6 +91,7 @@ async fn should_return_tail_cursor_and_read_empty_when_no_new_events() {
9091
.read(EventLogReadRequest {
9192
agent_scope: None,
9293
cursor: Some(tail.cursor),
94+
include_ephemeral: None,
9395
max: Some(10),
9496
types: Some(json!("*")),
9597
wait_ms: Some(0),
@@ -172,6 +174,7 @@ async fn should_longpoll_with_types_filter_for_titlechanged_event() {
172174
let read_future = event_log.read(EventLogReadRequest {
173175
agent_scope: None,
174176
cursor: Some(tail.cursor),
177+
include_ephemeral: None,
175178
max: Some(10),
176179
types: Some(json!(["session.title_changed"])),
177180
wait_ms: Some(5_000),

rust/tests/e2e/rpc_session_state_extras.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ async fn should_add_byok_provider_and_model_at_runtime() {
315315
.model()
316316
.switch_to(ModelSwitchToRequest {
317317
context_tier: None,
318+
defer_if_model_change_queued: None,
318319
model_capabilities: None,
319320
model_id: selection_id.to_string(),
320321
reasoning_effort: None,

0 commit comments

Comments
 (0)