Skip to main content

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.

Source facts

Repository
GoogleCloudPlatform/race-condition
Last source activity
April 26, 2026 at 01:08
Detected SKILL.md language
English
Stars
238
Forks
86

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
simulating-pre-race-failure
description
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.
license
Apache-2.0
# 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.
View on GitHub