Skip to content

Service startup errors should identify the failing service #93

Description

@Spikhalskiy

Issue

WaitUntilHealthy currently returns raw task exit, service exit, and context errors. With several services starting concurrently, the final svcinit error does not reliably identify which service failed.

Proposed fix

Wrap each error with the service label and distinguish an exited process from a service that never became healthy. This should retain the original error with Go error wrapping so errors.Is continues to work.

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