fix(runtime): supervise remaining durable tokio::spawn sites #120
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_shrimp!120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-38-supervise-spawns"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Finishes the rollout of supervised task spawning to the remaining durable
tokio::spawnsites. Thespawn_supervisedhelper already existed and covered ~10 runtime workers plus the listener tasks; this completes coverage of the always-on gateways, the scheduler loop, and the long-lived reader loops, and adds panic-logging for selected fire-and-forget one-shots.Changes
spawn_logged(name, fut)helper insupervise.rs(log-only, no restart) + unit test.spawn_supervised): telegram gateway, admin HTTP/SSE server, cron recurring-job loop.spawn_logged): lsp reader, rpc client reader, subagent-start hooks, cron one-shot, mcp request handler, telegram reminder one-shot.spawn_with_context) / test spawns. A grep sweep confirmed every remaining rawtokio::spawnoutside tests is a deliberate non-durable spawn.Tests
2313 passed, 0 failed across engine + runtime (includes the supervise tests); adapters has no unit tests. Workspace builds with no new warnings.
Notes
CloneI/O handles cannot be rebuilt after the underlying process/connection closes.Closes #38