Skip to content

v1.6.0

Choose a tag to compare

@pdevito3 pdevito3 released this 17 Aug 17:41
· 148 commits to main since this release

BackWave 1.6.0

Added

  • Per-job retry override with [Retry(maxAttempts, backoffSeconds...)]. On the loud-failure path the node resolves the attribute to a retry disposition and computes the next attempt time, so the override wins over the Worker Group retry policy. Nothing new is stored and JobRecord gains no columns. A job with no attribute behaves as before. The source generator validates the attribute at compile time: BW0008 for an attempt ceiling below 1 or above the 1000 cap, BW0009 for an invalid backoff list, and BW0010 for a [Retry] on a type with no [Job].
  • Adaptive idle-poll backoff. An idle worker group no longer polls the store at the fixed PollInterval. An opt-in MaxPollInterval bounds a geometric idle backoff, and the group sleeps until the next scheduled job is due when the store can report it. MaxPollInterval defaults to TimeSpan.Zero (disabled), so the default path stays byte-identical and issues no extra query. A non-breaking ClaimBatchAsync default interface method on IJobStore returns the claimed jobs plus an advisory next-due time. The advisory value is never a correctness input; polling stays the sole correctness mechanism.

All 13 packages ship at 1.6.0 on nuget.org.