microsoft / DevHomeAzureExtension

Dev Home Azure Extension
MIT License
68 stars 15 forks source link

Customization flow needs to handle failure once supported #157

Closed huzaifa-d closed 1 month ago

huzaifa-d commented 2 months ago

Dev Home version

No response

Steps to reproduce the bug

Dev Box customization flow today handles individual task failures as success. This is because how the customization API today returns a status response. Once supported, the code should be changed accordingly to handle the failures.

Expected result

The individual failures should be propagated to the Dev Home UI.

Additional Notes

Should try and incorporate values from the logs using the API GET /projects/{projectName}/users/{userId}/devboxes/{devBoxName}/customizationGroups/{customizationGroupName}/logs/{customizationTaskId}