Skip to content

docs: name the sibling libraries and use omni-box in the worker blueprint - #108

Merged
AlexeyShalaev merged 1 commit into
masterfrom
docs/sibling-library-names
Nov 11, 2026
Merged

AlexeyShalaev merged 1 commit into
masterfrom
docs/sibling-library-names

Conversation

@AlexeyShalaev

Copy link
Copy Markdown
Member

The docs still named two libraries that no longer exist. A coding agent following them could not find either one.

  • The infrastructure page said PostgresWarmer takes the shape of sqlalchemy-postgres-kit. That library was folded into sqlalchemy-foundation-kit, whose AsyncSessionManager has get_session(), and whose .session_maker is what PostgresHealthCheck takes.
  • ARCHITECTURE.md listed rest-client-kit among the satellites. clientwright replaced it; it writes the default Prometheus registry too, so the reasoning there holds. sqlalchemy-* there is now sqlalchemy-foundation-kit.

The worker blueprint's outbox step called publisher.publish_batch(limit=100) on an OutboxPublisher taken from the container. omni-box, the organisation's outbox library, has a class of that exact name with a different call: publish_batch(worker_id=..., batch_size=...). It also needs a repository bound to the session of a transaction it does not open itself, so one long-lived publisher from the container cannot work. The step now uses omni-box as it is: the session maker and the producer come from the loop's scope, and each batch runs in its own session.begin(). This loop, with the producer from aiokafka-foundation-kit, relayed every outbox row to Kafka in a service assembled from the released libraries.

@AlexeyShalaev
AlexeyShalaev merged commit e51a741 into master Nov 11, 2026
7 checks passed
@AlexeyShalaev
AlexeyShalaev deleted the docs/sibling-library-names branch November 11, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant