Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(admin): manually retry an event #27

Merged
merged 3 commits into from
Sep 22, 2024
Merged

feat(admin): manually retry an event #27

merged 3 commits into from
Sep 22, 2024

Conversation

webhookx-x
Copy link
Member

@webhookx-x webhookx-x commented Sep 21, 2024

Summary

Add a new API to manually retry an event.

POST /workspaces/{ws_id}/events/{id}/retry?endpoint_id={endpoint_id}

issue: #15

Copy link

codecov bot commented Sep 21, 2024

Codecov Report

Attention: Patch coverage is 81.48148% with 15 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
dispatcher/dispatcher.go 83.72% 4 Missing and 3 partials ⚠️
admin/api/events.go 62.50% 4 Missing and 2 partials ⚠️
admin/api/api.go 71.42% 1 Missing and 1 partial ⚠️
Flag Coverage Δ
integration 62.88% <81.48%> (+1.89%) ⬆️
unit 12.48% <0.00%> (-0.42%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
app/app.go 85.07% <ø> (ø)
db/dao/attempt_dao.go 85.71% <100.00%> (+0.52%) ⬆️
db/dao/dao.go 88.94% <100.00%> (+0.36%) ⬆️
db/entities/attempt.go 100.00% <ø> (ø)
proxy/gateway.go 61.17% <100.00%> (-0.46%) ⬇️
worker/worker.go 65.00% <100.00%> (+1.94%) ⬆️
admin/api/api.go 91.42% <71.42%> (+0.25%) ⬆️
admin/api/events.go 56.81% <62.50%> (+56.81%) ⬆️
dispatcher/dispatcher.go 77.31% <83.72%> (+2.31%) ⬆️

... and 2 files with indirect coverage changes

@webhookx-x webhookx-x merged commit be0e502 into main Sep 22, 2024
5 checks passed
@webhookx-x webhookx-x deleted the feat/event-retry branch September 22, 2024 04:01
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.

2 participants