fix: guard SSE transport readiness and add manual deploy workflow #37

Merged
elvis merged 1 commit from fix-sse-and-deploy-workflow into main 2026-06-01 21:00:48 +00:00
Owner

Summary

  • Add transportReady flag and res.on("close") listener to prevent "SSE connection not established" crashes — guards against POSTs arriving during the server.connect() window and clears stale transport after SSE drops
  • Add deploy.yml workflow_dispatch workflow for deploying any branch to the NAS without needing a push to main

Test plan

  • Confirm npm run build passes
  • Connect Hermes agent and verify no more SSE connection crashes in logs
  • Trigger Deploy to NAS workflow from Actions UI on this branch to validate manual deploy

🤖 Generated with Claude Code

## Summary - Add `transportReady` flag and `res.on("close")` listener to prevent "SSE connection not established" crashes — guards against POSTs arriving during the `server.connect()` window and clears stale transport after SSE drops - Add `deploy.yml` `workflow_dispatch` workflow for deploying any branch to the NAS without needing a push to main ## Test plan - [ ] Confirm `npm run build` passes - [ ] Connect Hermes agent and verify no more SSE connection crashes in logs - [ ] Trigger `Deploy to NAS` workflow from Actions UI on this branch to validate manual deploy 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix: guard SSE transport readiness and add manual deploy workflow
Some checks failed
Run Unit Tests / test (pull_request) Has been cancelled
3e3b39dab0
Add transportReady flag and res.on('close') listener to prevent
"SSE connection not established" crashes caused by POSTs arriving
before server.connect() completes or after the SSE stream drops.

Add deploy.yml workflow_dispatch workflow for deploying any branch
to the NAS without requiring a push to main.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
elvis merged commit bb0ad56521 into main 2026-06-01 21:00:48 +00:00
elvis deleted branch fix-sse-and-deploy-workflow 2026-06-01 21:00:48 +00:00
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
elvis/actual-mcp!37
No description provided.