Skip to content

WIP: feat: add jobs DLQ attempts and lease history views - #161

Draft
ralphschuler wants to merge 2 commits into
mainfrom
issue-77-jobs-dlq-attempts-lease-history-views
Draft

WIP: feat: add jobs DLQ attempts and lease history views#161
ralphschuler wants to merge 2 commits into
mainfrom
issue-77-jobs-dlq-attempts-lease-history-views

Conversation

@ralphschuler

@ralphschuler ralphschuler commented May 18, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a read-only admin job views slice for Jobs and Replay/DLQ operators.

Changes

  • Adds /admin/api/v1/job-views for scoped, read-only job summaries, DLQ entries, attempt history, and lease history.
  • Keeps raw payloads, idempotency keys, job metadata, constraints, and failure messages out of admin responses by default.
  • Adds SSR copy for /admin/jobs and /admin/replay-dlq explaining read-only views and disabled mutation/redrive controls.
  • Fixes admin section lookup so path-style admin ids resolve correctly.
  • Adds behavior tests for admin API auth, read-only data shape, redaction, and SSR route copy.

Validation

  • yarn workspace @helix/control-plane test -- admin-ssr job-views
  • yarn workspace @helix/control-plane check
  • yarn validate

Risks/Rollback

  • Risk: this is intentionally read-only and omits raw payload/log detail; future operator UX may need dedicated safe detail endpoints.
  • Rollback: revert this commit to remove the admin job views endpoint, route copy, and tests.

Related Issues

Closes #77

Conversation Context

Implemented as a behavior-first vertical slice for issue #77: expose jobs, DLQ, attempt, and lease history to admins without enabling mutation controls or exposing raw payload/log data.

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.

feat: add jobs DLQ attempts and lease history views

1 participant