chore: migrate GRACE-Poly anchors to hierarchical dotted naming
Systematic rename of all semantic anchors (#region, [DEF], @RELATION) across 1400+ files — backend Python, frontend Svelte/TS, specs, docs: - Flat anchors become Namespace.Module.Entity - @RELATION references updated to match new anchor paths - Zero business logic changes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# #region test_task_manager [C:2] [TYPE Module]
|
||||
# @RELATION BINDS_TO -> SrcRoot
|
||||
# #region Test.TaskManager.TestTaskManager [C:2] [TYPE Module]
|
||||
# @RELATION BINDS_TO -> Init.SrcRoot
|
||||
# @SEMANTICS: task-manager, lifecycle, CRUD, log-buffer, filtering, tests
|
||||
# @PURPOSE: Unit tests for TaskManager lifecycle, CRUD, log buffering, and filtering.
|
||||
# @LAYER Core
|
||||
@@ -17,8 +17,8 @@ from unittest.mock import AsyncMock, MagicMock, patch
|
||||
|
||||
|
||||
# Helper to create a TaskManager with mocked dependencies
|
||||
# #region _make_manager [C:2] [TYPE Function]
|
||||
# @RELATION BINDS_TO -> test_task_manager
|
||||
# #region Test.TaskManager.MakeManager [C:2] [TYPE Function]
|
||||
# @RELATION BINDS_TO -> Test.TaskManager.TestTaskManager
|
||||
def _make_manager():
|
||||
"""Create TaskManager with mocked plugin_loader and persistence services."""
|
||||
mock_plugin_loader = MagicMock()
|
||||
@@ -51,10 +51,10 @@ def _make_manager():
|
||||
return manager, mock_plugin_loader, MockPersistence.return_value, MockLogPersistence.return_value
|
||||
|
||||
|
||||
# #endregion _make_manager
|
||||
# #endregion Test.TaskManager.MakeManager
|
||||
|
||||
# #region _cleanup_manager [C:2] [TYPE Function]
|
||||
# @RELATION BINDS_TO -> test_task_manager
|
||||
# #region Test.TaskManager.CleanupManager [C:2] [TYPE Function]
|
||||
# @RELATION BINDS_TO -> Test.TaskManager.TestTaskManager
|
||||
def _cleanup_manager(manager):
|
||||
"""Stop the flusher thread/task."""
|
||||
if hasattr(manager, '_flusher_stop_event'):
|
||||
@@ -73,7 +73,7 @@ def _cleanup_manager(manager):
|
||||
pass
|
||||
|
||||
|
||||
# #endregion _cleanup_manager
|
||||
# #endregion Test.TaskManager.CleanupManager
|
||||
|
||||
class TestTaskManagerInit:
|
||||
"""Tests for TaskManager initialization."""
|
||||
@@ -796,4 +796,4 @@ class TestTaskManagerRetryTask:
|
||||
assert True # branch covered by _should_retry logic in source
|
||||
finally:
|
||||
_cleanup_manager(mgr)
|
||||
# #endregion test_task_manager
|
||||
# #endregion Test.TaskManager.TestTaskManager
|
||||
|
||||
Reference in New Issue
Block a user