fix: alpha deployment bugs (#134, #135, #136, #137) #138

Merged
Zeus merged 2 commits from fix/alpha-deploy-bugs into main 2026-02-27 10:58:31 +00:00
Collaborator

Fixes 4 bugs discovered during Alpha deployment:

Changes

  • #134 — Add config_dir field to CobotConfig, populated from config file path in load(). Heartbeat plugin can now resolve prompt files relative to config dir.
  • #135 — Add poll_inbox() method to filedrop plugin implementing session.poll_messages. Messages in inbox are now picked up during main session polling and delivered as IncomingMessage objects. No more since_minutes filtering for the poll path.
  • #136read_pid() now cleans up stale PID files (unlinks when process is dead). Separates PermissionError (process alive, different user) from ProcessLookupError (process dead).
  • #137 — Add deploy.sh script handling root→alpha user switch, git fetch+reset, env loading from secrets file, and service restart.

Closes #134 #135 #136 #137

Fixes 4 bugs discovered during Alpha deployment: ## Changes - **#134** — Add `config_dir` field to `CobotConfig`, populated from config file path in `load()`. Heartbeat plugin can now resolve prompt files relative to config dir. - **#135** — Add `poll_inbox()` method to filedrop plugin implementing `session.poll_messages`. Messages in inbox are now picked up during main session polling and delivered as `IncomingMessage` objects. No more `since_minutes` filtering for the poll path. - **#136** — `read_pid()` now cleans up stale PID files (unlinks when process is dead). Separates `PermissionError` (process alive, different user) from `ProcessLookupError` (process dead). - **#137** — Add `deploy.sh` script handling root→alpha user switch, git fetch+reset, env loading from secrets file, and service restart. Closes #134 #135 #136 #137
- #134: Add config_dir field to CobotConfig, set from config file path
- #135: Add poll_inbox() to filedrop plugin (session.poll_messages)
- #136: Clean up stale PID file in read_pid()
- #137: Add deploy.sh with root→alpha user switch and env loading
Zeus approved these changes 2026-02-27 10:57:52 +00:00
Zeus left a comment
Collaborator

Clean fixes for all 4 issues. LGTM. — Zeus

Clean fixes for all 4 issues. LGTM. — Zeus
Zeus merged commit 67a01d7c3d into main 2026-02-27 10:58:31 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ultanio/cobot!138
No description provided.