AshOnetime.Oban.PartitionWorker (ash_onetime v0.5.0)

Copy Markdown View Source

Optional Oban entry point for forward response-partition creation, mirroring mix ash_onetime.roll_partitions. Schedule it ahead of the retention horizon (e.g. daily or weekly) so payloads never route to the _default partition; without it, bounded retention silently degrades past the install window.

Runs on a dedicated :ash_onetime_partitions queue (separate from CleanupWorker's :ash_onetime_cleanup) so forward partition creation — the retention-safety path — does not compete with routine cleanup for queue slots under saturation. Configure the queue in your Oban config (queues: [ash_onetime_partitions: N]) or jobs sit unscheduled.