Skip to content

Releases

v0.7.2

Choose a tag to compare

@github-actions github-actions released this 02 Dec 22:38
89725c2

Bug Fixes

  • Bound durable admission and gate dead-letter retries (#219) (18374f1)

Documentation

  • Explain Bifrost with a traffic spike and system diagrams (#216) (e72754a)

Features

  • Add shared execution controls for durable jobs (#217) (8243be6)

  • add arch viaduct brand kit and package icon (#213) (6b2dadd)

Testing

  • Cover durable management and worker stop paths (#221) (89725c2)

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 30 Nov 09:16
19e15ca

Bug Fixes

  • Validate the verified NuGet publish roster (#207) (19e15ca)

Documentation

  • Document the short stable release soak (#206) (8ff1ca6)

Features

  • Add PostgreSQL-backed durable work and dispatch (#200) (4d48efe)

  • Add the Quartz-backed Bifrost service (#201) (80fbfea)

Miscellaneous

  • Restore receipts after the 0.7.0 release boundary (#187) (a4f76d2)

Testing

  • Cover durable request validation and schedule replay (#205) (053d600)

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 01:39
1628080

Bug Fixes

  • Preserve dead-letter failures during admission floods (#181) (39045b0)

  • Recover stable 0.7.0 publication (#186) (1628080)

Miscellaneous

Performance

  • Compare queue drain and pair latency on one host (#184) (37f51e2)

Ci

  • Verify packed releases on six native platforms (#182) (4dbc6ad)

v0.7.0-rc.1

v0.7.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Nov 17:03
b42b487

Bug Fixes

  • Keep work payloads out of worker failure logs (#155) (205534d)

Documentation

  • Add keyed samples, benchmarks, and the 0.7.0 README (#174) (2b6b88d)

Features

  • Add an internal keyed dispatch queue (#168) (e0f88ae)

  • Add public WithKeyedDispatch and keyed autoscaling (#169) (beaccdd)

  • Record terminal outcomes in fixed orchestrator slots (#170) (9e48d0b)

  • Sweep abandoned work and expose keyed backlog counts (#171) (831641e)

  • Record processing and backlog metrics automatically (#172) (17dafed)

  • Add WithHandlerResilience with one retry owner (#173) (1b0150e)

Refactoring

Ci

  • Remove CI files nothing uses after the Buildkite move (#167) (423c09b)

  • Add the repo-owned Buildkite pipeline (#176) (b1722e0)

  • bump softprops/action-gh-release from 3.0.3 to 3.0.4 (#148) (9dfd519)

  • Use the stable CI image tag and drop Renovate (#177) (b42b487)

v0.6.2

Choose a tag to compare

@github-actions github-actions released this 13 Nov 00:37
3cbc7b9

Bifrost 0.6.2 publishes all bug fixes, correctness improvements, tests, performance evidence, docs, and CI updates landed since v0.6.0 (the unpublished v0.6.1 tag was superseded by v0.6.2 after migrating NuGet publishing to OIDC Trusted Publishing).

Bug Fixes

  • Retire autoscaled workers without canceling active work (#87) (cffdb47)
  • Isolate observer failures from work processing (#90) (d8e718b)
  • Preserve cancellation and validate library boundaries (#91) (59f1b76)
  • Preserve saved schedules during hosted recovery (#92) (58fe086)
  • Keep priority and cadence arithmetic within range (#93) (96fa333)
  • Close residual correctness findings from issue 96 (#99) (25f3e34)
  • Enforce registration identity and atomic command paths (#103) (648b4d2)
  • Track explicit tick liveness states in health monitor (#104) (63dd5f8)
  • Serialize event drain and await rejection routes (#105) (fc36731)
  • Make worker idle-stop and cooldown state atomic (#106) (b4864c4)

Documentation

  • Add work-flow diagram and prepare benchmark tooling (#74) (0fc1213)

Performance

  • Record the full Xeon benchmark campaign (#76) (d394a00)

Testing

  • Add invariant histories and fix exposed lifecycle races (#84) (65ae685)
  • Retain comparer recovery and hosted teardown regressions (#88) (46b9275)
  • Qualify library failure boundaries and record evidence (#94) (9d3f4ed)
  • Pilot Exarchos testgen on priority key invariant (#102) (d3d8492)

CI

  • Run project automation on GitHub-hosted runners (#95) (e3147e6)
  • Bump setup-dotnet, upload-artifact, add-to-project, and git-cliff (#97) (c87d399)
  • Use the org PR template and pr-body check (#75) (9aa49f0)
  • Pin label-sync to org workflows v1.12 (#98) (3e4044b)
  • Migrate NuGet publishing to OIDC trusted publishing (#108) (3cbc7b9)

Full comparison from v0.6.0

v0.6.1

Choose a tag to compare

@github-actions github-actions released this 13 Nov 00:19
b4864c4

Bug Fixes

  • Retire autoscaled workers without canceling active work (#87) (cffdb47)

  • Isolate observer failures from work processing (#90) (d8e718b)

  • Preserve cancellation and validate library boundaries (#91) (59f1b76)

  • Preserve saved schedules during hosted recovery (#92) (58fe086)

  • Keep priority and cadence arithmetic within range (#93) (96fa333)

  • Close residual correctness findings from issue 96 (#99) (25f3e34)

  • enforce registration identity and atomic command paths (#103) (648b4d2)

  • track explicit tick liveness states in health monitor (#104) (63dd5f8)

  • serialize event drain and await rejection routes (#105) (fc36731)

  • make worker idle-stop and cooldown state atomic (#106) (b4864c4)

Documentation

  • Add work-flow diagram and prepare benchmark tooling (#74) (0fc1213)

Performance

  • Record the full Xeon benchmark campaign (#76) (d394a00)

Testing

  • Add invariant histories and fix exposed lifecycle races (#84) (65ae685)

  • Retain comparer recovery and hosted teardown regressions (#88) (46b9275)

  • Qualify library failure boundaries and record evidence (#94) (9d3f4ed)

  • Pilot Exarchos testgen on priority key invariant (#102) (d3d8492)

Ci

  • run project automation on GitHub-hosted runners (#95) (e3147e6)

  • Bump setup-dotnet, upload-artifact, add-to-project, and git-cliff (#97) (c87d399)

  • use the org PR template and pr-body check (#75) (9aa49f0)

  • pin label-sync to org workflows v1.12 (#98) (3e4044b)

v0.6.0 — priority API revision and comparer-safe MultiQueue

Choose a tag to compare

@rsalus rsalus released this 29 Oct 04:26
86dcd91

Bifrost 0.6.0 revises priority dispatch, admission, and shutdown APIs, and strengthens MultiQueue behavior when a custom comparer throws. This is a breaking release; recompile consumers and follow the priority API migration guide.

Breaking changes

  • Select DispatchStrategy.Fifo, PriorityExact, or PriorityRelaxed explicitly. PriorityBinding, Auto, and the Priority sentinel are removed. UsePriorityDispatch now requires an ordering and selects immediate rejection; producer waiting is supported only by FIFO.
  • Use IWorkWriter<TWork> for admission, Enqueue for an immediate EnqueueResult, and WorkEnqueueOptions for class and correlation metadata. Run and TryRun are removed. An explicit WorkClass.Default now overrides the configured classifier.
  • Construct tuned standalone queues through ConcurrentPriorityQueue.Create(options). Replace TryPeek with TryPeekBestObserved and TryDequeueMin with TryDequeueBestObserved. The public LockingPriorityQueue is removed; exact orchestrator dispatch remains available.
  • Use named work/dead-letter options and autoscaling services keyed by work type. Register autoscaling hosting and health checks for each work type.
  • Use Complete/Completion, DrainAsync, and AbortAsync for lifecycle control. AbortAsync replaces StopAsync; disposal waits for actual worker termination before releasing resources.

Fixes and improvements

  • Preserve resident queue contents, published state, and capacity reservations when an arbitrary custom comparer throws.
  • Keep admission rejection reasons and correlation metadata consistent through decorators, and isolate options and autoscaling state between work types.
  • Add benchmark reproduction tooling, validation evidence, and clearer API and operational documentation. Performance remains workload-dependent; see the benchmark runbook and linked reports for measurements and limits.
  • Update SourceLink and GitHub Actions dependencies, and adopt the organization CI lane planner.

Changes: #69, #70, #72.

Full comparison from v0.5.2

v0.5.1 — explicit Locking opt-in (#46) + scheduler post-MVP follow-ups (#32)

Choose a tag to compare

@rsalus rsalus released this 03 Jul 05:07

Added

  • ISchedulerBuilder.ConfigureOptions(Action<SchedulerOptions>) (#32) — first-class configuration of the scheduler's tick-loop options at AddScheduler (e.g. services.AddScheduler(b => b.ConfigureOptions(o => o.RestartBackoff = TimeSpan.FromSeconds(2)))). The fault-recovery cross-field constraint (RestartBackoff × MaxRestartsInWindow < RestartWindow) is validated and fails fast with an actionable message on a bad combination.
  • SchedulerOptions.RestartBackoff (#32) — the tick loop now backs off (default 1s) between repeated fault restarts within the restart window, so a crash loop no longer spins a core. A single transient fault still restarts immediately, and the give-up transition (MaxRestartsInWindow within RestartWindow) is unaffected.
  • ScheduleRegistry implements IAsyncDisposable and IDisposable (#32) — disposing it completes the command-channel writer so the tick loop drains its backlog and stops cleanly instead of blocking on a never-completed channel.

Changed

  • PriorityBinding.Auto never selects the locking dispatcher (#46) — Auto (the default priority binding) now always resolves to the lock-free MultiQueue. The previous capacity/rank-error heuristic that could silently switch Auto to the coarse global-locking heap at high capacity is removed; Locking is reachable only via an explicit PriorityBinding.Locking. No public API change — behavior only. Choose Locking explicitly when you need strict min-key ordering at high capacity, where the relaxed MultiQueue's rank accuracy decreases.

Fixed

  • Scheduler post-MVP follow-ups (#32) — the tick loop stops cleanly when its registry's command channel completes (no CPU spin on dispose-while-running); fault-restart backoff prevents crash-loop spin; deferred test-hygiene fixes (deterministic event-stream disposal, guarded hosted-service startup, thread-pool-floor failure check, loop teardown in finally, fixture nullability). In-flight double-decrement isolation and scope-fault event observability were confirmed already-correct and locked in with regression tests. UpdateAsync is now documented in the durable-scheduling design.

Full changelog: https://github.com/lvlup-sw/bifrost/blob/v0.5.1/CHANGELOG.md

v0.5.0

Choose a tag to compare

@rsalus rsalus released this 16 Jun 06:46

First release with the relaxed concurrent priority queue and opt-in priority dispatch. Full notes in CHANGELOG.md.

Breaking

Admission outcomes move into the type system — the compiler finds every call site:

  • EnqueueAsync returns ValueTask<EnqueueResult> and gains an optional WorkClass. Capacity, watermark, and shutdown surface as a rejected result; admission failures never throw. Caller-token cancellation still throws OperationCanceledException and is never dead-lettered.
  • Writer escape hatch removed — the internal queue is a pluggable dispatch-strategy binding, not necessarily a Channel.
  • Priority strategies enqueue fail-fast — at capacity/above watermark they reject immediately rather than producer-wait. Admission rejections route to the DLQ when one is configured.

Added

  • LevelUp.Bifrost.Concurrency — the MultiQueue ConcurrentPriorityQueue (relaxed, lock-striped) and exact-ordering LockingPriorityQueue.
  • Priority dispatch (opt-in) — WorkClass tags, dispatch strategies behind IWorkQueue<T>, and PriorityBinding with a hardware×capacity-aware Auto default. Strict FIFO remains the default.
  • Virtual-time priority key + class-aware watermark admission with a bounded starvation window.
  • Queue-wait / rejection observability, plus soak + benchmark suites.
  • Durable scheduling (LevelUp.Bifrost.Scheduling + .Core + .Testing) — cron/interval cadences (Cronos), a virtual-time tick engine, per-fire DI scopes, missed-fire policies, a health check, and a deterministic test harness.

Migration from 0.4.x

// before
await orchestrator.EnqueueAsync(work);
// after
var result = await orchestrator.EnqueueAsync(work);
if (!result.IsAccepted) { /* result.Reason */ }

A positional token (EnqueueAsync(work, ct)) no longer compiles — the second parameter is now WorkClass; pass ct: by name.

v0.4.0 — API Surface Improvements

Choose a tag to compare

@rsalus rsalus released this 16 Mar 01:32
6a93df7

What's New

Handler Registration API

  • WithHandler<TWork, THandler>() with type-based, factory, and delegate overloads for flexible handler registration

Scoped Handler Support

  • ScopedHandlerProxy for per-item DI scope isolation (EF Core DbContext, etc.)

DLQ Extensibility

  • IDeadLetterSubscriber<TWork>, WithDeadLetterSubscriber(), and multi-subscriber notifier

EventStream + DLQ Wiring

  • Dead-lettered items automatically publish to the event stream

DrainAsync

  • Graceful drain support for zero-downtime deployments

Handler Decorator Extensibility

  • WithHandlerDecorator() for custom cross-cutting concerns

Improvements

  • DeadLetterNotifier now logs subscriber errors instead of silently swallowing
  • EventStreamOrchestrator is drain-safe for late subscribers
  • Comprehensive XML documentation for resilience/DLQ interaction model

Stats

38 files changed, 609 tests, 92.91% coverage

Full Changelog: v0.3.5...v0.4.0