From 77c35d8ca981b1857eff09d87cde59222d430933 Mon Sep 17 00:00:00 2001 From: Douglas Viroel Date: Tue, 30 Dec 2025 14:05:28 -0300 Subject: [PATCH] Update git submodules * Update watcher from branch 'master' to e45860787f9213c4866b60d6ef7e787bc97c0fdc - Adds support for threading mode in applier To support threading mode in the applier, this patch switches taskflow engine to serial when eventlet is not patched. This avoids an issue caused by the multiple threads reading/writing Action objects when running with parallel engine. This limitation should be adressed in a different patch which may also require a refactoring in database api and how watcher manages its sessions and contexts. Changes: 1. Add InlineThread class - Executes functions synchronously while maintaining thread interface 2. Use serial engine for threading mode - Switches to taskflow serial engine when eventlet is not patched 3. Replace default GreenThreadPoolExecutor in TriggerActionPlan - A new executor will be created based on the thread mode configured 4. Adds helper functions to spawn, start, wait and kill threads - The thread will be handled based on the thread mode configured 5. Threading mode job and tox-threading updated to include applier - These jobs will now enable threading mode for the applier content and service Assisted-By: claude-code sonnet-4.5 Co-Authored-By: Sean Mooney Change-Id: I85926cdd1e4393be42fe6d543af50bf2948b5ce6 Signed-off-by: Douglas Viroel --- watcher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watcher b/watcher index 1d32e734f3..e45860787f 160000 --- a/watcher +++ b/watcher @@ -1 +1 @@ -Subproject commit 1d32e734f34db23b5aa444f9c3d22a13bef058b1 +Subproject commit e45860787f9213c4866b60d6ef7e787bc97c0fdc