Files
self 6caccf23a6 feat: add scheduler probe fixture
Add supertest scheduler cron workers and local API endpoints that record singleton and all-nodes scheduler executions into synced supertest cases.\n\nThe probe API lets live supertest scenarios start, inspect, and stop scheduler assertions without adding a separate resource.
2026-05-28 16:50:50 +02:00

11 lines
298 B
Elixir

defmodule TribeOne.TribesPlugin.Supertest.Scheduler.SingletonCounterWorker do
@moduledoc false
@behaviour Tribes.Plugin.Scheduler
@impl true
def perform(%Tribes.Plugin.Scheduler.Job{} = job) do
TribeOne.TribesPlugin.Supertest.API.record_scheduler_execution(:singleton, job)
end
end