coder/code-server
57.3
Adequate · 14 November 2026
4.4k
lines of production code
TypeScript
primary language
7
measurements over time
What this system is
Features
Add TypeScript definitions for httpolyglot
Added a new TypeScript declaration file for the httpolyglot library, defining the createServer function with overloads for both standard HTTP and HTTPS servers. This enables type-safe usage of the library in TypeScript projects.
typings · high confidence
Add static security and robots files, and register a service worker for PWA support
The browser distribution now includes a robots.txt file that disallows all crawling, a security.txt file providing contact and policy information for security researchers, and a service worker script. The service worker registers install, activate, and fetch event listeners to ensure the application is recognized as a Progressive Web App (PWA), although it currently does not implement specific caching or offline logic beyond the basic event handlers.
src/browser · high confidence
Added interactive CodeTour guides for development and contribution
New interactive tours have been added to help users understand the code-server architecture and start developing. The 'Contributing' tour walks through the source code structure, including the CLI parser, HTTP/WebSocket servers, plugin system, and VS Code integration. The 'Start Development' tour provides step-by-step instructions for setting up the development environment, running the server, and making changes with live reloading.
.tours · high confidence
Initial release of the code-server Helm chart
This change introduces the complete Helm chart for deploying code-server to Kubernetes, located in ci/helm-chart/templates. The chart provides a configurable Deployment with support for custom replicas, image pull secrets, priority classes, lifecycle hooks, extra init/sidecar containers, and additional volume mounts (including emptyDir, hostPath, PVC, ConfigMaps, and Secrets). It includes a Service with support for extra ports, an Ingress resource that adapts to Kubernetes versions (using networking.k8s.io/v1 for v1.19+), and configurable health probes pointing to /healthz. Users can also configure pod annotations, affinity, tolerations, node selectors, and use an existing secret for the admin password instead of having the chart generate one.
ci/helm-chart, ci/helm-chart/templates · high confidence
New CI helper scripts for Docker builds and environment checks
The CI pipeline now includes two new shell scripts in the \ci/steps\ directory to standardize build and validation steps. \docker-buildx-push.sh\ automates the Docker image build and push process by invoking \docker buildx bake\ with the release configuration, assuming the version is set via an environment variable and release packages are pre-downloaded. \steps-lib.sh\ provides a shared library of utility functions (\is\_env\_var\_set\, \directory\_exists\, \file\_exists\, \is\_executable\) to simplify and unify environment and file existence checks across other CI step scripts.
ci/steps · high confidence
New CI infrastructure with shared library and local proxy
The CI system introduces a new shared build library (lib.sh) that standardizes environment detection for OS (including Alpine Linux and macOS), architecture (mapping to arm64/amd64), and VS Code targets, while also providing utilities for running build steps with a checklist and output indentation. Additionally, a Caddyfile is added to configure a local reverse proxy on port 8000, allowing development and testing by stripping version prefixes from IDE paths and forwarding requests to local services.
ci · high confidence
New common utilities for events, HTTP errors, and path normalization
The src/common module now provides foundational utilities to standardize application behavior. A new Emitter class enables asynchronous event handling with guaranteed completion tracking via promises, while the HttpError class and HttpCode enum allow endpoints to return structured HTTP responses with specific status codes and optional details. Additionally, utility functions for normalizing URLs (removing extra slashes), generating UUIDs, and pluralizing strings have been added to support consistent data handling across the application.
src/common · high confidence
New development and CI tooling scripts
The repository now includes a suite of shell scripts and a TypeScript watcher in the \ci/dev\ directory to streamline local development and continuous integration. These scripts automate documentation generation (\doctoc.sh\), icon creation with dark-mode support (\gen\_icons.sh\), and shell script linting (\lint-scripts.sh\). Installation is handled by \postinstall.sh\ and \preinstall.js\, which enforces npm usage and manages submodule dependencies. Testing is separated into dedicated scripts for unit (\test-unit.sh\), integration (\test-integration.sh\), native (\test-native.sh\), end-to-end (\test-e2e.sh\), and script (\test-scripts.sh\) tests. Additionally, \watch.ts\ provides a unified development environment that monitors source changes for code-server, VS Code, and plugins, automatically restarting the web server upon compilation.
ci/dev · high confidence
New multi-distro release Docker images with user customization and startup scripts
The release pipeline now builds and publishes code-server images based on Debian 13 (trixie), Debian 12 (bookworm), Ubuntu Focal, Ubuntu Noble, Ubuntu Resolute, Fedora 39, and openSUSE Tumbleweed, supporting both linux/amd64 and linux/arm64 architectures. These images include a pre-configured 'coder' user (UID 1000) with the fixuid tool to handle UID/GID remapping, allowing containers to run with custom user IDs via the DOCKER\_USER environment variable. Additionally, users can now place executable scripts in the \~/entrypoint.d directory to run automatically at container startup for workspace preparation.
ci/release-image · high confidence
Node-side internationalization (i18n) infrastructure introduced
The build tooling now includes a dedicated i18n module for the Node environment, initializing i18next with built-in translations for English, Chinese (Simplified), Japanese, Thai, and Urdu. This module also exposes a function to load and apply custom translation strings from a user-provided JSON file, allowing users to override or extend the default translations across all supported locales.
src/node/i18n · high confidence
Support for reverse proxy base paths and custom application names
Users can now host code-server behind a reverse proxy using a custom path (e.g., domain.tld/my/base/path) and customize the application name displayed in browser tabs. The base path patch modifies the web client server and browser resources to correctly resolve static assets, icons, and WebSocket connections relative to the proxy's path prefix, ensuring the interface loads properly when not served at the root. Additionally, the app-name patch allows the \--app-name\ CLI argument to set the \nameShort\ and \nameLong\ product configuration, which updates the title shown in the browser tab to match the user's custom identifier.
patches · high confidence
Behavioural changes
Complete architectural rewrite of the Node.js server core
The server implementation has been completely rewritten from scratch, replacing the previous codebase with a new modular structure. This change introduces a new Express-based HTTP server with separate routers for standard requests and WebSockets, a new CLI argument parser that supports YAML configuration files, and a new authentication system using Argon2 for password hashing. The update also adds a new entry point that manages parent-child process wrapping, a new heartbeat mechanism for idle timeouts, and a new editor session manager for handling file opening in existing instances.
src/node · high confidence
Redesigned login and error pages with dark mode support
The login and error pages have been completely restyled to provide a modern, consistent user interface that supports both light and dark color schemes. The new login page features a centered card layout with improved form styling, responsive design for mobile devices, and accessibility enhancements such as hidden username fields. The error page now displays a clean, centered error message with a link to return to the home page. Both pages utilize a shared global stylesheet for consistent typography and spacing, and include proper meta tags for mobile viewport and color scheme preferences.
src/browser/pages · high confidence
Refactored build and release infrastructure
The CI build process has been restructured into a modular set of scripts under ci/build. This includes dedicated scripts for compiling code-server and VS Code, bundling them into a release package with shrinkwraps for deterministic dependencies, and generating platform-specific packages (deb, rpm, tarball) via nfpm. The release now includes systemd service files for Linux, a Windows launcher, and a robust post-install script that handles Node.js version checks and dependency installation. Additionally, helper scripts for updating the VS Code submodule and Helm charts have been added.
ci/build · high confidence
Repository restructured with new development tooling and configuration files
The repository has been reorganized to support modern development workflows, introducing a Nix flake for reproducible development environments, a new ESLint flat configuration, and a Prettier configuration with specific formatting rules. A dedicated install script (install.sh) is now provided for automated installation across various operating systems, including support for remote installation via SSH. The project also standardizes Node.js version management via .node-version and .nvmrc, integrates Renovate for automated dependency updates, and establishes a formal changelog (CHANGELOG.md) and license (LICENSE) file. Additionally, the VS Code source is now managed as a Git submodule, and various ignore files (.gitignore, .dockerignore, .prettierignore) have been updated to reflect the new directory structure and build artifacts.
(repo-wide) · high confidence
Rewrite of routing architecture to Express 5
The routing layer has been completely refactored to use Express 5, replacing the previous implementation with a modular structure. This change introduces dedicated route modules for domain proxying, path proxying, health checks, login, logout, and VS Code integration, all registered through a central index. Key behavioral updates include the addition of a domain proxy feature that supports dynamic port matching via {{host}} and {{port}} placeholders, the implementation of a dedicated WebSocket error handler, and the migration of authentication and rate-limiting logic to be fully asynchronous. The login flow now correctly applies rate limiting only after failed attempts, and the system now supports skipping authentication for preflight OPTIONS requests when the skip-auth-preflight flag is enabled.
src/node/routes · high confidence
VS Code integration moved to a submodule
The VS Code codebase is now managed as a Git submodule (commit 04c0d99) within the lib directory, replacing the previous inline inclusion. This change simplifies dependency management by allowing the project to track specific VS Code versions independently.
lib · high confidence
Test coverage
Added CodeServer test model for e2e testing; Added Playwright e2e test configuration; Added integration tests for CLI help and extension installation; Added test extension for e2e proxy URI and asExternalUri validation; Added unit tests for common utilities; Added unit tests for core node modules; Added unit tests for installer and build scripts; Added unit tests for node routes; New end-to-end test suite for code-server features; New test utility library for helpers, server mocking, and environment setup.
Dependencies
Initial dependency manifests and lockfiles for code-server and test environments
This change introduces the foundational dependency management files for the project, including the root package.json, the test suite's package.json, and a test extension package definition, along with their corresponding package-lock.json lockfiles. The root manifest establishes the runtime dependencies (such as Express 5, argon2, and i18next) and development tools (like ESLint 9 and TypeScript 5), while the test manifest adds Jest, Playwright, and jsdom for testing. These files define the environment required to build, lint, and test the code-server application.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.
Score
- CAI 56 → 57 (+1.5)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 82 → 69 (-13.4)
- Architecture 91 → 91 (-0.3)
- Maturity 64 → 65 (+0.4)
- Readiness 52 → 52 (+0.2)
- Security 70 → 68 (-2.6)
- Accessibility 47 → 52 (+5.0)
- Performance 100 → 100 (+0.0)
Resolved (9)
- Further sole-owners (lower concentration)
- High CVE: [GHSA redacted] (package-lock.json)
- High CVE: [GHSA redacted] (package-lock.json)
- High CVE: [GHSA redacted] (package-lock.json)
- High CVE: [GHSA redacted] (package-lock.json)
- Medium CVE: [GHSA redacted] (package-lock.json)
- No ADRs found
- Off-boarding risk: anonymized user #1
- Outdated (npm): js-yaml
New (14)
- Medium CVE: [GHSA redacted] (package-lock.json)
- Medium CVE: [GHSA redacted] (package-lock.json)
- Medium: security finding (details withheld)
- No ADRs found (package.json)
- No assertions: should cache workspace files in the webview Cache Storage (test/e2e/fileCache.test.ts)
- Off-boarding risk: anonymized user #1
- Outdated (npm): semver
- doc comments repeat the names (src/node/util.ts)
- main.openInExistingInstance (cognitive 24) (src/node/main.ts)
- main.openInExistingInstance (cyclomatic 16) (src/node/main.ts)
- redundant comment (test/unit/node/i18n.test.ts)
- redundant comment (test/unit/node/i18n.test.ts)
- redundant comment (test/unit/node/main.test.ts)
- redundant comment (test/unit/node/main.test.ts)
Changes since last survey
- 45 commits — 43 feature/other, 2 fixes
By area
- (root) — 17 commits
- .github/workflows — 10 commits
- src/node — 9 commits
- ci/helm-chart — 4 commits
- ci/release-image — 2 commits
- .github/dependabot.yaml — 1 commit
- ci/build — 1 commit
- docs/README.md — 1 commit
Notable commits
- fix: Fix --socket-fd when code-server is socket-activated (#8083)
- fix: Fix cookie domain not being set against root host (#8076)
- change: Add --wait to code-server's own CLI (#8117)
- change: Add Vietnamese locale (#8107)
- change: Add --disable-file-cache flag (#8085)
- change: Bump @eslint/compat from 1.4.1 to 2.1.1 (#8029)
- change: Bump @types/node from 24.13.3 to 24.19.2 (#8091)
- change: Bump actions/download-artifact from 8.0.1 to 8.0.2 (#8098)
- change: Bump actions/setup-node from 7.0.0 to 7.1.0 (#8103)
- change: Bump actions/upload-artifact from 7.0.1 to 7.0.2 (#8104)
- change: Bump aquasecurity/trivy-action (#8102)
- change: Bump argon2 from 0.44.0 to 0.45.1 (#8095)
- change: Bump body-parser from 2.3.0 to 2.4.0 (#8079)
- change: Bump docker/login-action from 4.6.0 to 4.7.0 (#8097)
- change: Bump docker/setup-qemu-action from 4.3.0 to 4.4.0 (#8090)
- change: Bump follow-redirects from 1.16.0 to 1.16.2 (#8065)
- change: Bump github/codeql-action/analyze from 4.38.2 to 4.39.1 (#8096)
- change: Bump github/codeql-action/upload-sarif from 4.37.6 to 4.39.1 (#8093)
- change: Bump globals from 17.6.0 to 17.13.0 (#8099)
- change: Bump i18next from 26.3.1 to 26.5.11 (#8101)
- …and 25 more
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
coder/code-server was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit dda09f22fa51926c6c9c8a9fc26a6ad00759b2dc — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.