Порівняти коміти

...
Автор SHA1 Повідомлення Дата
l0ng-ai e41e4fba2c test: fix three tests failing on main
- e2e/toolwindows: tool window splitters lock the col-resize cursor while dragging
  since the WebKit splitter cursor change.
- trust_vcs_sweep: sweep vcs_detected_roots, the Directory Mappings command
  allowed in Restricted Mode, so it is checked to start no program of the
  repository.
- acp::e2e: wait for the resumed turn's entries before waiting for Ready; the
  task is Ready until that turn starts, so a slow runner saw no entries.
2026-11-19 03:09:13 +08:00
3 змінених файлів з 7 додано та 2 видалено

No files matched your search

+5 -1
Переглянути файл
@@ -203,7 +203,11 @@ async fn a_task_runs_on_a_v2_agent_and_resumes_its_session() {
let agent2 = Arc::new(FakeV2Agent::default());
let mgr2 = manager(tmp.path(), agent2.clone());
mgr2.prompt(&task.id, text("again"), false).await.unwrap();
tokio::time::sleep(Duration::from_millis(50)).await;
// The task is Ready until the resumed turn starts: wait for the turn's entries first.
let deadline = std::time::Instant::now() + Duration::from_secs(10);
while mgr2.entries(&task.id, None).unwrap().len() < 8 && std::time::Instant::now() < deadline {
tokio::time::sleep(Duration::from_millis(10)).await;
}
wait_for(&mgr2, &task.id, AgentStatus::Ready).await;
let entries = mgr2.entries(&task.id, None).unwrap();
assert_eq!(summary(&entries[6..]), ["user: again", "agent: second turn"]);
+1
Переглянути файл
@@ -174,6 +174,7 @@ async fn restricted_vcs_commands_run_no_program_of_the_repository() {
call!("vcs_status", "", ops::vcs::vcs_status(host, w)),
call!("vcs_status_paths", "", ops::vcs::vcs_status_paths(host, w, vec![file.clone()])),
sync!("vcs_roots", "", vcs::vcs_roots(host, w)),
call!("vcs_detected_roots", "", vcs::vcs_detected_roots(host, w)),
call!("vcs_branch_info", "", vcs::vcs_branch_info(host, w, root())),
call!("vcs_line_hunks", "", vcs::vcs_line_hunks(host, w, file.clone())),
call!("vcs_file_at", "", vcs::vcs_file_at(host, w, file.clone(), None)),
+1 -1
Переглянути файл
@@ -178,7 +178,7 @@ test("a tool window resize keeps its cursor over other controls until release",
await page.mouse.down();
await page.mouse.move(box.x + 80, box.y + box.height / 2, { steps: 4 });
// The pointer is over the Project tree now; the button's own arrow cursor must not win.
await expect.poll(cursor).toBe("ew-resize");
await expect.poll(cursor).toBe("col-resize");
expect(await page.evaluate(() => document.documentElement.hasAttribute("data-drag-cursor"))).toBe(true);
await page.mouse.up();