rdev/internal/adapter
jordan 53862c773b fix: resolve systemic debt in worker and skeleton templates
Worker template fixes:
- Replace panic() with logger.Error() + os.Exit(1) for config errors
- Remove double-timeout application (context + middleware)
- Add error message truncation to prevent log bloat
- Use named constants for shutdown grace period and stale check interval

Skeleton pkg/auth fixes:
- Fix error wrapping to use %w consistently in jwt.go
- Add GetUserOrError() as safe alternative to MustGetUser() panic

Skeleton pkg/queue fixes:
- Check RowsAffected() errors instead of ignoring them
- Add input validation to EnqueueWithOptions (require job type, cap retries)
- Add log truncation for error messages
- Fix inaccurate doc comment claiming exponential backoff

Worker timeout consolidation:
- Add internal/worker/timeouts.go with named constants
- Migrate all workers to use timeout constants

Cleanup:
- Remove obsolete slack-preparation-thoughts.md files

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 23:44:55 -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 feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
gitea feat: add diagnostics endpoint and external health monitoring 2026-02-03 19:10:56 -07:00
kubernetes feat: add diagnostics endpoint and external health monitoring 2026-02-03 19:10:56 -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
sdlc feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
templates fix: resolve systemic debt in worker and skeleton templates 2026-02-04 23:44:55 -07:00
woodpecker feat: add diagnostics endpoint and external health monitoring 2026-02-03 19:10:56 -07:00
zot feat: fix composable monorepo CI builds + health endpoint improvements 2026-02-03 18:46:51 -07:00