Skip to content

1.0.0-rc.8

Pre-release
Pre-release

Choose a tag to compare

@marko444 marko444 released this 02 Nov 11:33
· 686 commits to main since this release

The eighth release candidate for 1.0.0. It fixes what the 1.0 readiness reviews found, queues each process's SQLite writes in order, stops Redis wakes reaching every process, and measures Acta Verify's trials as applications run them.

Upgrading from rc.7: drop and reprovision every database an rc.7 build provisioned: the baseline is re-cut, and nothing translates it. On PostgreSQL and SQLite, create a producer's outbox table again from its CreateScript(). A retired definition that a newer build registers again now resumes its schedules from now. The release notes list every change a consumer makes.

Highlights

  • Schedules: an exhausted cursor is never written back, an admission checks every schedule it read against its declaration version, a namespace suspension fences admissions already planned and Run now, and a retire leaves a recurring job's slot inert until the definition comes back.
  • The outbox staging table checks ids, priorities, delays, failure counts, and run instants, so one bad row can no longer stop a relay's claim batch.
  • SQLite: writes to one file queue in the process and run in arrival order, so a flood of enqueues no longer starves the worker.
  • Redis: a process publishes a namespace's wake at most once per 10 ms, and completion wakes reach only the processes waiting for that job, so sixteen workers woken through Redis no longer run slower than the same fleet polling.
  • A metrics listener that throws no longer stops a worker, explain reads one snapshot, and the rate-limit contract states what the meter enforces.
  • Acta Verify measures one-worker trials in the enqueuing process, names how each claim's workers learn of new work, adds Redis twins, and lists floors that held at four times under rates to raise.

Evidence: the engine is certified on 5043b81fa; the commits after it change only the docs, the site, the README, and three conformance specs' timing on a loaded CI runner. Under the Acta Verify release suite on PostgreSQL, SQL Server, and SQLite, every correctness, fault, and chaos scenario passed, every trial's ledger passed the certification checks, and every performance floor held. Two earlier release runs (a2b1f66a5, 63bd6946b) did not pass; the Redis fix and two Acta Verify fixes (d80d1c3a2, 04a2100e9) followed, and the whole suite ran again. 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,438 fully executed, durably completed jobs per second with p99 1.0 s, one worker woken in process 7,500 with p99 72 ms, sixteen workers woken through Redis 12,800 with p99 787 ms, and eight workers drained a backlog of a million jobs at 73,211 a second. Report: docs/benchmark.md and useacta.net/benchmark.

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