The Activity log entries of a run's life (job.started, job.paused, …):
who started, paused, resumed or cancelled it, and what became of it.
An entry is built here and inserted by the engine inside the transition's
transaction, then published after commit — the feed never hears of a change
that rolled back (the pattern of PhoenixKit.Settings.History). The entry's
module is the kind's module key, so a media run appears under media; its
resource is the run (resource_type: "job_run"), which is how the Jobs page
finds a run's own history.
Summary
Functions
The changeset of the entry for action on run.
The entries of one run, oldest first.
The resource type of a run's entries.
Functions
@spec entry_changeset(PhoenixKit.Jobs.Run.t(), String.t(), map(), map()) :: Ecto.Changeset.t()
The changeset of the entry for action on run.
@spec for_run(Ecto.UUID.t() | String.t()) :: [PhoenixKit.Activity.Entry.t()]
The entries of one run, oldest first.
The resource type of a run's entries.