Skip to content

DI framework for micro-service pattern within the Coder monolith #1378

@Emyrk

Description

@Emyrk

cli/server.go currently performs server initialization in a largely linear sequence with implicit dependencies between subsystems. As the Coder server has grown, this pattern has become harder to reason about and maintain.

Ideally we create a services DAG for startup & shutdown in the right order. A DI framework can be passed around for services to reference each other.

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