Commit Graph
206 Commits
Author SHA1 Message Date
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
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) 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
cdrci 4677c9d865 Update Helm chart and changelog with 4.143.1 (#8072) 2026-10-23 15:32:11 -08:00
cdrci 22ddf60dbc Update Code to 1.143.1 (#8069)
* Remove Node patch
* Update patches
Just one conflict, they use user-data-dir now which is something we
already have been doing for a long time.
2026-10-23 22:15:00 +00:00
cdrci e777c1f963 Update Helm chart and changelog with 4.141.1 (#8071) 2026-10-23 13:49:22 -08:00
Dean Sheather 777c493a9b Upgrade Node to 24.22.1 2026-10-23 15:06:41 +00:00
cdrci 78aad47ce6 Update Helm chart and changelog with 4.141.0 (#8045) 2026-10-08 02:35:52 -08:00
cdrci 8b41915d25 Update Code to 1.141.0 (#8040)
* Update Code to 1.141.0
* Allow pull_request_target
* Add e2e tests for remote storage
* Fix Typescript extension not loading
* Remove unused imports
2026-10-07 22:54:47 -08:00
cdrci 067f1e35dd Update Helm chart and changelog with 4.140.0 (#8038) 2026-10-01 16:18:01 -08:00
cdrci ccc19adc2e Update Code to 1.140.0 (#8037) 2026-10-01 12:42:33 -08:00
cdrci 96e468eaa6 Update Helm chart and changelog with 4.139.1 (#8022) 2026-09-28 14:45:26 -08:00
cdrci 53c2f3253b Update Code to 1.139.1 (#8021)
* Update Code to 1.139.1
* Bump proxy-addr to 2.0.8
* Add preinstall setup to build
  Already had this in the release build step, not sure why it is not in
  the main build step.  But we started getting errors building native
  modules in ci, and this seems to be why.
* Fix quick input
  It types too quickly, before the input is visible.
2026-09-25 15:12:50 -08:00
Leo Camus 8a7bf87a4d Fix --idle-timeout-seconds validation being skipped (#8009)
The lower bound check ran before the parser had resolved the value, so it
only saw a value with the --idle-timeout-seconds=<value> form. With the
space-separated form the value was still undefined at that point,
Number(undefined) is NaN, and NaN <= 60 is false, so anything got through.

Move the check below the block that pulls the value from the next
argument so both forms are validated the same way.
2026-09-20 02:53:04 -08:00
cdrci cd0f21dc72 Update Helm chart and changelog with 4.138.0 (#8014) 2026-09-20 02:51:41 -08:00
cdrci 59c988c744 Update Code to 1.138.0 (#8011) 2026-09-18 23:44:50 +00:00
Limbo ef5eba4348 Preserve path, query, and fragment in proxy URL rewrite (#8012) 2026-09-17 12:41:01 -08:00
cdrci 771a637516 Update Helm chart and changelog with 4.137.0 (#8007) 2026-09-10 17:11:14 -08:00
cdrci b11dabdaca Update Code to 1.137.0 (#8005) 2026-09-10 12:38:15 -08:00
cdrci 322f065cf0 Update Helm chart and changelog with 4.136.2 (#7993) 2026-09-08 12:17:20 -08:00
Asher 8d5f383f30 Fix incorrect data path being used (#7991) 2026-09-08 11:02:14 -08:00
cdrci c9b1fa2e16 Update Helm chart and changelog with 4.136.1 (#7990) 2026-09-08 10:36:08 -08:00
cdrci 00672a5522 Update Code to 1.136.1 (#7981)
* Update Code to 1.136.1

* Do not click on tab during test file opens

It will already be the selected tab, and if any other tab is already
open (like the welcome tab), it will click that instead.

We disable the welcome page so this is not supposed to actually matter,
but that Setting appears not to be working.

Also add the quick input widget selector in the disabled downloads test,
since if the widget never shows up it would mistakenly pass.
2026-09-08 08:32:03 -08:00
cdrci 2b2f8b3d5c Update Helm chart and changelog with 4.135.0 (#7964) 2026-08-27 11:46:21 -08:00
cdrci de89acbcdc Update Code to 1.135.0 (#7963) 2026-08-26 14:54:52 -08:00
cdrci e08e907889 Update Helm chart and changelog with 4.134.0 (#7961) 2026-08-24 14:00:49 -08:00
Asher 92f44d9c7b Fix changelog typo 2026-08-24 13:44:38 -08:00
cdrci 88c2b7432e Update Code to 1.134.0 (#7954) 2026-08-20 21:45:25 +00:00
cdrci c22dc74d53 Update Helm chart and changelog with 4.133.0 (#7951) 2026-08-17 15:58:30 -08:00
cdrci d2f7a12252 Update Code to 1.133.0 (#7942) 2026-08-17 10:06:00 -08:00
cdrci 29785ddfba Update Helm chart and changelog with 4.132.0 (#7937) 2026-08-10 10:20:19 -08:00
cdrci 41cbd28c44 Update Code to 1.132.0 (#7933) 2026-08-06 22:13:49 +00:00
Asher 208c81a072 Fix mistakenly encoding cookies to proxy
We use the cookie parser to remove the code-server token but by default
it encodes using encodeURIComponent, which encodes more than is strictly
necessary and can break proxied applications.

Now we pass the cookies through unchanged (other than removing the
code-server token).

Fixes #7927.
2026-08-06 13:06:00 -08:00
cdrci eb4ba56acb Update Helm chart and changelog with 4.131.0 (#7922) 2026-07-30 14:37:01 -08:00
Asher 4cf9c11e3f Update changelog with 1.131.0 2026-07-30 14:13:53 -08:00
cdrci 14bdb36f92 Update Helm chart and changelog with 4.130.0 (#7906) 2026-07-23 16:18:12 -08:00
cdrci 197ef3e8da Update Code to 1.130.0 (#7904) 2026-07-23 19:09:58 +00:00
cdrci 227d08660b Update Code to 1.129.1 (#7899) 2026-07-20 11:00:27 -08:00
cdrci 22b0a3eeab Update Helm chart and changelog with 4.129.0 (#7898) 2026-07-17 11:33:10 -08:00
cdrci 77baee7fe0 Update Code to 1.129.0 (#7897) 2026-07-17 07:05:13 +00:00
cdrci 421e7eb084 Update Helm chart and changelog with 4.128.0 (#7891) 2026-07-13 08:56:29 -08:00
cdrci cb22f74650 Update Code to 1.128.0 (#7889) 2026-07-10 12:08:44 -08:00
cdrci 1e160477be Update Helm chart and changelog with 4.127.0 (#7882) 2026-07-02 12:05:31 -08:00
cdrci 1e6ed874e3 Update Code to 1.127.0 (#7880)
There is a new use of parsedArgs so we have to pass that in since we
parse on demand instead of globally.
2026-07-01 13:01:48 -08:00
cdrci dd48f7753b Update Helm chart and changelog with 4.126.0 (#7869) 2026-06-24 14:08:03 -08:00
cdrci 2c06497ca9 Update Code to 1.126.0 (#7868) 2026-06-24 12:05:00 -08:00
cdrci 40b39293fa Update Helm chart and changelog with 4.125.0 (#7863) 2026-06-22 11:29:01 -08:00
cdrci fade53fcaf Update Code to 1.125.0 (#7861) 2026-06-17 10:51:01 -08:00
cdrciandcdrci 19be49ebe4 Update Helm chart and changelog with 4.124.2 (#7851)
Co-authored-by: cdrci <opensource@coder.com>
2026-06-16 07:57:28 -08:00