4388 Commits
Author SHA1 Message Date
Kyle CarberryandClaude Opus 5.5 e7ff0c41be ci: releases need a second approver and come only from attested builds (#8143)
* ci: releases need a second approver and come only from attested builds

The Release workflow builds the packages from a commit on main (the merge commit of an update/
PR, or a commit given to a dispatch on main) and attests each file's provenance. A member of
code-server-release-team other than the person who started the run then approves the
release-approval environment. Only that job, as the coder-release-publisher App (key in Cloud
KMS), creates the tag and publishes the release with the attested files, in one step. Releases
are immutable, so the files can't change after that, and there is no draft for anyone to edit.

publish.yaml publishes nothing until it has checked that the release came from
coder-release-publisher, is immutable, and that every file was attested by release.yaml from main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: upload release-packages directly instead of copying it

package.tar.gz is now written into release-packages next to the platform packages, so every build
job attests and uploads one flat directory without a copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: remove a doubled blank line in release.yaml

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:54:42 +00:00
Dean Sheather 452dd0982a ci: remove Codecov 2026-11-18 10:09:35 -09:00
Kyle CarberryandClaude Opus 5.5 7f90477f73 ci: mint the coder-automations App token with Cloud KMS (#8137)
* ci: mint the coder-automations App token with Cloud KMS

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: validate the publish version before it reaches the shell

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:24:46 -05:00
Asher 910dcd28ab Remove discussions permission
Discussions have not been created for several years now.  There might be
a bug somehere, but for now at least, make it official.
2026-11-16 12:17:27 -09:00
Asher 111321987c Break AUR PR command into multiple lines 2026-11-16 12:13:09 -09:00
Asher c845f62dc0 Remove unnecessary token env in npm publish step 2026-11-16 12:12:22 -09:00
Asher 9779a4b8c0 Replace GitHub bot token (#8136)
For the coder/code-server-aur update, generate a token using our GitHub
app instead.

For the others that open PRs against coder/code-server, just use
GITHUB_TOKEN since that apparently works.  I also moved the env block to
the step that executes the `gh` cli rather than setting it job-level, mostly to 
match the aur step, but also to make it clearer where the env var actually
applies.

PRs created through GITHUB_TOKEN apparently cannot trigger other
workflows, but I think it should be OK to trigger them manually (will
switch to the app if this becomes annoying).
2026-11-16 12:12:06 -09:00
Asher e28b722971 Move vscode cache version to a var
This is not a secret, just a way to force busting the cache.
2026-11-16 10:51:29 -09:00
Asher 4a20c7a0a1 Use oidc for publishing to npm (#8134)
* Use oidc for publishing to npm
* Remove contents:read
  Examples show it but it is probably not required?
2026-11-16 10:43:52 -09:00
Jon Ayers ed321cd7f9 Use oidc for dockerhub auth (#8131)
* Use Docker Hub OIDC for publish workflow login

Replace the DOCKER_USERNAME/DOCKER_PASSWORD secrets with an OIDC
(workload identity federation) login to Docker Hub. The docker job now
grants id-token: write and passes the OIDC connection ID via the
DOCKERHUB_OIDC_CONNECTIONID repository variable.

* Run docker publish job in the release environment

Scopes the Docker Hub OIDC subject claim to
repo:coder/code-server:environment:release.
2026-11-16 09:53:25 -09:00
T Mohan Aditya dda09f22fa Split proxy request paths on / instead of path.sep (#8123)
The base path of /proxy/<port> requests was computed by splitting the
request path on path.sep, which is a backslash on Windows, so the whole
path became the base. Requests were proxied to / on the target port and
redirects were rewritten against the wrong base. URL paths always use /.
2026-11-12 18:22:59 -09:00
T Mohan Aditya b1ec0ce604 Match exact trusted origins case-insensitively (#8125)
authenticateOrigin() lowercases the host of the origin and
isTrustedOrigin() lowercases the domain of *.example.com entries, but
exact entries were compared as written, so an entry with an uppercase
letter (for example a Windows host name like DESKTOP-ABC123:8080) never
matched and requests from that origin were refused.
2026-11-12 17:48:53 -09:00
Wei-Lun Li bef3afff83 Add --wait to code-server's own CLI (#8117) 2026-11-12 16:55:11 -09:00
Asher 568a58f9a0 Support debug logging in release script 2026-11-11 11:33:04 -09:00
Itzhak Lobak 05286010ae Remove Cloud providers section
The linked repository has been archived for a long time.
2026-11-10 15:49:12 -09:00
cdrci 2452629195 Update Code to 1.145.3 (#8120) 2026-11-10 14:32:29 -09:00
cdrci fcd14dceb7 Update Helm chart and changelog with 4.145.2 (#8116) 2026-11-06 17:00:26 -09:00
Asher 934860d155 Update apt in release Docker images
The upgrade seems to be failing, so attempting to upgrade just apt.
2026-11-06 16:33:26 -09:00
cdrci 302bc77436 Update Code to 1.145.2 (#8115) v4.145.2 2026-11-06 14:17:43 -09:00
Asher dcc8cc89d6 Upgrade packages in Debian/Ubuntu release image 2026-11-06 14:16:58 -09:00
Asher e609bb06e3 Render Helm template for kubeconform 2026-11-04 14:39:00 -09:00
cdrci 29428b4e10 Update Helm chart and changelog with 4.145.0 (#8112) 2026-11-04 14:24:15 -09:00
cdrci 2cb3ad3e25 Update Code to 1.145.0 (#8109) v4.145.0 2026-11-04 13:00:37 -09:00
Asher 3798a42dc9 Set HttpOnly on cookies (#8110) 2026-11-04 12:59:44 -09:00
Asher cc7388533d Strip cookie from web socket requests (#8111)
This matches what we already do for regular HTTP requests.
2026-11-04 12:59:36 -09:00
Pham Quang Dinh c587540721 Add Vietnamese locale (#8107) 2026-11-03 20:43:25 +00:00
dependabot[bot] e0a7057ff4 Bump js-yaml from 5.4.3 to 5.5.0 (#8100) 2026-11-02 17:31:20 -09:00
dependabot[bot] 7c77a28768 Bump actions/setup-node from 7.0.0 to 7.1.0 (#8103) 2026-11-02 23:34:30 +00:00
dependabot[bot] 74c1e34fe2 Bump @eslint/compat from 1.4.1 to 2.1.1 (#8029) 2026-11-02 14:19:03 -09:00
dependabot[bot] fd571e6c61 Bump i18next from 26.3.1 to 26.5.11 (#8101) 2026-11-02 14:16:22 -09:00
dependabot[bot] d4d1288212 Bump globals from 17.6.0 to 17.13.0 (#8099) 2026-11-02 14:15:04 -09:00
Andy Piper 79d2c29c49 Add --disable-file-cache flag (#8085)
The browser writes some workspace files to the client disk during normal
use. The webview service worker stores resources that have an ETag in
Cache Storage, and responses from /vscode-remote-resource can end up in
the HTTP disk cache. --disable-file-downloads does not cover either.

With --disable-file-cache, the webview resource loader sends no ETag for
a resource outside the webview's own extension, so the service worker
does not store it. /vscode-remote-resource responds with
`Cache-Control: no-store` for files outside the extension directories.
Extension files keep their ETags, so webviews still load extension code
from the cache. The flag is off by default.
2026-11-02 14:14:26 -09:00
dependabot[bot] ee16a40e41 Bump softprops/action-gh-release from 3.0.2 to 3.0.3 (#8105) 2026-11-02 13:33:33 -09:00
dependabot[bot] e73622adaf Bump actions/upload-artifact from 7.0.1 to 7.0.2 (#8104) 2026-11-02 13:33:09 -09:00
dependabot[bot] 734cdc9947 Bump aquasecurity/trivy-action (#8102) 2026-11-02 13:32:22 -09:00
dependabot[bot] 1c435fa2f5 Bump argon2 from 0.44.0 to 0.45.1 (#8095) 2026-11-02 13:28:23 -09:00
Asher 74d06e2e36 Update remaining codeql actions
Also add a group since they have to all be updated together.
2026-11-02 13:20:36 -09:00
dependabot[bot] f65b229eab Bump typescript-eslint from 8.69.0 to 8.72.1 (#8092) 2026-11-02 12:47:41 -09:00
dependabot[bot] 973937ecf2 Bump github/codeql-action/upload-sarif from 4.37.6 to 4.39.1 (#8093) 2026-11-02 12:46:59 -09:00
dependabot[bot] 739bda2970 Bump @types/node from 24.13.3 to 24.19.2 (#8091) 2026-11-02 12:34:55 -09:00
dependabot[bot] c88b56cddc Bump docker/setup-qemu-action from 4.3.0 to 4.4.0 (#8090) 2026-11-02 12:33:59 -09:00
dependabot[bot] cad47a78f1 Bump github/codeql-action/analyze from 4.38.2 to 4.39.1 (#8096) 2026-11-02 12:33:20 -09:00
dependabot[bot] b4725f8be9 Bump docker/login-action from 4.6.0 to 4.7.0 (#8097) 2026-11-02 12:32:39 -09:00
dependabot[bot] 68d5f022a5 Bump actions/download-artifact from 8.0.1 to 8.0.2 (#8098) 2026-11-02 12:32:06 -09:00
cdrci 68810a6bd6 Update Helm chart and changelog with 4.144.0 (#8088) 2026-10-29 13:35:10 -08:00
cdrci ee31cdbe02 Update Code to 1.144.0 (#8087) v4.144.0 2026-10-28 17:38:07 -08:00
Andy Piper 27808460b1 Fix --socket-fd when code-server is socket-activated (#8083)
The --socket-fd flag never worked. The wrapper forks the process that
listens, but only the IPC channel was inherited as fd 3, so the socket
passed by the caller was not available to the child. Node then tried to
listen on the IPC pipe and failed with "listen EEXIST".

Pass the socket to the child as stdio entry 4 and tell the child to use
that fd in the handshake.

Node also reports no address for a Unix socket adopted by fd, which made
startup fail with "Server has no address". Log the listener as fd:<n>
in that case.

Add an integration test that starts the code-server binary with a Unix
or TCP socket as fd 3 and checks that /healthz answers over it.
2026-10-28 15:11:06 -08:00
Harsh Bhanushali 70fc911358 Override basic-ftp to ^6.2.1 (#8086)
get-uri still depends on basic-ftp ^5.x, which has no patched release.
2026-10-28 14:25:45 -08:00
Raphael Fakhri 761b0d2a19 Fix cookie domain not being set against root host (#8076) 2026-10-27 13:05:56 -08:00
Vincent Coffey 09012065c9 Support load balancer service in Helm chart (#8081) 2026-10-27 11:58:13 -08:00