xworkmate-app/test/runtime
Haitao Pan c89be591ad test: make temp-dir cleanup resilient to concurrent-write races
The assistant execution target tests deleted their temp HOME/workspace
dirs with a raw recursive delete in addTearDown. A background flush
(e.g. controller dispose still persisting state) can keep writing into
the dir while the delete walks it, so the delete races and fails with
"Directory not empty" (errno 39), failing the test on CI.

Route all unguarded teardown deletes through the existing
_resilientDelete helper (re-check existence + retry), and harden that
helper so its final fallback never re-throws — a temp-dir cleanup
failure must never fail a test.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 07:06:07 +08:00
..
acp_endpoint_paths_test.dart fix: sync bridge artifacts and route openclaw tasks 2026-05-03 12:14:35 +08:00
app_controller_thread_workspace_binding_test.dart test: align gateway recovery expectations 2026-06-26 19:52:27 +08:00
assistant_archived_tasks_test.dart fix: require yes before deleting archived tasks 2026-05-20 16:38:48 +08:00
assistant_connection_state_test.dart fix(settings): update account panel and assistant connection state 2026-06-17 21:01:56 +08:00
assistant_execution_target_test.dart test: make temp-dir cleanup resilient to concurrent-write races 2026-06-30 07:06:07 +08:00
assistant_model_display_test.dart fix: remove polluted test task sessions 2026-05-19 08:21:45 +08:00
bridge_runtime_cleanup_test.dart fix: prioritize managed bridge sync state 2026-06-16 06:20:13 +08:00
desktop_thread_artifact_service_test.dart fix(artifacts): prioritize PDF deliverables in sidebar 2026-06-28 10:55:29 +08:00
file_store_support_test.dart fix: stabilize iOS login storage and mobile settings 2026-05-25 09:43:57 +08:00
gateway_acp_client_auth_test.dart test: align gateway recovery expectations 2026-06-26 19:52:27 +08:00
gateway_profile_cleanup_test.dart chore: remove stale gateway settings and app ffi paths 2026-05-13 16:45:54 +08:00
gateway_runtime_bridge_skills_test.dart test: keep layered flutter tests aligned with repo 2026-06-26 19:39:14 +08:00
go_runtime_dispatch_desktop_client_test.dart fix: route gateway execution through managed bridge 2026-05-02 12:10:08 +08:00
local_file_revealer_test.dart fix: reveal artifact files without blocking 2026-06-28 14:49:41 +08:00
runtime_controllers_settings_account_test.dart fix: preserve primary bridge auth token 2026-06-18 10:01:19 +08:00
ui_feature_manifest_desktop_surface_test.dart chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00
ui_feature_manifest_mobile_surface_test.dart Clean C/S surfaces down to assistant and settings 2026-04-13 12:14:12 +08:00