Arcana.TaskSupervisor (Arcana v1.3.3)

View Source

Task supervisor for async operations in Arcana.

Add to your application's supervision tree:

children = [
  MyApp.Repo,
  Arcana.Embedder.Local,
  Arcana.TaskSupervisor
]

This enables supervised async operations in the Arcana dashboard (evaluation runs, test case generation, maintenance tasks) with:

  • Graceful shutdown during deploys
  • Visibility in Observer/LiveDashboard
  • Proper crash logging with $callers metadata

Summary

Functions

Starts a fire-and-forget task under this supervisor.

Functions

child_spec(opts)

start_child(fun)

Starts a fire-and-forget task under this supervisor.

The task is not linked to the caller, so crashes won't bring down the calling process. Crashes are logged by the supervisor.