File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ All notable changes to `devloop` will be recorded in this file.
44
55## [ Unreleased]
66
7+ ### Fixed
8+ - Made the CI smoke test wait for file watching to start before editing
9+ the watched fixture file, avoiding a startup race that could time out
10+ on macOS runners.
11+
712## [ 0.6.1] - 2026-03-26
813
914### Changed
Original file line number Diff line number Diff line change @@ -44,6 +44,20 @@ while time.time() < deadline:
4444raise SystemExit("timed out waiting for startup state")
4545PY
4646
47+ python3 - " $log_path " << 'PY '
48+ import pathlib
49+ import sys
50+ import time
51+
52+ log_path = pathlib.Path(sys.argv[1])
53+ deadline = time.time() + 15
54+ while time.time() < deadline:
55+ if log_path.exists() and "watching " in log_path.read_text():
56+ sys.exit(0)
57+ time.sleep(0.1)
58+ raise SystemExit("timed out waiting for watcher startup")
59+ PY
60+
4761printf ' updated\n' > " ${tmp_dir} /watched.txt"
4862
4963python3 - " $state_path " " $log_path " << 'PY '
@@ -65,6 +79,7 @@ while time.time() < deadline:
6579 if "changed value: updated" in log_path.read_text():
6680 sys.exit(0)
6781 time.sleep(0.1)
82+ print(log_path.read_text(), file=sys.stderr)
6883raise SystemExit("timed out waiting for changed state")
6984PY
7085
You can’t perform that action at this time.
0 commit comments