rdev/internal/adapter
jordan cfba724f8a feat: add work task error classification and user-facing error codes
- Add WorkErrorCode type with RATE_LIMITED, AUTH_FAILED, TIMEOUT, STALE_WORKER, AGENT_ERROR, INVALID_SPEC
- Add ClassifyAgentError function to detect error patterns from stderr
- Add error_code column to work_queue table (migration 016)
- Add FailWithCode method to WorkQueue interface and implementations
- Update RequeueStaleWithIDs to mark permanently failed tasks with STALE_WORKER
- Add ErrorCode to BuildResult for API responses
- Update work executor to classify errors before failing tasks

This enables users to see actual failure reasons (e.g., "RATE_LIMITED") instead of
builds stuck in "running" state forever when Claude hits rate limits.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 00:07:34 -07:00
..
cached feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
cloudflare feat: add auth scopes, OpenAPI docs, SDLC guides, and code quality improvements 2026-02-02 13:55:50 -07:00
cockroach fix: Use FQDN for k8s service hostnames and remove broken commonLabels 2026-01-31 20:46:04 -07:00
codeagent chore: prepare for composable monorepo template implementation 2026-01-31 11:39:28 -07:00
deployer release: v0.10.27 - fix: woodpecker step YAML multi-line command syntax 2026-02-01 12:42:18 -07:00
gitea feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
kubernetes feat: add artifact pass/fail/needs-fix lifecycle for SDLC execution phases 2026-02-02 22:14:53 -07:00
memory chore: prepare for composable monorepo template implementation 2026-01-31 11:39:28 -07:00
postgres feat: add work task error classification and user-facing error codes 2026-02-03 00:07:34 -07:00
redis chore: prepare for composable monorepo template implementation 2026-01-31 11:39:28 -07:00
templates feat: add artifact pass/fail/needs-fix lifecycle for SDLC execution phases 2026-02-02 22:14:53 -07:00
woodpecker feat: add pipeline steps API with debugging diagnostics 2026-02-01 12:44:26 -07:00