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

[server] 'abort' prebuilds #12386

Merged
merged 1 commit into from
Sep 6, 2022
Merged

Conversation

svenefftinge
Copy link
Member

@svenefftinge svenefftinge commented Aug 25, 2022

Use the new StopWorkspacePolicy.ABORTED introduced with #12284 to avoid
spending resources on backing up discarded prebuilds.

Related Issue(s)

Fixes #11453

Release Notes

NONE

Werft options:

  • /werft with-preview

@svenefftinge svenefftinge requested a review from a team August 25, 2022 12:37
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Aug 25, 2022
@svenefftinge svenefftinge marked this pull request as draft August 25, 2022 12:41
@kylos101
Copy link
Contributor

👋 @svenefftinge , #12284 is deployed now, so if you wanted to proceed with this from a webapp standpoint, that woudl be doable.

cc: @sagor999 for posterity

use the new StopWorkspacePolicy introduced with #12284 to avoid
spending resources on backing up discarded prebuilds.
@svenefftinge svenefftinge force-pushed the sefftinge/calling-stopworkspace-11453 branch from 1aab8ba to a468dad Compare September 6, 2022 05:09
@svenefftinge svenefftinge marked this pull request as ready for review September 6, 2022 05:09
{ span },
instance.id,
instance.region,
StopWorkspacePolicy.ABORT,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main change is, to use this new policy which makes ws-manager not care about backups.

@roboquat roboquat merged commit 51c0c6b into main Sep 6, 2022
@roboquat roboquat deleted the sefftinge/calling-stopworkspace-11453 branch September 6, 2022 05:41
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/M team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calling StopWorkspace on a workspace that is not fully up yet
4 participants