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
When deprovisioning, successfully deleting all resources gives a successful response to the user.
There is a possibility of an unexpected failure resetting the state document to NOT_STARTED (if template exists) or deleting it (if template doesn't exist). Presently this state index failure is only logged.
What solution would you like?
Keep this status quo, as the failures are extremely unlikely to occur, and can be corrected with another deprovisioning.
What alternatives have you considered?
Waiting to return a result to a user until the state document is updated, and returning a more verbose error message of the form "resources were successfully deprovisioned, but the workflow state update failed, try deprovisioning again. This may or may not succeed and may be confusing.
The text was updated successfully, but these errors were encountered:
While attempting to write REST integration tests for this, it was a challenge as the REST request returned successfully while the state deletion was still processing. I'm leaning heavily toward waiting to return to the user until the state document is deleted (or not). The user can still get a verbose response describing the problem.
dbwiddis
added
v2.18.0
Issues targeting release v2.18.0
and removed
backlog
Good to have functionality not critical for next release
labels
Sep 18, 2024
Coming from #689 (comment)
When deprovisioning, successfully deleting all resources gives a successful response to the user.
There is a possibility of an unexpected failure resetting the state document to NOT_STARTED (if template exists) or deleting it (if template doesn't exist). Presently this state index failure is only logged.
What solution would you like?
Keep this status quo, as the failures are extremely unlikely to occur, and can be corrected with another deprovisioning.
What alternatives have you considered?
Waiting to return a result to a user until the state document is updated, and returning a more verbose error message of the form "resources were successfully deprovisioned, but the workflow state update failed, try deprovisioning again. This may or may not succeed and may be confusing.
The text was updated successfully, but these errors were encountered: