Where does the bug appear (feature/product)?
Grok Bot
Describe the Bug
My bot runs an always-on MQTT watchdog for a small IoT business (pet feeders). The bot’s computer reboots or freezes often, and each reboot wipes the Python virtual environment and session secrets, so services don’t come back without a manual restart. Over about 48 days the watchdog was actually running only about 83% of the time.
- Product: Grok Bot (Cursor), the bot’s own Linux computer (“box”)
- PID 1 is tini (no systemd, no crontab), so there’s no supported way to auto-start services at boot
- Time zone: America/Chicago (CT)
- Observation window: Sep 30 – Nov 17, 2026
Steps to Reproduce
- Reboots: 15 in the window, totaling about 103 hours of downtime. The median outage is 7 hours, the longest was 24 hours (Nov 11–12), and they come about every 3.2 days on average.
- Evening pattern: 12 of the 15 reboots went quiet between 5:23 and 9:34 PM CT.
- Overnight freezes (no reboot): 12 events totaling about 94 hours. All 12 resumed between 4:50 and 5:11 AM CT.
- No clean nights: not one fully clean night since Nov 1.
- State loss after reboot: the project’s .venv is gone and the secrets in session environment variables are missing, so scripts can’t restart on their own.
Expected Behavior
Either:
- the box stays up (or reboots rarely, with notice), or
- there’s a supported way to auto-start user services after a reboot and keep secrets and environments across reboots
Operating System
Windows 10/11
Version Information
Grokbot v 1.2.0
For AI issues: which model did you use?
Grokbot 1.2.0
Additional Information
- Uptime: about 83% counting reboots plus freezes of 5 hours or more, and about 46% counting every gap of 12 minutes or more
- Monitoring and alerting for a real customer-facing service goes blind for hours, usually overnight
- Example (Nov 17): the box rebooted overnight, the watchdog was dead from 6:23 PM to 6:33 AM CT, and a real broker outage started right after the manual restart
- Recovery needs a person or a daily routine to rebuild the venv and relaunch the scripts
- Are the evening reboots and the 5 AM resume windows scheduled maintenance or host recycling?
- Is there a supported boot hook or service manager for user processes?
- Can session secrets and /workspace virtual environments survive a reboot?
- Is the box meant for 24/7 workloads, or should those be hosted elsewhere?
I have a CSV of 750 log-derived events (start, end, duration, type) and can share it on request. Earlier boots are inferred from log gaps, since the system boot history only shows the current boot.
Does this stop you from using Cursor
No - Cursor works, but with this issue