Skip to content

[Testing] Limit concurrency in monitoring app deployment to reduce CPU contention on slower macines#9595

Merged
assaf758 merged 1 commit intomlrun:developmentfrom
assaf758:fix/monitoring-app-flow-concurrency
Apr 21, 2026
Merged

[Testing] Limit concurrency in monitoring app deployment to reduce CPU contention on slower macines#9595
assaf758 merged 1 commit intomlrun:developmentfrom
assaf758:fix/monitoring-app-flow-concurrency

Conversation

@assaf758
Copy link
Copy Markdown
Member

Cap the ThreadPoolExecutor in _set_and_deploy_monitoring_apps to 1 workers for machines with 8 or below vCPUs.
Reason: concurrent kaniko builds are exhausting available CPUs on the self-hosted runner (8 vCPUs), causing test_app_flow to exceed the 1800s pytest timeout.

📝 Description


🛠️ Changes Made


✅ Checklist

  • I updated the documentation (if applicable)
  • I have tested the changes in this PR
  • I confirmed whether my changes are covered by system tests
    • If yes, I ran all relevant system tests and ensured they passed before submitting this PR
    • I updated existing system tests and/or added new ones if needed to cover my changes
  • If I introduced a deprecation:
  • Please run Smoke-tests workflow, providing it the PR number as input (upon success, the workflow run will add label "Smoke tests: Pass" to the RP)

🧪 Testing


🔗 References

  • Ticket link:
  • Design docs links:
  • External links:

🚨 Breaking Changes?

  • Yes (explain below)
  • No

🔍️ Additional Notes

…ontention

Cap the ThreadPoolExecutor in `_set_and_deploy_monitoring_apps` to
`os.cpu_count() // 4` workers. Concurrent kaniko builds were exhausting
available CPUs on the CI runner (8 vCPUs), causing `test_app_flow` to
exceed the 1800s pytest timeout.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

📊 Diff Coverage Report

📂 Click to view full coverage details

Diff Coverage

Diff: origin/development...HEAD, staged and unstaged changes

No lines with coverage information in this diff.

@assaf758 assaf758 merged commit 1450f94 into mlrun:development Apr 21, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant