Background
PR #201 introduced a global admin toggle (enableAutoExplainOnFailure) that automatically explains all failed builds via a RunListener. This is sufficient for the initial use case, but @panicking raised a valid point in #202: the feature should also be configurable at the job level.
Problem
With only a global switch, there is no way to:
- Opt out a specific noisy job when the global toggle is enabled (e.g. a flaky test job that fails frequently and would waste AI quota)
- Opt in a specific job when the global toggle is disabled
Proposed Solution
The RunListener would check the job-level property first, falling back to the global setting when the property is absent or set to inherit.
Related
#202 (original feature request)
PR #201 (global toggle implementation)
Background
PR #201 introduced a global admin toggle (enableAutoExplainOnFailure) that automatically explains all failed builds via a RunListener. This is sufficient for the initial use case, but @panicking raised a valid point in #202: the feature should also be configurable at the job level.
Problem
With only a global switch, there is no way to:
Proposed Solution
The
RunListenerwould check the job-level property first, falling back to the global setting when the property is absent or set to inherit.Related
#202 (original feature request)
PR #201 (global toggle implementation)