Practice the ROS2 The Reliable Action Server coding problem in Code Audit. Browser-based execution with automated grading — no local ROS install required. 0% of engineers pass this challenge.
An action server for long-running Fibonacci computations was deployed. Normal operation works correctly. However, clients report that when they cancel a long operation the client hangs forever — the server never sends a CANCELED status back.
The root cause: the execute_callback loop does not check goal_handle.is_cancel_requested. It keeps running to completion while the client waits indefinitely for the CANCELED acknowledgement.
Fix the server so that:
It is a hands-on Code Audit challenge on SimuCode where you implement and run ROS2 code in the browser with runtime-verified tests.
Open this page, sign in, and solve the problem in the built-in IDE. Your solution is graded against real ROS2 execution checks.
This Hard problem focuses on action-server, cancel, is_cancel_requested skills used in robotics interviews and production systems.