You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add neutral job conclusion via allow-failure property
Add TaskResult.Neutral (value 6) and ActionResult.Neutral (value 4) to
allow jobs to report a neutral/warning conclusion to the Checks API.
When a job fails and allow-failure is set (via message property or
ACTIONS_ALLOW_FAILURE env var), the runner reports Neutral instead of
Failed. The server maps this to the Checks API "neutral" conclusion,
which renders as a grey dash icon rather than a red X.
Changes:
- TaskResult enum: add Neutral = 6
- ActionResult enum: add Neutral = 4
- TaskResultUtil: add Neutral mapping in ToActionResult()
- AgentJobRequestMessage: add AllowFailure bool property
- JobRunner: override Failed → Neutral in both CompleteJobAsync overloads
- Tests: cover merge behavior, return code translation, and allow-failure
logic for both message property and env var fallback
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments