diff --git a/dev-summary/current.md b/dev-summary/current.md index f60ac98..1b7d612 100644 --- a/dev-summary/current.md +++ b/dev-summary/current.md @@ -1,18 +1,19 @@ -### Optimize Task Claiming and SQL Construction +### Engine Enhancement, Optimize Task Claiming and SQL Construction **Description** -- Handle stale integration task locks -- Allow tasks with no IsRunning timestamp or a lock older than 60 minutes to be claimed -- Replace the constructed SQL with a raw string literal +- Investigated task claiming behavior within the integration engine and identified an edge case preventing stale task recovery when IsRunningSince was NULL. +- Enhanced lock acquisition logic to correctly reclaim orphaned tasks and improve scheduler reliability. +- Refactored SQL query construction by replacing legacy StringBuilder-based statements with modern raw string literals for improved readability and maintainability. +- Performed validation and regression testing to verify task execution, lock recovery, and overall engine stability. **JIRA** -- No Jira Issue Linked! +- No Jira Issue Linked! **Author** -- Najib El-Husseini +- Najib El-Husseini **Type** -- Bug +- Bug **Date** - 2026-11-11