Skip to content

Failure Types

CI failure categorization used by the CI Heal Worker.

FAILURE_TYPES Constant

js
import { FAILURE_TYPES } from "@gitwire/core";

All Failure Types

TypeConstantAuto-HealableDescription
lint_errorFAILURE_TYPES.LINT_ERRORLinter violations (ESLint, Pylint)
type_errorFAILURE_TYPES.TYPE_ERRORType checker errors (tsc, mypy)
test_flakyFAILURE_TYPES.TEST_FLAKYIntermittent test failures
dependency_missingFAILURE_TYPES.DEPENDENCY_MISSINGMissing packages
format_errorFAILURE_TYPES.FORMAT_ERRORFormatter mismatches (Prettier, Black)
test_permanentFAILURE_TYPES.TEST_PERMANENTGenuine test logic bugs
build_errorFAILURE_TYPES.BUILD_ERRORCompilation/bundling failures
infra_errorFAILURE_TYPES.INFRA_ERRORInfrastructure issues (OOM, network)
unknownFAILURE_TYPES.UNKNOWNCannot determine root cause

HEALABLE_TYPES Set

js
import { HEALABLE_TYPES } from "@gitwire/core";

Returns a Set containing only the auto-healable types:

Set { 'lint_error', 'type_error', 'test_flaky', 'dependency_missing', 'format_error' }

Triage Priority

Released under the MIT License.