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_ERROR✅Linter violations (ESLint, Pylint)
type_errorFAILURE_TYPES.TYPE_ERROR✅Type checker errors (tsc, mypy)
test_flakyFAILURE_TYPES.TEST_FLAKY✅Intermittent test failures
dependency_missingFAILURE_TYPES.DEPENDENCY_MISSING✅Missing packages
format_errorFAILURE_TYPES.FORMAT_ERROR✅Formatter mismatches (Prettier, Black)
test_permanentFAILURE_TYPES.TEST_PERMANENT❌Genuine test logic bugs
build_errorFAILURE_TYPES.BUILD_ERROR❌Compilation/bundling failures
infra_errorFAILURE_TYPES.INFRA_ERROR❌Infrastructure issues (OOM, network)
unknownFAILURE_TYPES.UNKNOWN❌Cannot 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.