Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Limit prebuilt workspace failure cost #17432

Closed
Closed
Assignees
evgeniy-scherbina
@SasSwart

Description

@SasSwart

The prebuild system uses an active control loop that reconciles prebuild state periodically. The reconciliation loop creates new prebuilt workspaces as needed to meet a desired workspace count. This creation may fail. To allow operators to investigate such failures, we do not delete prebuilt workspaces that failed to build. Prebuilds as a system "never deletes evidence".

Unfortunately, failed prebuilds might still create some resources successfully prior to their failure. These might incur infrastructure costs.

These facts, taken together, mean that prebuild failures over time risk becoming a significant expense both financially and in terms of platform management overhead.

To remedy this, we need four things:

  • A configurable cap that stops creating new prebuilt workspaces for a preset if a certain number of failed prebuilt workspaces exist.
  • A mechanism to notify operators of prebuild failures and when the aforementioned cap was reached. This could be a prometheus metric or a Coder inbox notification
  • A mechanism for operators to manually trigger a prebuild in order to troubleshoot
  • An automated mechanism to detect when prebuild reconciliation can resume based on whether failed prebuilds have been cleaned up

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp