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
Description
Wrap GET /dlq and POST /dlq/:id/requeue (dlq_routes in src/handlers/dlq.rs) as admin.dlq.list() and admin.dlq.requeue(id). List dead-letter queue entries and requeue a specific failed transaction by ID.
Scope guardrail: this PR must only touch files under sdks/rust/. Do not touch anything under src/ — read the handler referenced below only to learn the request/response contract.
Requirements and context
Uses the admin client (see the admin client variant issue).
Must handle this edge case explicitly: requeuing an ID that no longer exists in the DLQ must surface as a clear "not found" error, not a silent success or a generic 500.
Description
Wrap
GET /dlqandPOST /dlq/:id/requeue(dlq_routesinsrc/handlers/dlq.rs) asadmin.dlq.list()andadmin.dlq.requeue(id). List dead-letter queue entries and requeue a specific failed transaction by ID.Scope guardrail: this PR must only touch files under
sdks/rust/. Do not touch anything undersrc/— read the handler referenced below only to learn the request/response contract.Requirements and context
Suggested execution
git checkout -b feature/rust-sdk-implement-admindlqlist-admindlqrequeueidsrc/handlers/dlq.rsto confirm the exact request/response shape (dlq_entries,count, and the requeue response message/dlq_id fields).admin.dlq.list()returning the entries list and count, andadmin.dlq.requeue(id)returning the confirmation.feat(sdk): add admin dlq resource methodsGuidelines
Closes #118sdks/rust/