Skip to content

Batch mode for "Create new from incomplete" #191

@co-stig

Description

@co-stig

Today each new workitem produces an individual write to an event source:

2025-08-11 08:51:24,005 - fk.core.abstract_event_emitter - DEBUG -  < FileEventSource._emit(BeforeMessageProcessed)
...
2025-08-11 08:51:24,005 - fk.core.abstract_event_emitter - DEBUG -  < FileEventSource._emit(AfterMessageProcessed)

We should see if this can be done in a single write / transaction. AbstractEventSource already supports writing multiple strategies at once, so we just need to figure out how to batch several .execute() calls.

This can also apply to Import use cases, and we'll use that for multiselect later, too.

This will increase performance in certain scenarios.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions