Skip to content

Impl support for multi agent workspaces #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jun 28, 2022

Conversation

fioan89
Copy link
Collaborator

@fioan89 fioan89 commented Jun 28, 2022

  • add REST models for Workspace agents

  • add REST calls to retrieve the workspace resources

  • use custom exception & add docs

  • refactor: return the agents instead the full list of resources

  • add new icons for win/mac

  • add new view model for workspace

    • UI needs to present a combination of properties
      from two data models (Workspace and WorkspaceAgent)
  • implement support for workspaces with multiple agents

    • the hostname for the connection is coder.WorkspaceName if there is at most
      an agent.
    • whereas if there are multiple agents, the hostname becomes coder.WorkspaceName.AgentName
    • the OS and Arch are also retrieved from the agent.
    • removed specific Linux distribution icons
    • refactored the utilities around OS&Arch resolving
    • resolves Support for workspaces with multiple agents #2
  • use agent's OS and Arch to determine the supported Jetbrains products

    • the mechanism to determine the supported jetbrains products based on
      OS/Arch uses the os/arch properties from the agent data models.
    • if that is missing we fall back on the old way which opens an SSH connection
      and runs a few unix commands to determine the properties

fioan89 added 12 commits June 28, 2022 14:08
- UI needs to present a combination of properties
  from two data models (Workspace and WorkspaceAgent)
- the hostname for the connection is `coder.WorkspaceName` if there is at most
  an agent.
- whereas if there are multiple agents, the hostname becomes `coder.WorkspaceName.AgentName`
- the OS and Arch are also retrieved from the agent.
- removed specific Linux distribution icons
- refactored the utilities around OS&Arch resolving
- resolves #2
…oducts

- the mechanism to determine the supported jetbrains products based on
  OS/Arch uses the os/arch properties from the agent data models.
- if that is missing we fall back on the old way which opens an SSH connection
  and runs a  few unix commands to determine the properties.
@fioan89 fioan89 merged commit 2edaf7c into main Jun 28, 2022
@fioan89 fioan89 deleted the impl-support-for-multi-agent-workspaces branch November 28, 2022 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for workspaces with multiple agents
1 participant