Gap
After #4924, the except ImportError handler in _start_community_clustering_loop() logs:
```
"graspologic not installed — community clustering disabled. "
"Install graspologic and restart to enable. Retrying in 24h. Error: %s"
```
The phrase "restart to enable" is now wrong. The whole point of #4924 was that a restart is no longer needed — the loop retries automatically every 24 hours. The current message gives operators incorrect recovery instructions.
The same wrong string is hardcoded in the test at community_clusterer_test.py:240.
Location
autobot-backend/initialization/lifespan.py — _start_community_clustering_loop()._loop(), line 1282
autobot-backend/services/mesh_brain/community_clusterer_test.py — line 240 (test asserts the exact string)
Fix
Change the message to remove the restart instruction:
```python
logger.warning(
"graspologic not installed — community clustering paused. "
"Install with: pip install graspologic. Retrying in 24h. Error: %s",
exc,
)
```
Update the test assertion to match the corrected string.
Acceptance Criteria
- Log message does not mention "restart"
- Message accurately describes the auto-retry behavior
- Test updated to assert the corrected string
Gap
After #4924, the
except ImportErrorhandler in_start_community_clustering_loop()logs:```
"graspologic not installed — community clustering disabled. "
"Install graspologic and restart to enable. Retrying in 24h. Error: %s"
```
The phrase "restart to enable" is now wrong. The whole point of #4924 was that a restart is no longer needed — the loop retries automatically every 24 hours. The current message gives operators incorrect recovery instructions.
The same wrong string is hardcoded in the test at
community_clusterer_test.py:240.Location
autobot-backend/initialization/lifespan.py—_start_community_clustering_loop()._loop(), line 1282autobot-backend/services/mesh_brain/community_clusterer_test.py— line 240 (test asserts the exact string)Fix
Change the message to remove the restart instruction:
```python
logger.warning(
"graspologic not installed — community clustering paused. "
"Install with: pip install graspologic. Retrying in 24h. Error: %s",
exc,
)
```
Update the test assertion to match the corrected string.
Acceptance Criteria