Skip to content

server, controller: don't fall back to NewMemoryLocker #715

Open

Description

@rakyll

NewServer (internal/server/server.go) and NewWorkspaceManager (internal/controller/workspace.go) silently fall back to lock.NewMemoryLocker() when no Locker is passed, which only serializes within one process and is unsafe with multiple ax-server replicas. Require a Locker instead; tests can pass a memory locker explicitly.

Activity

  1. modified the milestones: v0.4.0, v0.5.0 on Nov 23, 2026
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions