Skip to content

fix(sim): reject non-positive O3DE process and stack wait timeouts#840

Open
Bartok9 wants to merge 2 commits into
RobotecAI:bartok9/fixesfrom
Bartok9:fix/o3de-timeouts
Open

fix(sim): reject non-positive O3DE process and stack wait timeouts#840
Bartok9 wants to merge 2 commits into
RobotecAI:bartok9/fixesfrom
Bartok9:fix/o3de-timeouts

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 23, 2026

Copy link
Copy Markdown

Summary

  • Guard _shutdown_process(timeout) and _is_ros2_stack_ready(stale_timeout, poll_interval).

Motivation

Non-positive shutdown/wait params cause hang-or-busy-spin during sim teardown/bringup.

Verification

  • pytest tests/rai_sim/test_o3de_timeout_guards.py -q

Files

rai_sim/positive_params.py, o3de/o3de_bridge.py, offline tests

Notes

  • Base: bartok9/fixes (open Bartok9 staging stack)
  • Human-authored; DCO signed-off
  • Offline unit tests; no arm/geofence changes
  • Typo-freeze compliant (behavior fix / guards)

Agent-Owner: sera · Platform: hermes · Claim-TTL: 24h

Bartok9 added 2 commits July 22, 2026 06:52
 rejection

- tests/communication/__init__.py: add Apache license header (check-license-lines)
- test_ros2_async.py: zero timeout now expects ValueError, matching get_future_result rejecting non-positive timeout_sec (RobotecAI#808)
Signed-off-by: Bartok9 <danielrpike9@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant