HAL9000
4e982a0366
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 1m7s
CI / typecheck (pull_request) Successful in 1m2s
CI / quality (pull_request) Successful in 49s
CI / benchmark-regression (pull_request) Failing after 57s
CI / helm (pull_request) Successful in 31s
CI / push-validation (pull_request) Successful in 32s
CI / build (pull_request) Successful in 36s
CI / security (pull_request) Successful in 1m21s
CI / integration_tests (pull_request) Successful in 4m3s
CI / unit_tests (pull_request) Successful in 4m32s
CI / e2e_tests (pull_request) Successful in 4m40s
CI / docker (pull_request) Successful in 1m35s
CI / coverage (pull_request) Failing after 16m53s
CI / status-check (pull_request) Has been cancelled
fix(a2a/events): guard A2aEventQueue with threading.Lock to prevent concurrent iteration crash
...
Fix a critical concurrency bug in A2aEventQueue.publish() where the method
iterates over _subscriptions without holding a lock. This causes RuntimeError:
dictionary changed size during iteration when subscribe_local/unsubscribe are
called concurrently from other threads.
The fix introduces a threading.Lock to protect all state mutations and
dictionary access in the A2aEventQueue class, while carefully ensuring callbacks
are invoked outside the lock to prevent potential deadlocks.
Changes:
- src/cleveragents/a2a/events.py: Added _lock attribute, protected
__init__, is_closed, publish, subscribe_local, unsubscribe, get_events,
and close methods with threading.Lock snapshot pattern for callbacks.
- features/a2a_event_queue_concurrency.feature: BDD feature file with 6
scenarios covering concurrent publish/subscribe/unsubscribe safety.
- features/steps/a2a_event_queue_concurrency_steps.py: Step definitions
implementing multi-threaded concurrency test harness.
ISSUES CLOSED : #7604
2026-05-08 15:05:49 +00:00
..
2026-04-05 17:53:56 +00:00
2026-05-08 15:05:49 +00:00
2026-04-05 17:53:56 +00:00
2026-04-04 20:38:16 +00:00
2026-04-05 17:53:56 +00:00
2026-04-05 17:53:56 +00:00
2026-04-05 21:10:14 +00:00
2026-04-28 03:22:06 +00:00
2026-04-23 11:46:36 +00:00
2026-05-07 20:05:33 +00:00
2026-05-01 09:10:48 +00:00
2026-04-05 21:26:33 +00:00
2026-05-07 20:05:33 +00:00
2026-04-05 21:19:40 +00:00
2026-05-07 20:05:33 +00:00
2026-04-17 16:28:45 +08:00
2026-04-05 21:19:40 +00:00
2026-04-30 10:56:21 +00:00
2026-05-06 01:07:15 +00:00
2026-05-06 04:08:25 +00:00
2026-05-06 04:08:25 +00:00
2026-04-27 05:00:54 +00:00
2026-04-27 05:00:54 +00:00
2026-04-27 05:00:54 +00:00
2026-05-05 01:33:31 +00:00
2026-04-17 16:28:45 +08:00
2026-04-30 10:56:21 +00:00
2026-04-17 16:28:45 +08:00
2026-04-30 10:56:21 +00:00
2026-04-30 10:56:21 +00:00
2026-04-27 05:00:54 +00:00
2026-04-23 16:15:49 +00:00
2026-04-30 10:56:21 +00:00
2026-04-05 18:18:08 +00:00
2026-04-23 12:19:50 +00:00
2026-04-30 10:56:21 +00:00
2026-04-30 10:56:21 +00:00
2026-05-06 04:08:25 +00:00
2026-04-30 02:05:12 +00:00
2026-04-27 05:00:54 +00:00
2026-04-27 05:00:54 +00:00
2026-05-03 00:17:15 +00:00
2026-04-04 20:38:16 +00:00
2026-04-04 20:38:16 +00:00
2026-05-02 21:54:17 +00:00
2026-05-05 02:01:49 +00:00
2026-04-05 09:46:16 +00:00
2026-04-23 09:08:11 +00:00
2026-05-07 18:09:26 +08:00
2026-04-05 17:55:54 +00:00
2026-04-30 10:56:21 +00:00
2026-04-20 14:27:44 +00:00
2026-04-05 21:13:07 +00:00
2026-04-05 21:13:07 +00:00
2026-05-03 00:39:15 +00:00
2026-04-17 18:34:16 +00:00
2026-04-17 18:34:16 +00:00
2026-04-17 18:34:16 +00:00
2026-04-17 11:46:38 +00:00
2026-05-05 02:01:49 +00:00
2026-05-05 02:01:49 +00:00
2026-04-05 08:39:14 +00:00
2026-05-05 02:01:49 +00:00
2026-05-07 18:09:25 +08:00
2026-04-05 19:48:40 +00:00
2026-05-05 02:01:49 +00:00
2026-04-30 19:40:33 +00:00
2026-04-05 08:39:14 +00:00
2026-04-05 19:48:40 +00:00
2026-04-05 19:48:40 +00:00
2026-04-05 19:48:40 +00:00
2026-04-05 19:48:40 +00:00
2026-04-30 10:56:21 +00:00
2026-04-05 04:33:46 +00:00
2026-04-05 04:33:46 +00:00
2026-04-05 20:56:32 +00:00
2026-04-09 13:00:47 +00:00
2026-04-15 00:24:13 +00:00
2026-04-12 16:43:30 +00:00
2026-04-05 04:09:27 +00:00
2026-05-05 02:01:49 +00:00
2026-05-05 02:01:49 +00:00
2026-05-05 02:01:49 +00:00
2026-04-04 20:38:16 +00:00
2026-04-04 20:38:16 +00:00
2026-04-21 16:53:08 +00:00
2026-04-27 05:00:54 +00:00
2026-04-21 16:53:08 +00:00
2026-04-21 16:53:08 +00:00
2026-04-21 16:53:08 +00:00
2026-05-08 05:14:03 +00:00
2026-04-24 05:45:20 +00:00
2026-05-07 23:49:20 +00:00
2026-04-04 20:38:16 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 21:06:04 +00:00
2026-04-20 06:08:50 +00:00
2026-04-08 11:02:14 +00:00
2026-05-07 20:05:33 +00:00
2026-04-30 10:56:21 +00:00
2026-04-24 22:46:41 +00:00
2026-04-30 14:56:33 +00:00
2026-04-05 17:49:20 +00:00
2026-05-05 05:25:28 +00:00
2026-04-09 14:17:50 +00:00
2026-04-28 04:06:57 +00:00
2026-04-28 04:06:57 +00:00
2026-04-05 18:20:15 +00:00
2026-04-05 18:20:15 +00:00
2026-04-05 05:46:05 +00:00
2026-04-28 04:06:57 +00:00
2026-04-17 22:49:46 +00:00
2026-04-05 08:26:50 +00:00
2026-05-05 09:57:46 +00:00
2026-04-05 07:06:53 +00:00
2026-04-23 09:22:33 +00:00
2026-04-04 23:48:02 +00:00
2026-04-04 20:38:16 +00:00
2026-04-04 20:38:16 +00:00
2026-04-05 07:48:02 +00:00
2026-04-19 17:10:17 +00:00
2026-05-05 11:05:07 +00:00
2026-04-24 10:32:15 +00:00
2026-04-21 03:38:05 +00:00
2026-04-17 08:34:33 +00:00
2026-04-09 14:17:50 +00:00
2026-05-05 02:01:49 +00:00
2026-05-05 02:01:49 +00:00
2026-05-05 02:01:49 +00:00
2026-04-05 21:11:36 +00:00
2026-04-17 08:34:33 +00:00
2026-05-05 02:01:49 +00:00
2026-04-17 08:34:33 +00:00
2026-05-05 02:01:49 +00:00
2026-04-17 08:34:33 +00:00
2026-04-21 11:31:15 +00:00
2026-05-07 20:05:33 +00:00
2026-04-30 14:56:33 +00:00
2026-04-05 20:46:24 +00:00
2026-04-05 19:48:40 +00:00
2026-05-07 20:05:33 +00:00
2026-04-24 10:32:15 +00:00
2026-05-07 20:05:33 +00:00
2026-04-04 20:38:16 +00:00
2026-05-03 23:11:39 +00:00
2026-04-17 16:28:45 +08:00
2026-04-04 20:38:16 +00:00
2026-04-05 04:38:31 +00:00
2026-05-05 02:01:49 +00:00
2026-04-09 06:11:39 +00:00
2026-04-05 19:48:40 +00:00
2026-04-15 06:37:18 +00:00
2026-05-08 09:32:29 +00:00
2026-04-04 20:38:16 +00:00
2026-05-07 18:09:25 +08:00
2026-04-10 18:59:10 +00:00
2026-04-05 08:22:36 +00:00
2026-05-08 09:57:18 +00:00
2026-05-07 20:05:33 +00:00
2026-05-05 06:16:46 +00:00
2026-05-05 06:16:46 +00:00
2026-04-27 07:33:18 +00:00
2026-04-04 20:38:16 +00:00
2026-04-04 20:38:16 +00:00
2026-04-04 20:38:16 +00:00
2026-04-05 18:13:11 +00:00
2026-04-17 11:46:38 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 07:29:35 +00:00
2026-04-05 09:03:32 +00:00
2026-04-05 08:04:27 +00:00
2026-04-30 10:03:08 +00:00
2026-05-03 00:17:15 +00:00
2026-04-05 04:37:45 +00:00
2026-04-21 11:56:19 +00:00
2026-04-04 20:38:16 +00:00
2026-04-04 23:08:32 +00:00
2026-05-07 20:05:33 +00:00
2026-04-28 06:30:26 +00:00
2026-05-05 02:01:49 +00:00
2026-05-05 02:01:49 +00:00
2026-05-05 02:01:49 +00:00
2026-05-05 02:01:49 +00:00
2026-05-05 10:56:18 +00:00
2026-04-28 06:30:26 +00:00
2026-04-21 15:36:09 +01:00
2026-04-05 09:38:43 +00:00
2026-05-07 20:05:33 +00:00
2026-04-04 20:38:16 +00:00
2026-04-05 07:15:48 +00:00
2026-04-22 00:45:09 +00:00
2026-04-05 19:48:40 +00:00
2026-04-05 19:48:40 +00:00
2026-04-05 19:48:40 +00:00
2026-04-08 11:02:14 +00:00
2026-05-08 06:24:23 +00:00
2026-04-21 15:36:09 +01:00
2026-04-05 07:18:27 +00:00
2026-04-30 10:56:21 +00:00
2026-04-30 10:56:21 +00:00
2026-04-25 04:21:23 +00:00
2026-04-06 07:55:09 +00:00
2026-04-05 08:22:45 +00:00
2026-04-05 17:52:59 +00:00
2026-05-05 02:01:49 +00:00
2026-04-15 13:37:16 +08:00
2026-04-28 09:23:33 +00:00
2026-04-05 07:39:57 +00:00
2026-04-21 06:42:10 +00:00
2026-04-28 10:12:06 +00:00
2026-05-05 04:04:13 +00:00
2026-04-26 18:23:48 +00:00
2026-04-26 12:19:34 +00:00
2026-05-05 09:37:22 +00:00
2026-05-02 21:57:54 +00:00
2026-04-27 02:06:23 +00:00
2026-04-24 11:05:02 +00:00
2026-05-05 17:48:39 +00:00
2026-04-24 22:46:41 +00:00
2026-05-07 14:22:57 +00:00
2026-04-13 21:16:55 +00:00
2026-04-10 05:21:24 +00:00
2026-04-26 17:36:29 +00:00
2026-04-04 20:38:16 +00:00
2026-05-07 19:14:53 +00:00
2026-04-21 15:36:09 +01:00
2026-04-21 15:36:09 +01:00
2026-04-27 01:12:35 +00:00
2026-04-23 18:29:11 +00:00
2026-04-22 00:45:09 +00:00
2026-04-13 18:49:11 +00:00
2026-04-08 11:02:14 +00:00
2026-04-28 07:33:43 +00:00
2026-04-24 04:11:54 +00:00
2026-04-21 08:45:06 +00:00
2026-04-06 07:55:09 +00:00
2026-04-05 04:19:52 +00:00
2026-04-06 07:55:09 +00:00
2026-04-06 07:55:09 +00:00
2026-05-08 11:15:36 +00:00
2026-04-05 18:08:09 +00:00
2026-04-04 20:38:16 +00:00
2026-04-05 18:08:09 +00:00
2026-04-05 18:09:41 +00:00
2026-05-08 11:15:36 +00:00
2026-04-23 23:01:46 +00:00
2026-05-08 11:15:36 +00:00
2026-04-05 17:52:30 +00:00
2026-04-05 17:50:51 +00:00
2026-04-05 17:50:51 +00:00
2026-04-06 07:55:09 +00:00
2026-04-05 17:52:59 +00:00
2026-04-30 10:56:21 +00:00
2026-04-04 20:38:16 +00:00