Simulating Pre Race Failure

Use when running the simulator-with-failure test variant and the pre-race phase begins. The prepare_simulation tool intentionally raises RuntimeError to exercise the ADK and SimulationCommunicationPlugin tool_error callback path. Not intended for production simulations.

GoogleCloudPlatform Updated 1.1k repo stars
Race Condition

File contents

Simulating Pre-Race Failure

This skill replaces the base simulator's pre-race setup with a version that intentionally fails during prepare_simulation. It tests how the ADK and SimulationCommunicationPlugin handle tool_error callbacks when the simulation engine encounters failures.

Tools

  • prepare_simulation: Accepts a plan JSON string but raises RuntimeError after a brief processing delay, simulating an unhandled internal exception.

googlecloudplatform/race-condition commit d356ccd33a

Frequently asked questions

npx get-skill add googlecloudplatform/simulating-pre-race-failure