forked from Ikalus1988/MisakaNet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathci-self-heal.yml
More file actions
23 lines (20 loc) 路 751 Bytes
/
Copy pathci-self-heal.yml
File metadata and controls
23 lines (20 loc) 路 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# CI Self-Heal Configuration
# All workflows reference this file for retry/notification settings.
# Changes here are single-source-of-truth.
max_global_retries: 3
backoff_strategy: exponential # exponential, linear, or fixed
backoff_base_seconds: 10
classify_before_retry: true
notify_on_exhaustion: true
notify_channels:
- github_comment
- feishu # requires FEISHU_WEBHOOK_URL secret
# Exit codes that are safe to retry (non-deterministic failures)
retryable_exit_codes:
- 1 # general failure (tests, etc.)
- 127 # command not found (transient PATH issues)
# Exit codes that should NOT be retried (deterministic failures)
fatal_exit_codes:
- 2 # misuse of shell command
- 126 # permission denied
- 137 # killed (OOM)