Skip to content

1.0.0-rc.7

Pre-release
Pre-release

Choose a tag to compare

@marko444 marko444 released this 31 Oct 03:50
· 729 commits to main since this release

The seventh release candidate for 1.0.0. It rebuilds scheduling around an admission engine, adds calendars and per-occurrence delivery, fixes what an external review of rc.6 found, renames Acta's log fields, and drops dependencies.

Upgrading from rc.6: drop and reprovision every database an rc.6 build provisioned: the baseline is re-cut, and nothing translates it. [JobSchedule] is [Schedule], LockScope and schedule overrides are gone, JobOutcome.TerminalStatus is Status, and every log field Acta writes carries the Acta prefix, so saved log queries must follow. The release notes list every change a consumer makes.

Highlights

  • Scheduling is admission-driven: one admitter per worker namespace evaluates each schedule when it is due, admits one firing per slot, and moves the cursor at admission; CatchUpLatest, CatchUpAll, and expiring occurrences join the misfire strategies.
  • Calendars, in code ([Calendar]) or as a versioned catalog per namespace and shared, drive occurrences or limit a schedule to open hours.
  • [Job(ScheduledDelivery = ScheduledDeliveryCode.PerOccurrence)] delivers each occurrence as a fresh root job, bounded by MaxOutstanding.
  • Fixes from the external review: a timed-out child's cancel is fenced to the attempt that holds its parent, a typed wait refuses another definition's result, an outbox command never replaces a planned one, and a wake never breaks its caller.
  • Acta Verify 2: written scenario files, rate ladders, a report that answers first, and a published benchmark page.

Evidence: the engine is certified on e294a8b91; the commits after it change only Acta Verify and the docs. Under the Acta Verify release suite on PostgreSQL, SQL Server, and SQLite, no scenario failed safety or liveness, and every trial's ledger passed the certification checks; the four scenarios the release run could not judge, for reasons in Acta Verify, passed on a rerun against the same engine (54ddd670e). The chaos certification ran 1,000,000 jobs on PostgreSQL and on SQL Server with 24 workers of 64 executors and a worker killed every 5 s, and every busy worker's work was reclaimed. Four PostgreSQL workers completed 12,430 fully executed, durably completed jobs per second with p99 1.0 s, one worker 10,017 (rc.6: 7,680), and eight workers drained a backlog of a million jobs at 70,085 a second. Report: docs/benchmark.md and useacta.net/benchmark.

Release notes: https://github.com/acta-dotnet/acta/blob/v1.0.0-rc.7/docs/release-notes.md