Skip to content

@nestarc/inbox 0.2.0

Latest

Choose a tag to compare

@ksyq12 ksyq12 released this 28 Oct 13:31

Adds bounded application-testing helpers and repeatable operational recovery checks. Existing 0.1.0 installations retain SQL schema v2 and need no migration.

  • @nestarc/inbox/testing: drainInbox, waitForInboxRecord, and typed diagnostic errors, verified through real PostgreSQL and an independently installed tarball.
  • Operational checks for TCP disconnection/blackholes, pool pressure, real SIGTERM drain, physical PostgreSQL standby promotion, bounded tablespace ENOSPC, and RabbitMQ restart/retry/DLQ recovery.
  • Disk-backed concurrent-ingress benchmarks with pool pressure, hot/cold tenant latency, retry recovery, retention measurements, and raw results.
  • A release-blocking operational CI job and improved waiting for npm post-publication scanning.

Local validation: 105 unit tests, 46 release checks, three new PostgreSQL helper cases, five network/pool/shutdown cases, two database failure scenarios, and five RabbitMQ scenarios. The release workflow separately validates the tagged candidate on Node 22/24 and PostgreSQL 16/18 and checks all eight examples.

Operational evidence is deliberately scoped: standby replay is confirmed before promotion; ENOSPC affects a bounded business tablespace; load samples cover several minutes on a local Docker VM. Real-service adoption was excluded from this release's work.

See testing helpers, validation, and sustained measurements.

The main CI run passed all four Node/PostgreSQL combinations, all eight examples, and the operational recovery gate at commit ca73c142c3857967b9d30a6063736f5805331bb8.