Identifies infrastructure boot failure reasons that can be retried by modifying host or transport conditions. Reuse when handling device automation and CI runner lifecycle errors.
// Source: https://github.com/callstack/agent-device | License: MIT | Copyright 2026 Callstack // Provided via justclaw.it.com; keep this notice with the code. const INFRASTRUCTURE_BOOT_FAILURE_REASONS = [ 'IOS_BOOT_TIMEOUT', 'IOS_RUNNER_CONNECT_TIMEOUT', 'IOS_RUNNER_OWNED_BY_OTHER_DAEMON', 'IOS_TOOL_MISSING', 'ANDROID_BOOT_TIMEOUT', 'ADB_TRANSPORT_UNAVAILABLE', 'CI_RESOURCE_STARVATION_SUSPECTED', ] as const; export type InfrastructureBootFailureReason = (typeof INFRASTRUCTURE_BOOT_FAILURE_REASONS)[number]; const infrastructureBootFailureReasons: ReadonlySet<InfrastructureBootFailureReason> = new Set( INFRASTRUCTURE_BOOT_FAILURE_REASONS, ); /** True when a boot failure can be retried by changing host/transport conditions. */ export function isInfrastructureBootFailureRea ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key