Skip to content

Deprecate coder_agent.dir and related display_apps #509

Closed as duplicate

Description

@matifali

@matifali said in coder/coder-desktop-macos#238:

As of Terraform Provider 2.17.0, a warning is now shown when coder_agent.dir is set to a value other than ~ or $HOME. This does not fix the underlying issue, but it should help prevent users from running into it.

The longer-term plan is to deprecate and remove coder_agent.dir, along with vscode and vscode-insiders in coder_agent.display_apps, since they depend on coder_agent.dir to open a targetted folder. For IDEs, the recommended approach is to use the modules from registry.coder.com, or define an explicit coder_app and use the IDE URL handler to open a folder.

Activity

  1. transferred this issue fromcoder/coderon May 14, 2026
  2. valeneiko commented on Jun 24, 2026

    @valeneiko

    Modules or coder_app only work for users who click the button in the Web interface.

    coder_agent.dir also sets the working dir when opening workspace using VSCode Extension. What's the alternative there?

  3. matifali commented on Aug 3, 2026

    @matifali
    ContributorAuthor

    Closing as a duplicate of #523 to keep the discussion in a single thread.

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