Skip to content

[CI] Mutation Testing failing on main: backend and ai-engine #747

@anchapin

Description

@anchapin

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

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

  1. 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
  2. Mutation testing thresholds too strict: The threshold for passing may be set too high
  3. Test flakiness: Mutation testing can be inherently flaky depending on the test suite

Suggested Fix

  1. Verify structlog is installed in the CI workflow for both backend and ai-engine
  2. Consider adjusting mutation testing thresholds or making them non-blocking
  3. If mutation testing is not critical, consider disabling it or making it optional

Tags

  • ci
  • testing
  • backend
  • ai-engine
  • bug
  • priority: medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions