claude-memory/graph/solutions/fix-soak-and-draftlist-test-failures-c29d2f.md
Cal Corum 34bb613c57 Add 20 retroactive edges and sync pending memory updates
- 20 new high-quality edges across 8 project clusters
- Edge types: BUILDS_ON, RELATED_TO, ALTERNATIVE_TO, REQUIRES
- Updated relation metadata on connected memories
- New episode entries and memory files from recent sessions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 23:34:07 -06:00

25 lines
1.1 KiB
Markdown

---
id: c29d2fb4-d2f6-46e9-a95a-8d6ae4110db8
type: solution
title: "Fix SOAK and DraftList test failures"
tags: [major-domo, python, test-fix, pydantic]
importance: 0.5
confidence: 0.8
created: "2025-12-09T00:23:12.413916+00:00"
updated: "2026-02-20T04:33:02.463395+00:00"
relations:
- target: 7888f693-4914-437b-97f0-81906fbfe69e
type: BUILDS_ON
direction: incoming
strength: 0.85
edge_id: 5dc33849-ea41-468e-99a8-4610f2da2c2e
---
Fixed two test issues in Major Domo discord-app-v2:
1. SOAK listener tests: The listener was refactored from regex pattern (SOAK_PATTERN) to simple string detection (' soak' in text.lower()). Updated tests to use a helper function matching the new logic instead of importing the removed constant.
2. DraftList model tests: The model now requires nested Team and Player objects (not just IDs) since the API returns populated objects. Updated test helper methods to create proper mock Team and Player instances with all required fields (including lname for Team).
Both fixes ensure tests match the current implementation patterns.