Skip to content

feat(run): type worker failure receipts - #589

Merged
solomonneas merged 1 commit into
mainfrom
feat/576-worker-failure-taxonomy
Jul 27, 2026
Merged

feat(run): type worker failure receipts#589
solomonneas merged 1 commit into
mainfrom
feat/576-worker-failure-taxonomy

Conversation

@solomonneas

Copy link
Copy Markdown
Collaborator

Closes #576. Parent tracking issue: #474.

What changed

  • define the closed 17-class worker-failure taxonomy and valid phase/retry contracts
  • map current adapter failure kinds to normalized brigade.worker_failure.v1 values
  • add normalized failures to failed worker and attempt receipts while retaining legacy fields
  • keep run lifecycle, cancellation, skipped, held, and run-owned failures outside the worker taxonomy
  • redact and bound normalized receipt detail

The two contextual retry cases remain expressible for later routing work: capacity failures may retry once when the provider supplies a delay, and reviewed invalid-final fallbacks may handle output-contract violations. Legacy receipts use conservative defaults.

Verification

brigade work verify run --target . --command "./scripts/verify" --capture brigade-work

Completed receipt: 20260726-233147-work-verify-cfdf0b.

Co-Authored-By: Codex <codex@openai.com>
@coderabbitai

coderabbitai Bot commented Jul 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • coderabbit-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: escoffier-labs/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: e9be3904-95f7-4d25-b364-f3681996fa96

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/576-worker-failure-taxonomy

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@solomonneas solomonneas self-assigned this Jul 26, 2026
@solomonneas
solomonneas marked this pull request as ready for review July 27, 2026 00:13
@solomonneas
solomonneas merged commit fffef83 into main Jul 27, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

run: add the closed worker-failure taxonomy and receipt compatibility

1 participant