Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Jul 24, 2025

🦟 Bug fix

Summary

In SimulationRunner, we initialize a worker pool but we never actually use it so it's pure overhead. In ServerPrivate we only use the worker pool if there are multiple simulation runners, so we can optimize for the most common use case of one runner.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers
  • Was GenAI used to generate this PR? If so, make sure to add "Generated-by" to your commits. (See this policy for more info.)

Generated-by: Remove this if GenAI was not used.

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by and Generated-by messages.


This is an automatic backport of pull request #2995 done by Mergify.

@mergify mergify bot requested a review from mjcarroll as a code owner July 24, 2025 02:44
@mergify mergify bot mentioned this pull request Jul 24, 2025
9 tasks
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Jul 24, 2025
@azeey azeey added this to the Jetty Release milestone Jul 28, 2025
@azeey
Copy link
Contributor

azeey commented Aug 7, 2025

https://github.com/Mergifyio rebase

In `SimulationRunner`, we initialize a worker pool but we never actually
use it so it's pure overhead. In `ServerPrivate` we only use the
worker pool if there are multiple simulation runners, so we can optimize
for the most common use case of one runner.

Signed-off-by: Addisu Z. Taddese <[email protected]>
(cherry picked from commit 5ce62a8)
@mergify
Copy link
Contributor Author

mergify bot commented Aug 7, 2025

rebase

✅ Branch has been successfully rebased

@azeey azeey force-pushed the mergify/bp/gz-sim8/pr-2995 branch from db0628b to 6ca2ca5 Compare August 7, 2025 22:46
@azeey azeey requested a review from arjo129 as a code owner August 7, 2025 22:46
@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Aug 7, 2025
@codecov
Copy link

codecov bot commented Aug 7, 2025

Codecov Report

❌ Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 68.95%. Comparing base (ab18888) to head (6ca2ca5).
⚠️ Report is 168 commits behind head on gz-sim8.

Files with missing lines Patch % Lines
src/ServerPrivate.cc 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           gz-sim8    #2998      +/-   ##
===========================================
+ Coverage    65.75%   68.95%   +3.19%     
===========================================
  Files          327      342      +15     
  Lines        31233    33394    +2161     
===========================================
+ Hits         20537    23026    +2489     
+ Misses       10696    10368     -328     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@azeey azeey merged commit 504ee34 into gz-sim8 Aug 8, 2025
10 of 11 checks passed
@azeey azeey deleted the mergify/bp/gz-sim8/pr-2995 branch August 8, 2025 01:46
@github-project-automation github-project-automation bot moved this from In review to Done in Core development Aug 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎵 harmonic Gazebo Harmonic

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants