mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 14:00:37 +00:00
The event consumer lived in app.tasks.event-consumer, but it is not a domain task: it is the machinery of the audit log, next to the queues it drains and next to the other two consumers. The transport was in app.loggers.audit.consumer-task, a name that says "the task" when it holds the three of them. Both are now app.loggers.audit.consumers: the queue helpers, the drain, the three job-defs and the registry of reactions live in one namespace, and app.tasks.event-consumer is gone. The team-storage reaction stays where it was, in app.tasks.team-storage, since it owns the table and the SQL of its mark. The tests follow: the consumer test is now backend-tests.loggers-audit-consumers-test, and the tests of the reactions live in it. AI-assisted-by: minimax-m3.1-flash