Expand description
Backend introspection and chaos engineering (profiling, fault injection, contracts). Backend introspection and chaos engineering types.
These types support Victauri’s intervention capabilities — features that exploit the plugin’s position inside the Rust process to provide insights and control that browser-external tools like CDP cannot access.
Structs§
- Captured
Tauri Event - A Tauri event captured from the application’s native event bus.
- Child
Process Info - Information about a child process of the Tauri application.
- Command
Timing Stats - Per-command timing statistics aggregated from IPC invocations.
- Command
Timings - Thread-safe store for per-command timing data.
- Contract
Baseline - A recorded contract baseline for a command’s response.
- Contract
Drift - Differences found when checking a contract against baseline.
- Contract
Store - Thread-safe store for IPC contract baselines.
- Event
BusMonitor - Thread-safe ring buffer for captured Tauri events.
- Fault
Config - Configuration for a single fault injection rule.
- Fault
Registry - Thread-safe registry of active fault injection rules.
- Startup
Phase - A single phase in the startup timeline.
- Startup
Timeline - Records timestamps at key phases during plugin initialization.
- Task
Tracker - Tracks Victauri’s own spawned async tasks for observability.
- Timing
Samples - Accumulated raw timing samples for a single command.
- Tracked
Task Info - Info about a tracked async task spawned by Victauri.
- Type
Change - A single field type change between baseline and current.
Enums§
- Fault
Type - The type of fault to inject into a command.
- Json
Shape - Describes the shape of a JSON value for contract comparison.
Constants§
- FAULT_
TTL - Faults auto-expire this long after creation, so a forgotten fault cannot silently sabotage or mask a later test run (audit #34). Re-inject to refresh.
Functions§
- diff_
shapes - Compare two JSON shapes and report differences.
- enumerate_
child_ processes - Enumerate child processes of the current process.