Improve start-bridge.sh error handling and AGENTS.md documentation #1

Closed
jason wants to merge 0 commits from jason/improve-start-bridge-agents-docs into main
Owner

Changes

start-bridge.sh improvements:

  • Logs stderr/stdout from each bridge process to /tmp/bridge-$\.log for centralized debugging
  • Immediate failure detection via 0.5s probe after launching — catches bad credentials, missing config, etc. before silently failing
  • SIGINT/SIGTERM signal handler to cleanly stop all child bridge processes on Ctrl+C/termination with 2s grace period + forceful kill if needed
  • Log file paths displayed per-user in output

AGENTS.md updates:

  • Added concrete Git workflow command block showing git checkout, git commit, gh pr create steps
  • Added YunoHost app packaging subsection (PRs target testing branch)
  • Added start-bridge.sh usage examples to Commands section
  • Added .gitignore note to Gotchas section (__pycache__/\*\.pyc)

Testing

  • Commit and push succeeded without issues
## Changes ### start-bridge.sh improvements: - Logs stderr/stdout from each bridge process to `/tmp/bridge-$\.log` for centralized debugging - **Immediate failure detection** via 0.5s probe after launching — catches bad credentials, missing config, etc. before silently failing - **SIGINT/SIGTERM signal handler** to cleanly stop all child bridge processes on Ctrl+C/termination with 2s grace period + forceful kill if needed - Log file paths displayed per-user in output ### AGENTS.md updates: - Added concrete Git workflow command block showing `git checkout`, `git commit`, `gh pr create` steps - Added YunoHost app packaging subsection (PRs target `testing` branch) - Added `start-bridge.sh` usage examples to Commands section - Added `.gitignore` note to Gotchas section (`__pycache__/\*\.pyc`) ## Testing - Commit and push succeeded without issues
jason closed this pull request 2026-06-25 04:38:28 -04:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
jason/xmpp-email-bridge!1
No description provided.