Skip to content

Conversation

mergify[bot]
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 🏛️ ionic Gazebo Ionic 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

@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 <addisu@openrobotics.org>
(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-sim9/pr-2995 branch from 1cda203 to 2d2d757 Compare August 7, 2025 22:45
@azeey azeey requested a review from arjo129 as a code owner August 7, 2025 22:45
@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 69.05%. Comparing base (61bc511) to head (2d2d757).
⚠️ Report is 4 commits behind head on gz-sim9.

Files with missing lines Patch % Lines
src/ServerPrivate.cc 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           gz-sim9    #2997      +/-   ##
===========================================
- Coverage    69.09%   69.05%   -0.05%     
===========================================
  Files          347      347              
  Lines        33951    33976      +25     
===========================================
+ Hits         23460    23462       +2     
- Misses       10491    10514      +23     

☔ 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 cdd1a76 into gz-sim9 Aug 8, 2025
15 of 16 checks passed
@azeey azeey deleted the mergify/bp/gz-sim9/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

🏛️ ionic Gazebo Ionic

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant