Skip to content

Models page: the Change line must pass --host for a project whose agents don't run in CloudRoom #2240

Open

Description

@jparker2006

Problem

The OpenWiz app's Models page (MD6, WizSite #84) gives the user an openwiz models set … line from its Change button. Since NC1 (#2228), models set takes --host, and leaving it out means the CloudRoom host. So for a project whose agents run on this computer, boat.dev or another driver, the page hands over a line that sets the CloudRoom host's choice, not the local one. The model-config fleet's MD6 builder found this.

User path: a user without CloudRoom opens the Models page, clicks Change and runs the line. It reads CloudRoom's catalogue, which they don't have, instead of their installed harnesses.

Fix

The Change line names the project's host, read from docs/agents/host.md the way the app reads other project settings. A host other than CloudRoom gets --host <host>. The CloudRoom host's line stays as today.

Proof

Red first: for a fixture project with Host: local, the Change line includes --host local. With Host: cloud or no host file, the line is unchanged.

Owned paths

To be set once MD6 (WizSite #84) merges, in the same files as its Change button.

Links

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

    bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions