Skip to content

fix: Map hosted-app start cleanup failures to retryable errors #121

Description

@danny-avila

When HostedAppSupervisor.start() replaces a revision or clears a prior app, stopImpl() cleanup failures are not converted to hosted_app_cleanup_failed. The Express handler can therefore surface a raw cgroup-drain failure as a generic HTTP 400 rather than the retryable HTTP 503 behavior already used by stop().

Relevant imported review: https://github.com/ClickHouse/ai/pull/3583#discussion_r3949919135

Expected behavior: cleanup failures encountered during start() should use the same structured, retryable error classification as explicit stop cleanup failures, with regression coverage.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions