A year in review: code-server insights for 2022 #5894
Pinned
jsjoeio
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reflecting on 2022
At Coder, we are big believers in reflecting on progress and sharing insights with the community. We’re trying something new this year. We’ve gathered data from our telemetry stats on code-server usage and want to share some of those insights with you. We also want to share some codebase improvements made by our maintainers.
Usage Insights
One thing we haven't done in the past is talk about our usage insights based on our telemetry data. This is interesting because it provides a little insight into code-server's community. We hope this data proves useful to both the community and extension authors.
Here are some insights from our data based on the 5% of you who have telemetry enabled.
Most Active Country: United States and Other
The US and Other (which means we’re unsure) makes up the largest percentage of users, followed by China. However, you’ll notice that our community expand all across the globe.
Most Used Shell: bash
The most popular shell was /bin/bash and /usr/bin/bash followed by /bin/sh.
Most Popular Extension: Python
The most popular extension was Python followed by Jupyter (which technically gets installed together) followed by the C++ extension. Here is a table of the Top 10 most popular VS Code extensions according to our data:
Codebase Improvements
2022 was also a year with lots of codebase improvements. Including pre-release candidates, we had 27 releases! Many of the changes were about making it easier for us to release faster. Here are some of the changes we want to highlight:
OpenVSX as the Default Extension Marketplace
The biggest change to code-server in 2022 was making OpenVSX the default extension marketplace. We moved away from Coder’s extension marketplace because OpenVSX was better maintained and allowed us to focus more efforts on code-server. Related to that, we also open-sourced a new project called code-marketplace which allows you to run your own extension marketplace.
Upstreamed 3 Patches to VS Code
One thing we try to do is upstream our changes back to microsoft/vscode when it makes sense. We were able to upstream and merge three (1, 2, 3) which was a huge win for us! We hope to upstream more in the future.
Added Flag to Disable Downloads
Per a request from one of our Enterprise customers, we added a new flag called –disable-file-downloads which disables a user from right-clicking and downloading a file in code-server. This is a minor security improvement for teams who want to make it harder for users to download files. It can also be enabled by setting the environment variable CS_DISABLE_FILE_DOWNLOADS to ‘true’ or ‘1’.
Automatically Forward Ports
A built-in feature in VS Code is automatically forwarding ports. We added a patch and made some changes to use the code-server's built-in proxy or the VSCODE_PROXY_URI environment variable. Now it works out-of-the-box in code-server and in coder.
Improved Release Process
The theme of 2022 for the code-server maintainers was reliability and better maintenance. We focused most of our efforts on testing and improving the release process by:
Speeding up CI by running jobs in parallel
Adding a second e2e test suite behind a reverse proxy
Refactoring the release process to allow release candidates
Modifying the release flow to run via GitHub Actions
Overall, this means code-server can now release more frequently and get new versions out to users faster.
Guidance on how to use code-server with multiple users
In 2022 we explored various solutions for using code-server with multiple users. Think of this as a high-level overview of real-world approaches to solving this problem. All solutions are based on real things we’ve seen from the community.
Coder released instructions and new OSS how to run your own vscode marketplace
One of our biggest open source projects that was inspired by work done in code-server is code-marketplace, a project to run your own private VS Code extension marketplace. You can find the repo here.
Resources
For more information about some of the things discussed in here, take a look at the following resources:
Summary
We're grateful to the community members for participating in telemetry and allowing us to aggregate this data to share with the world. It provides a lot of useful information and impacts the decisions we make at Coder. In 2023, we will continue making code-server easy to maintain and well-tested.
We want to thank you all for being part of the code-server community. This project would not be as successful without all of you. Thank you to everyone who contributed in 2022. We also hope to see some new faces in 2023.
If you’re interested in contributing to code-server but don't know where to get started, start a new Discussion here and tag @jsjoeio. I'll be happy to mentor you!
Happy coding!
These excerpts were originally published in this blog post.
Beta Was this translation helpful? Give feedback.
All reactions