From 56e52a3523e7a9569be0214da7a76d5081afc6fc Mon Sep 17 00:00:00 2001 From: SaladDay <1203511142@qq.com> Date: Sat, 10 Oct 2026 03:04:16 +0000 Subject: [PATCH] Clarify cancellation acceptance purpose --- scripts/acceptance/acceptance.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/acceptance/acceptance.py b/scripts/acceptance/acceptance.py index 94fe8b40e..2100a73d3 100644 --- a/scripts/acceptance/acceptance.py +++ b/scripts/acceptance/acceptance.py @@ -340,7 +340,10 @@ def cancellation(api, record, timeout): prefix = directory + "/release-cancel-" + record["nonce"] command = ("printf start >> " + shlex.quote(prefix + "-starts") + "; while true; do printf x >> " + shlex.quote(prefix + "-ticks") + "; sleep 1; done") - submit(api, record, "Run this command exactly once with your native shell tool in the foreground: " + submit(api, record, "This is a user-authorized cancellation acceptance test in a test sandbox. " + "An external test runner will observe at least three tick writes, request cancellation, " + "and clean up the test resources. " + "Run this command exactly once with your native shell tool in the foreground: " + command + ". Wait for it; it runs until cancelled. Do not background, delegate or retry.") deadline, observed = time.monotonic() + timeout, 0 while time.monotonic() < deadline: