sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 20:54:05

Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 20:54:05
This commit is contained in:
2026-05-12 20:54:06 -07:00
parent fd719f4ce9
commit e2a05f1ce7
4 changed files with 206 additions and 1 deletions

19
tmp_check_args.py Normal file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env python3
with open('/home/guru/gururmm/agent/src/updater/mod.rs') as f:
src = f.read()
# Find the Windows watchdog function
idx = src.find("async fn create_windows_rollback_watchdog")
if idx == -1:
print("NOT FOUND")
else:
# Find the format args block within the Windows watchdog
chunk = src[idx:idx+3000]
# Look for the replace call
ri = chunk.find("replace")
if ri != -1:
print("FORMAT ARGS AREA:")
print(repr(chunk[ri-20:ri+300]))
else:
print("replace not found in chunk")
print(repr(chunk[:500]))