Skip to content

Commit 1feae8b

Browse files
Pyinerclaude
andcommitted
fix(gateway): TaskListQuery 测试构造补 root_thread_id 字段
两处 list_task_forest 路由测试构造 TaskListQuery 缺了新增的 root_thread_id(E0063);cargo check 默认不编译 test 所以没抓到、CI --all-targets 才报。补 None,cargo check --all-targets 已过。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 171a9e2 commit 1feae8b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

garyx-gateway/src/tasks.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1814,6 +1814,7 @@ mod tests {
18141814
source_thread_id: None,
18151815
source_task_id: None,
18161816
source_bot_id: None,
1817+
root_thread_id: None,
18171818
include_done: true,
18181819
scope: TaskForestScope::All,
18191820
limit: None,
@@ -1927,6 +1928,7 @@ mod tests {
19271928
source_thread_id: None,
19281929
source_task_id: None,
19291930
source_bot_id: None,
1931+
root_thread_id: None,
19301932
include_done: true,
19311933
scope: TaskForestScope::default(),
19321934
limit: None,

0 commit comments

Comments
 (0)