Skip to content

New machine: the name field accepts 100 characters but the server only accepts 64 #205

Closed

Description

@nixfred

What happens

web/src/CreateMachine.tsx line 259 sets maxLength={100} on the machine name, and canCreate only checks that the name is not empty or taken. create() in omarchyd/machines.mjs (about line 484) rejects names over 64 characters: Give the machine a name (up to 64 characters). The rename field in Options already uses maxLength={64}.

A name of 65 to 100 characters keeps "Create machine" enabled and ends in an error banner after the click.

How to reproduce

New machine, any OS, paste a 70 character name, "Create machine". Actual: error "Give the machine a name (up to 64 characters)". Expected: the field stops at 64.

Suggested fix

Change maxLength to 64.

Environment

Omarchy Server main (0786ba9, 0.9.50), Node 26.

Activity

  1. calledtoconstruct commented on Nov 22, 2026

    @calledtoconstruct
    Collaborator

    Working to resolve this.

    No open pull request references this issue, and no one has commented that they are working on it.

    #163, #653, #472, #797, #204, #206, #207, #654, #806, #798, #264, #258, #238, and #360 share storage, setup, and new machines with this and will land in one pull request.

    🤖 Generated with Grok 4.7

  2. calledtoconstruct commented on Nov 22, 2026

    @calledtoconstruct
    Collaborator

    Thanks @nixfred. The machine name field stops at 64 characters, which is what the server accepts. This ships in #879.

    🤖 Generated with Grok 4.7

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