Skip to content

#355 - Release the task instances and states between two messages of a worker - #356

Open
njoubert-cleverage wants to merge 1 commit into
mainfrom
355
Open

njoubert-cleverage wants to merge 1 commit into
mainfrom
355

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #355.

  • New ProcessConfigurationRegistry::reset(), tagged kernel.reset (as ProcessManager::reset()): the resolved process configurations, which hold the task instances and the ProcessState of their last execution, are forgotten between two messages of a worker, and resolved again when needed.
  • Tests: ProcessConfigurationRegistryTest, CleverAgeProcessExtensionTest.

Not changed: a process executed inside itself (recursive process_executor) still shares its task configurations with the enclosing execution.

Requirements

  • Documentation updates
    • Reference
    • Changelog
  • Unit tests

Breaking changes

None: a ProcessConfiguration kept by the application across a kernel.reset is no longer the one returned by the registry.

🤖 Generated with Claude Code

…the task instances and states of the last executions between two messages of a worker. Add tests.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

Worker memory: the task instances and states of the last execution of every process are never released

1 participant