ci: hold stdin open for the last smoke reply
ci / static (push) Successful in 1m0s
ci / test-3.12 (push) Successful in 1m42s
ci / test-3.13 (push) Successful in 1m50s
ci / image (push) Successful in 9s
ci / smoke (push) Successful in 10s
ci / publish (push) Failing after 5s

This commit is contained in:
omar committed 2026-11-28 20:55:01 +03:00
1 parent a79e87f400
commit c69299c810
1 file changed
+7 -1
+7 -1
View File
@@ -7,6 +7,9 @@ in the caller, not here.
import json
import sys
import time
HOLD = 1.5
CALL = {
"jsonrpc": "2.0",
@@ -34,7 +37,10 @@ MESSAGES = [
def main() -> int:
for message in MESSAGES:
sys.stdout.write(json.dumps(message) + "\n")
sys.stdout.flush()
sys.stdout.flush()
time.sleep(0.2)
# Keep stdin open until the last reply lands, then signal EOF by exiting.
time.sleep(HOLD)
return 0