You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Type Safety** - Fixed Redis adapter type handling
42
+
- Added type check for unexpected awaitable results from sync Redis client in `spop()` method
43
+
- Prevents async/sync mismatch errors in Redis operations
44
+
5
45
## [v4.2.0] - 2026-02-21
6
46
7
47
### Added
@@ -20,17 +60,34 @@ All notable changes to ArchiPy are documented in this changelog, organized by ve
20
60
- Implemented `_is_prometheus_server_running()` helper to detect existing Prometheus servers
21
61
- Prevents duplicate Prometheus server starts across FastAPI and gRPC applications
22
62
- Checks port availability before starting Prometheus HTTP server
63
+
- Added `prometheus_utils` module with `is_prometheus_server_running()` and `start_prometheus_server_if_needed()` helpers for shared Prometheus server management across adapters
23
64
24
65
#### Adapters - Temporal
25
66
67
+
-**Prometheus Metrics Integration** - Added Temporal metrics collection with Prometheus
68
+
- Implemented `TemporalRuntimeManager` singleton for managing Runtime instances with telemetry
69
+
- Integrated Runtime with PrometheusConfig into TemporalAdapter client and Worker
70
+
- Added `ENABLE_METRICS` and `METRICS_PORT` configuration options to `TemporalConfig`
71
+
- Temporal SDK metrics now exported to Prometheus when metrics are enabled
72
+
- Metrics include workflow operations, activity executions, and task queue operations
73
+
26
74
-**BDD Test Coverage** - Added comprehensive Behave tests for Temporal adapter
27
75
- Implemented persistent event loop per scenario to keep workers alive across steps
28
76
- Added test workflows and activities for various scenarios (greeting, signal/query, timeout, retry)
29
77
- Integrated Temporal container support with dev mode SQLite backend
30
78
- Fixed workflow execution to use `run_async` helper for proper async handling
79
+
- Added BDD tests for Temporal metrics collection scenarios
31
80
32
81
### Changed
33
82
83
+
#### Configs
84
+
85
+
-**Prometheus Configuration** - Added Prometheus configuration to BaseConfig
86
+
- Added `PROMETHEUS.IS_ENABLED` flag for enabling/disabling Prometheus metrics globally
87
+
- Added `PROMETHEUS.SERVER_PORT` configuration for Prometheus HTTP server port
88
+
- Updated `.env.test` with Prometheus configuration for testing
0 commit comments