[loop-generated] [bug] Flaky test: test_uses_model_when_available in test_memory_embeddings #454

Closed
opened 2026-03-19 18:30:17 +00:00 by Timmy · 0 comments
Owner

Bug

tests/unit/test_memory_embeddings.py::TestEmbedText::test_uses_model_when_available fails intermittently in CI but passes locally.

Evidence

  • Failed on CI run #435 (PR #452 branch kimi/issue-445)
  • Passes reliably when run locally
  • Unrelated to PR #452 changes (integration tests only)

Suggested Fix

Likely a test isolation issue — mock not fully deterministic under parallel execution or environment-dependent behavior. Needs investigation into what the test mocks and whether the model initialization has side effects.

## Bug `tests/unit/test_memory_embeddings.py::TestEmbedText::test_uses_model_when_available` fails intermittently in CI but passes locally. ### Evidence - Failed on CI run #435 (PR #452 branch kimi/issue-445) - Passes reliably when run locally - Unrelated to PR #452 changes (integration tests only) ### Suggested Fix Likely a test isolation issue — mock not fully deterministic under parallel execution or environment-dependent behavior. Needs investigation into what the test mocks and whether the model initialization has side effects.
Timmy closed this issue 2026-03-19 18:39:34 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#454