21 lines
602 B
TOML
21 lines
602 B
TOML
|
|
# gardener/recipes/flaky-test.toml — CI fails intermittently
|
||
|
|
#
|
||
|
|
# Trigger: Test step fails + multiple CI attempts (same step, different output)
|
||
|
|
# Playbook: retrigger CI (max 2x), quarantine test if still failing
|
||
|
|
|
||
|
|
name = "flaky-test"
|
||
|
|
description = "CI fails intermittently — same step fails across multiple attempts"
|
||
|
|
priority = 30
|
||
|
|
|
||
|
|
[trigger]
|
||
|
|
step_name = '(?i)test'
|
||
|
|
min_attempts = 2
|
||
|
|
|
||
|
|
[[playbook]]
|
||
|
|
action = "retrigger-ci"
|
||
|
|
description = "Retrigger CI (max 2 retries)"
|
||
|
|
|
||
|
|
[[playbook]]
|
||
|
|
action = "quarantine-test"
|
||
|
|
description = "If still failing, quarantine test and create fix issue"
|