-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Description
Mutation testing jobs are failing on main branch for both backend and ai-engine projects. This is a pre-existing issue not caused by recent PRs.
Failing Jobs
- Workflow: CI - Integration Tests (Optimized)
- Jobs:
- Mutation Testing - Python (backend) - Run ID 66168591261
- Mutation Testing - Python (ai-engine) - Run ID 66168591262
- Example Run: https://github.com/anchapin/ModPorter-AI/actions/runs/22811269353
Expected Behavior
Mutation tests should pass (or be skipped if intentionally disabled) on the main branch.
Actual Behavior
Both mutation testing jobs fail:
- step fails in backend
- step fails in ai-engine
Possible Causes
- structlog dependency missing: Recent PRs (fix: CI Mutation Testing structlog module (#738) #741) added structlog for CI debugging but may not have been applied consistently
- Mutation testing thresholds too strict: The threshold for passing may be set too high
- Test flakiness: Mutation testing can be inherently flaky depending on the test suite
Suggested Fix
- Verify structlog is installed in the CI workflow for both backend and ai-engine
- Consider adjusting mutation testing thresholds or making them non-blocking
- If mutation testing is not critical, consider disabling it or making it optional
Tags
- ci
- testing
- backend
- ai-engine
- bug
- priority: medium
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels