Skip to content

Run extensions in production mode  #4219

Closed

Description

@jsjoeio

ExtensionContext.extensionMode (passed to activate) is set to ExtensionMode.Development (integer value of 2) instead of Production. In other words, code-server runs extensions in non-production mode, which my extension took as a sign to enable that devserver shortcut. Not really a problem, if it weren't for the next problem

@SchoofsKelvin

Originally posted: #4075 (reply in thread)

Related: SchoofsKelvin/vscode-sshfs#279

Activity

  1. added this to the On Deck milestone on Sep 21, 2021
  2. jsjoeio commented on Sep 21, 2021

    @jsjoeio
    ContributorAuthor

    cc @TeffenEllis (I figured you would find this interesting! Probably something we did a long time ago if I had to guess?)

  3. benz0li commented on Sep 28, 2021

    @benz0li
    Contributor
  4. tianjianchnbytedance commented on Oct 19, 2021

    @tianjianchnbytedance

    @jsjoeio So may I ask you that why did we set the extensionMode to development?

  5. jsjoeio commented on Oct 28, 2021

    @jsjoeio
    ContributorAuthor

    @tianjianchnbytedance I wish I could tell you - that's before my time! Probably a goof on our end when adding our VS Code fork to code-server. Should be an easy fix though.

  6. benz0li commented on Dec 11, 2021

    @benz0li
    Contributor

    This issue seems to be resolved with v4.0.0.

  7. jsjoeio commented on Dec 13, 2021

    @jsjoeio
    ContributorAuthor

    Woohoo! Thank you for confirming @benz0li

    I'll close this for now then.

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

    bugSomething isn't workinghigh-priorityThis issue needs to be resolved ASAP

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions