From 0a9048948ccb9fda1c8f7d42bb20cb794d095af5 Mon Sep 17 00:00:00 2001 From: JavaZeroo <71128095+JavaZeroo@users.noreply.github.com> Date: Fri, 30 Oct 2026 08:16:32 +0800 Subject: [PATCH] test(shell): report the first clipboard owner failure step refs #85 The message used the current cleanup step together with the first error code, which made a stale cleanup step look like the failing call; it now prints failure_step and state_step separately. --- experiments/shell/clipboard_scenario_state.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/experiments/shell/clipboard_scenario_state.hpp b/experiments/shell/clipboard_scenario_state.hpp index daf6bc64..a3868e1a 100644 --- a/experiments/shell/clipboard_scenario_state.hpp +++ b/experiments/shell/clipboard_scenario_state.hpp @@ -65,7 +65,8 @@ class ClipboardScenarioOwner { } std::string ready_failure(DWORD wait_status) const { return std::string("clipboard owner failed its bounded ready handshake: mode=")+ - (delayed_?"delayed":"occupied")+" step="+step_.load()+ + (delayed_?"delayed":"occupied")+" failure_step="+failure_step_.load()+ + " state_step="+step_.load()+ " win32_error="+std::to_string(native_error_.load())+ " worker_error="+std::to_string(error_.load())+ " registration_last_error="+std::to_string(registration_error_.load())+