Skip to content

Add annotation gitpod.io/startedDisposal ealier #11826

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

Merged
merged 1 commit into from
Aug 3, 2022
Merged

Conversation

jenting
Copy link
Contributor

@jenting jenting commented Aug 3, 2022

Description

Add annotation gitpod.io/startedDisposal once we enter finalize workspace content.

Related Issue(s)

Related #11710

How to test

None

Release Notes

None

Documentation

None

Werft options:

  • /werft with-preview

@jenting jenting marked this pull request as ready for review August 3, 2022 05:48
@jenting jenting requested a review from a team August 3, 2022 05:48
@github-actions github-actions bot added the team: workspace Issue belongs to the Workspace team label Aug 3, 2022
@roboquat roboquat merged commit e40e43d into main Aug 3, 2022
@roboquat roboquat deleted the jenting/11710 branch August 3, 2022 06:17
@sagor999
Copy link
Contributor

sagor999 commented Aug 3, 2022

@jenting I kind of disagree with this change.
We will end up marking workspace several times, no?
Since finalizeWorkspaceContent will be called several times.
Also, if we were not able to connect to ws-daemon, then we did not actually started finalize process. But this change would have marked workspace as already started finalize.

@roboquat roboquat added deployed: workspace Workspace team change is running in production deployed Change is completely running in production labels Aug 3, 2022
@jenting
Copy link
Contributor Author

jenting commented Aug 4, 2022

@jenting I kind of disagree with this change. We will end up marking workspace several times, no? Since finalizeWorkspaceContent will be called several times. Also, if we were not able to connect to ws-daemon, then we did not actually started finalize process. But this change would have marked workspace as already started finalize.

Thanks for the feedback @sagor999
After rethinking, I agree with you. I create a PR to revert it.

@utam0k
Copy link
Contributor

utam0k commented Aug 4, 2022

I'm not sure, but we may remove this annotation if it fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: workspace Workspace team change is running in production deployed Change is completely running in production release-note-none size/S team: workspace Issue belongs to the Workspace team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants