Closed smaddox-sf closed 2 years ago
might be related to #127
We suspect that this is not related to https://github.com/forcedotcom/try-code-builder-feedback/issues/127. We suspect that the problem is that the delete flows from notifications, and since notifications weren't flowing during blitz, the delete never happened. However, there will always be some small gap between when someone runs out of usage and the delete finally flows from the notifications. In this gap we should detect this situation and allow a user to delete their environment.
Was able to reproduce this in CBD 0.9.0.4, so the modifications did not fix this issue. Worth noting is that I received the initial welcome emails, but no warnings that my workspace was about to be deleted - possibly because the timeout I'd set was lower than our notification schedule.
Just confirmed that the above is true - once I received the email stating that my CB trial was over, I was able to return to the dashboard and the workspace had been deleted. This issue isn't gone, but now only appears to occur when CBD trial times out and the user goes back to CBD prior to the notification/workspace deletion. This isn't something that's likely to happen often with a standard, 20-hour trial, but could. So we need to consider further what to do to prevent this situation since it could come up in GA as well, when a user hits their usage limit for the month.
Thanks for tracking this down @jheikes515 ! Good to know that it seems to be an edge case for customer usage.
One question - So if I create a CB environment it and delete it before my time is up, it will be successful, right? (meaning that I can delete without error and return to CB Dashboard and create a new CB environment without error)
@smaddox-sf Yes, I just verified that deletions work as expected if the environment has not yet expired. The bug now only happens if the user attempts to go back to it after expiry, but before the "beta finished - environment deleted" notification goes out.
I'm going through this again to check something else, and now I'm seeing the issue again. Still seeing the dialogs over an hour after my workspace was deleted, so this definitely needs further work.
@jheikes515 - Checking back on this...can it be closed? From the prior comments, it seems like this has been pinned down to a very narrow edge case. Is that right?
Stephanie - you are correct.
JENNETTE HEIKES Lead Member of Technical Staff | Salesforce Mobile: 937-623-4814
On Wed, Jun 8, 2022 at 4:29 PM smaddox-sf @.***> wrote:
@jheikes515 https://github.com/jheikes515 - Checking back on this...can it be closed? From the prior comments, it seems like this has been pinned down to a very narrow edge case. Is that right?
— Reply to this email directly, view it on GitHub https://github.com/forcedotcom/try-code-builder-feedback/issues/143#issuecomment-1150379664, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU5X7GB6RVEVLHFJILXFNW3VOD7DDANCNFSM5S5FDVMA . You are receiving this because you were mentioned.Message ID: @.***>
Describe the bug Code Builder environment won't load. The dashboard won't allow me to launch and throws an error when I try to delete.
To Reproduce Steps to reproduce the behavior:
Two errors seen:
This one when I open or refresh Code Builder dashboard:
and this one when I try to delete:
Expected behavior I can launch my environment. If I can't launch my environment, allowing me to delete it would be a workaround. (although not ideal because i will have lost any work if i forgot to save to source control or an Org)
https://user-images.githubusercontent.com/59572234/162490530-07292ac3-4ac5-4d66-b86e-236a54582e39.mp4