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

✨ Return 202 (accepted) for task update and cancel. #662

Closed
jortel opened this issue Jun 14, 2024 · 0 comments · Fixed by #660
Closed

✨ Return 202 (accepted) for task update and cancel. #662

jortel opened this issue Jun 14, 2024 · 0 comments · Fixed by #660
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/major Important over the long term, but may not be staffed and/or may need multiple releases to complete. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Milestone

Comments

@jortel
Copy link
Contributor

jortel commented Jun 14, 2024

Updated to return 202 (accepted) on success. These endpoints no longer return 400 (bad request)
for updates to tasks when the state is invalid. Instead, the task manger discards the request. The 202
more accurately reflects how the request will be handled.

  • put /tasks/:id
  • patch /tasks/:id
  • put /tasks/:id/cancel
@jortel jortel added kind/feature Categorizes issue or PR as related to a new feature. triage/accepted Indicates an issue or PR is ready to be actively worked on. priority/major Important over the long term, but may not be staffed and/or may need multiple releases to complete. labels Jun 14, 2024
@jortel jortel added this to the v0.5.0 milestone Jun 14, 2024
@jortel jortel self-assigned this Jun 14, 2024
@jortel jortel added this to Planning Jun 14, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Planning Jun 14, 2024
@jortel jortel moved this from 🆕 New to 🏗 In progress in Planning Jun 14, 2024
@jortel jortel closed this as completed in ff2ba63 Jun 14, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Planning Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/major Important over the long term, but may not be staffed and/or may need multiple releases to complete. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant