Skip to content

[server] 'abort' prebuilds#12386

Merged
roboquat merged 1 commit into
mainfrom
sefftinge/calling-stopworkspace-11453
Sep 6, 2022
Merged

[server] 'abort' prebuilds#12386
roboquat merged 1 commit into
mainfrom
sefftinge/calling-stopworkspace-11453

Conversation

@svenefftinge

@svenefftinge svenefftinge commented Aug 25, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Contributor 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