| #484 |
Performance: Unnecessary list() in db.py singleton cleanup
engine/db.py:532 - list(SingletonMeta._instances.values()) when no modification during iteration. FI...
|
closed |
medium |
2025-12-17 02:25 |
- |
|
| #483 |
Race Condition: SidecarTelemetry __init__ attribute race
engine/sidecar_telemetry.py:74-90 - Singleton __init__ called every time. _initialized check not ato...
|
closed |
medium |
2025-12-17 02:25 |
- |
|
| #482 |
Performance: Regex not pre-compiled in durable_context.py
engine/durable_context.py:1621 - Regex pattern compiled inline. FIX: Pre-compile at module level.
|
closed |
medium |
2025-12-17 02:25 |
- |
|
| #481 |
Performance: Regex not pre-compiled in activity_context.py
engine/activity_context.py:151-160 - resolve_variable_references() compiles regex on every call. Hot...
|
closed |
high |
2025-12-17 02:25 |
- |
|
| #480 |
Race Condition: Circuit breaker storage singleton without lock
engine/config.py:337-365 - _get_circuit_breaker_storage() creates singleton without thread-safe lock...
|
closed |
high |
2025-12-17 02:25 |
- |
|
| #479 |
Performance: Inefficient last-key access with tuple(dict.keys())[-1]
engine/interpreters/inline_executor.py:690,893
Getting last key via tuple conversion is inefficient...
|
closed |
medium |
2025-12-17 01:42 |
- |
|
| #478 |
Race Condition: Tool registry lazy load without lock
engine/tools/registry.py:205-211
_ensure_lazy_tools() has race condition:
```python
if not self._la...
|
closed |
low |
2025-12-17 01:42 |
- |
|
| #477 |
Memory Leak: Tool registry never cleaned
engine/tools/registry.py:103-104
ToolRegistry._tools dict grows unbounded:
- App tools added dynami...
|
closed |
medium |
2025-12-17 01:42 |
- |
|
| #476 |
Race Condition: Cache eviction KeyError in activity_worker and config
engine/services/activity_worker.py:105-126
engine/config.py:632-644
Cache eviction can raise KeyErr...
|
closed |
medium |
2025-12-17 01:42 |
- |
|
| #475 |
Race Condition: File deduplication missing ON CONFLICT
engine/services/storage_service.py:114-131
File store deduplication has TOCTOU race:
1. Store file ...
|
closed |
medium |
2025-12-17 01:42 |
- |
|
| #474 |
Performance: Regex compiled on every call in variable_resolver.py
engine/interpreters/variable_resolver.py lines 196, 207, 240
Hot path compiles regex patterns on ev...
|
closed |
high |
2025-12-17 01:42 |
- |
|
| #473 |
Race Condition: Vault cache read-modify-write without lock
engine/config.py:227-285
Vault cache operations not protected by lock:
1. Cache read at line 227-24...
|
closed |
high |
2025-12-17 01:42 |
- |
|
| #472 |
Race Condition: StorageService.provider lazy init without lock
engine/services/storage_service.py:67-76
StorageService.provider property uses lazy initialization ...
|
closed |
high |
2025-12-17 01:42 |
- |
|
| #471 |
Performance: Unnecessary list() around dict.keys() in multiple files
Several files wrap dict.keys() in list() unnecessarily for iteration:
1. engine/tools/parallel_join...
|
closed |
low |
2025-12-17 01:11 |
- |
|
| #470 |
Code Quality: Module constant lists should be tuples for immutability
Three module-level constants are defined as lists but never modified. Should be tuples:
1. engine/s...
|
closed |
medium |
2025-12-17 01:11 |
- |
|
| #469 |
Performance: O(N log N) sorted() for cache eviction in activity_worker.py
engine/services/activity_worker.py:120-125 uses sorted() for LRU cache eviction.
sorted() is O(N lo...
|
closed |
low |
2025-12-17 01:11 |
- |
|
| #468 |
Performance: Regex compiled on every call in operators.py and variable_resolver.py
Multiple hot-path functions compile regex patterns on every call instead of once:
1. engine/interpr...
|
closed |
medium |
2025-12-17 01:11 |
- |
|
| #467 |
Race Condition: notification_count increment without lock in activity_worker.py
engine/services/activity_worker.py:252-254 increments notification_count without synchronization.
I...
|
closed |
medium |
2025-12-17 01:11 |
- |
|
| #466 |
Race Condition: _last_cache_check_time modified without lock in http_request.py
engine/tools/http_request.py:209-231 modifies module-level _last_cache_check_time without synchroniz...
|
closed |
medium |
2025-12-17 01:11 |
- |
|
| #465 |
Race Condition: TOCTOU in http_request.py and shell_command.py cache check
Two files have Time-Of-Check-Time-Of-Use (TOCTOU) race conditions in _should_clear_cache():
1. engi...
|
closed |
high |
2025-12-17 01:11 |
- |
|