mirror of
https://github.com/coder/code-server.git
synced 2026-06-04 11:29:34 +00:00
Compare commits
1 Commits
dependabot
...
asher/enab
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e904a24ce4 |
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
helm: ${{ steps.filter.outputs.helm }}
|
helm: ${{ steps.filter.outputs.helm }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||||
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
|
- uses: dorny/paths-filter@d1c1ffe0248fe513906c8e24db8ea791d46f8590 # v3
|
||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
@@ -163,7 +163,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: sudo apt update && sudo apt install -y libkrb5-dev
|
- run: sudo apt update && sudo apt install -y libkrb5-dev
|
||||||
- uses: awalsh128/cache-apt-pkgs-action@acb598e5ddbc6f68a970c5da0688d2f3a9f04d05 # latest
|
- uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
|
||||||
with:
|
with:
|
||||||
packages: quilt
|
packages: quilt
|
||||||
version: 1.0
|
version: 1.0
|
||||||
|
|||||||
12
.github/workflows/publish.yaml
vendored
12
.github/workflows/publish.yaml
vendored
@@ -38,7 +38,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version-file: .node-version
|
node-version-file: .node-version
|
||||||
|
|
||||||
- uses: robinraju/release-downloader@28fc21f50d76778e7023361aa1f863e717d3d56f # v1.13
|
- uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12
|
||||||
with:
|
with:
|
||||||
repository: "coder/code-server"
|
repository: "coder/code-server"
|
||||||
tag: ${{ env.TAG }}
|
tag: ${{ env.TAG }}
|
||||||
@@ -112,23 +112,23 @@ jobs:
|
|||||||
- uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
|
- uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
|
||||||
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
|
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
|
||||||
|
|
||||||
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
|
- uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
|
- uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- uses: robinraju/release-downloader@28fc21f50d76778e7023361aa1f863e717d3d56f # v1.13
|
- uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12
|
||||||
with:
|
with:
|
||||||
repository: "coder/code-server"
|
repository: "coder/code-server"
|
||||||
tag: v${{ env.VERSION }}
|
tag: v${{ env.VERSION }}
|
||||||
fileName: "*.deb"
|
fileName: "*.deb"
|
||||||
out-file-path: "release-packages"
|
out-file-path: "release-packages"
|
||||||
- uses: robinraju/release-downloader@28fc21f50d76778e7023361aa1f863e717d3d56f # v1.13
|
- uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12
|
||||||
with:
|
with:
|
||||||
repository: "coder/code-server"
|
repository: "coder/code-server"
|
||||||
tag: v${{ env.VERSION }}
|
tag: v${{ env.VERSION }}
|
||||||
@@ -159,7 +159,7 @@ jobs:
|
|||||||
git config --global user.email opensource@coder.com
|
git config --global user.email opensource@coder.com
|
||||||
git checkout -b "helm/$VERSION"
|
git checkout -b "helm/$VERSION"
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update Helm chart and changelog with $VERSION"
|
git commit -m "Update to $VERSION"
|
||||||
git push -u origin "$(git branch --show)"
|
git push -u origin "$(git branch --show)"
|
||||||
gh pr create \
|
gh pr create \
|
||||||
--repo coder/code-server \
|
--repo coder/code-server \
|
||||||
|
|||||||
31
.github/workflows/release.yaml
vendored
31
.github/workflows/release.yaml
vendored
@@ -10,7 +10,7 @@ on:
|
|||||||
types:
|
types:
|
||||||
- closed
|
- closed
|
||||||
branches:
|
branches:
|
||||||
- main
|
- "update/**"
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # For creating releases.
|
contents: write # For creating releases.
|
||||||
@@ -26,9 +26,7 @@ jobs:
|
|||||||
package-linux:
|
package-linux:
|
||||||
name: ${{ format('linux-{0}', matrix.vscode_arch) }}
|
name: ${{ format('linux-{0}', matrix.vscode_arch) }}
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
if: >-
|
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
|
||||||
(github.event_name == 'workflow_dispatch') ||
|
|
||||||
(github.event_name == 'pull_request_target' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'update/'))
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -39,6 +37,9 @@ jobs:
|
|||||||
- npm_arch: arm64
|
- npm_arch: arm64
|
||||||
vscode_arch: arm64
|
vscode_arch: arm64
|
||||||
package_arch: arm64
|
package_arch: arm64
|
||||||
|
- npm_arch: arm
|
||||||
|
vscode_arch: armhf
|
||||||
|
package_arch: armv7l
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -59,7 +60,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: sudo apt update && sudo apt install -y libkrb5-dev
|
- run: sudo apt update && sudo apt install -y libkrb5-dev
|
||||||
- uses: awalsh128/cache-apt-pkgs-action@acb598e5ddbc6f68a970c5da0688d2f3a9f04d05 # latest
|
- uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
|
||||||
with:
|
with:
|
||||||
packages: quilt
|
packages: quilt
|
||||||
version: 1.0
|
version: 1.0
|
||||||
@@ -69,12 +70,10 @@ jobs:
|
|||||||
curl -sSfL https://github.com/goreleaser/nfpm/releases/download/v2.3.1/nfpm_2.3.1_`uname -s`_`uname -m`.tar.gz | tar -C ~/.local/bin -zxv nfpm
|
curl -sSfL https://github.com/goreleaser/nfpm/releases/download/v2.3.1/nfpm_2.3.1_`uname -s`_`uname -m`.tar.gz | tar -C ~/.local/bin -zxv nfpm
|
||||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Strip update/ and v from tag and set major version
|
- name: Strip update/ and v from tag
|
||||||
run: |
|
run: |
|
||||||
version=${TAG#update/}
|
version=${TAG#update/}
|
||||||
version=${version#v}
|
echo "VERSION=${version#v}" >> $GITHUB_ENV
|
||||||
version=4${version:1}
|
|
||||||
echo "VERSION=$version" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||||
with:
|
with:
|
||||||
@@ -118,7 +117,7 @@ jobs:
|
|||||||
files: package.tar.gz
|
files: package.tar.gz
|
||||||
tag_name: v${{ env.VERSION }}
|
tag_name: v${{ env.VERSION }}
|
||||||
name: v${{ env.VERSION }}
|
name: v${{ env.VERSION }}
|
||||||
body_path: .cache/release-notes
|
body: .cache/release-notes
|
||||||
|
|
||||||
# Platform-specific release.
|
# Platform-specific release.
|
||||||
- run: KEEP_MODULES=1 npm run release
|
- run: KEEP_MODULES=1 npm run release
|
||||||
@@ -134,9 +133,7 @@ jobs:
|
|||||||
package-macos:
|
package-macos:
|
||||||
name: ${{ matrix.vscode_target }}
|
name: ${{ matrix.vscode_target }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
if: >-
|
if: github.event_name == 'workflow_dispatch' || github.event.pull_request_merged == true
|
||||||
(github.event_name == 'workflow_dispatch') ||
|
|
||||||
(github.event_name == 'pull_request_target' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'update/'))
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@@ -147,7 +144,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
VSCODE_TARGET: ${{ matrix.vscode_target }}
|
VSCODE_TARGET: ${{ matrix.vscode_target }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
TAG: ${{ inputs.version || github.event.pull_request.head.ref || github.ref_name }}
|
TAG: ${{ inputs.version || github.ref_name }}
|
||||||
# Ensure native modules are built from source to avoid prebuilds.
|
# Ensure native modules are built from source to avoid prebuilds.
|
||||||
npm_config_build_from_source: true
|
npm_config_build_from_source: true
|
||||||
|
|
||||||
@@ -163,12 +160,10 @@ jobs:
|
|||||||
curl -sSfL https://github.com/goreleaser/nfpm/releases/download/v2.3.1/nfpm_2.3.1_`uname -s`_`uname -m`.tar.gz | tar -C ~/.local/bin -zxv nfpm
|
curl -sSfL https://github.com/goreleaser/nfpm/releases/download/v2.3.1/nfpm_2.3.1_`uname -s`_`uname -m`.tar.gz | tar -C ~/.local/bin -zxv nfpm
|
||||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Strip update/ and v from tag and set major version
|
- name: Strip update/ and v from tag
|
||||||
run: |
|
run: |
|
||||||
version=${TAG#update/}
|
version=${TAG#update/}
|
||||||
version=${version#v}
|
echo "VERSION=${version#v}" >> $GITHUB_ENV
|
||||||
version=4${version:1}
|
|
||||||
echo "VERSION=$version" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/security.yaml
vendored
2
.github/workflows/security.yaml
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Run Trivy vulnerability scanner in repo mode
|
- name: Run Trivy vulnerability scanner in repo mode
|
||||||
uses: aquasecurity/trivy-action@314ff8b43182423b84c50b1670b0e10f858f2d98 # latest
|
uses: aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478 # latest
|
||||||
with:
|
with:
|
||||||
scan-type: "fs"
|
scan-type: "fs"
|
||||||
scan-ref: "."
|
scan-ref: "."
|
||||||
|
|||||||
2
.github/workflows/trivy-docker.yaml
vendored
2
.github/workflows/trivy-docker.yaml
vendored
@@ -49,7 +49,7 @@ jobs:
|
|||||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||||
|
|
||||||
- name: Run Trivy vulnerability scanner in image mode
|
- name: Run Trivy vulnerability scanner in image mode
|
||||||
uses: aquasecurity/trivy-action@314ff8b43182423b84c50b1670b0e10f858f2d98 # latest
|
uses: aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478 # latest
|
||||||
with:
|
with:
|
||||||
image-ref: "docker.io/codercom/code-server:latest"
|
image-ref: "docker.io/codercom/code-server:latest"
|
||||||
ignore-unfixed: true
|
ignore-unfixed: true
|
||||||
|
|||||||
6
.github/workflows/update.yaml
vendored
6
.github/workflows/update.yaml
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
echo done=false >> $GITHUB_OUTPUT
|
echo done=false >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- uses: awalsh128/cache-apt-pkgs-action@acb598e5ddbc6f68a970c5da0688d2f3a9f04d05 # latest
|
- uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
|
||||||
if: steps.check.outputs.done == 'false'
|
if: steps.check.outputs.done == 'false'
|
||||||
with:
|
with:
|
||||||
packages: quilt
|
packages: quilt
|
||||||
@@ -63,10 +63,10 @@ jobs:
|
|||||||
git config --global user.email opensource@coder.com
|
git config --global user.email opensource@coder.com
|
||||||
git checkout -b "update/$VERSION"
|
git checkout -b "update/$VERSION"
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update Code to $VERSION"
|
git commit -m "Update VS Code to $VERSION"
|
||||||
git push -u origin "$(git branch --show)"
|
git push -u origin "$(git branch --show)"
|
||||||
gh pr create \
|
gh pr create \
|
||||||
--repo coder/code-server \
|
--repo coder/code-server \
|
||||||
--title "Update Code to $VERSION" \
|
--title "Update VS Code to $VERSION" \
|
||||||
--body-file .cache/checklist \
|
--body-file .cache/checklist \
|
||||||
--draft
|
--draft
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
24.15.0
|
22.22.1
|
||||||
|
|||||||
44
CHANGELOG.md
44
CHANGELOG.md
@@ -22,48 +22,20 @@ Code v99.99.999
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
Code v1.123.0
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- Update to Code 1.123.0
|
|
||||||
- Microsoft dropped support for armhf remotes so there will no longer be any
|
|
||||||
builds for armhf.
|
|
||||||
|
|
||||||
## [4.122.1](https://github.com/coder/code-server/releases/tag/v4.122.1) - 2026-06-02
|
|
||||||
|
|
||||||
Code v1.122.1
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- Update to Code 1.122.1
|
|
||||||
|
|
||||||
## [4.122.0](https://github.com/coder/code-server/releases/tag/v4.122.0) - 2026-05-29
|
|
||||||
|
|
||||||
Code v1.122.0
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- Update to Code 1.122.0
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- `--app-name` will now affect window titles within the editor (it is now used
|
|
||||||
as the value for `${appName}` in the title template) as well as some other
|
|
||||||
places like the help > about dialog.
|
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
- App name can now be set with the `CODE_SERVER_APP_NAME` environment variable.
|
|
||||||
|
|
||||||
## [4.121.0](https://github.com/coder/code-server/releases/tag/v4.121.0) - 2026-05-20
|
|
||||||
|
|
||||||
Code v1.121.0
|
Code v1.121.0
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Update to Code 1.121.0
|
- Update to Code 1.121.0
|
||||||
|
|
||||||
|
## [4.119.0](https://github.com/coder/code-server/releases/tag/v4.119.0) - 2026-05-07
|
||||||
|
|
||||||
|
Code v1.119.0
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Update to Code 1.119.0
|
||||||
|
|
||||||
## [4.118.0](https://github.com/coder/code-server/releases/tag/v4.118.0) - 2026-05-06
|
## [4.118.0](https://github.com/coder/code-server/releases/tag/v4.118.0) - 2026-05-06
|
||||||
|
|
||||||
Code v1.118.0
|
Code v1.118.0
|
||||||
|
|||||||
@@ -2,65 +2,16 @@
|
|||||||
|
|
||||||
set -Eeuo pipefail
|
set -Eeuo pipefail
|
||||||
|
|
||||||
# Given versions $1 and $2 figure out the first component that is different
|
|
||||||
# (major, minor, patch).
|
|
||||||
function find_version_diff() {
|
|
||||||
# shellcheck disable=SC2206
|
|
||||||
local a=( ${1//./ } )
|
|
||||||
# shellcheck disable=SC2206
|
|
||||||
local b=( ${2//./ } )
|
|
||||||
|
|
||||||
if [[ ${a[0]} != "${b[0]}" ]] ; then
|
|
||||||
echo major
|
|
||||||
elif [[ ${a[1]} != "${b[1]}" ]] ; then
|
|
||||||
echo minor
|
|
||||||
else
|
|
||||||
echo patch
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Bump $1 by the bump type (major, minor, patch) in $2.
|
|
||||||
function bump_version() {
|
|
||||||
# shellcheck disable=SC2206
|
|
||||||
local a=( ${1//./ } )
|
|
||||||
case $2 in
|
|
||||||
major)
|
|
||||||
((a[0]++))
|
|
||||||
a[1]=0
|
|
||||||
a[2]=0
|
|
||||||
;;
|
|
||||||
minor)
|
|
||||||
((a[1]++))
|
|
||||||
a[2]=0
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
((a[2]++))
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
echo "${a[0]}.${a[1]}.${a[2]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
function update_helm() {
|
function update_helm() {
|
||||||
local chart_version
|
local current
|
||||||
chart_version=$(yq .version ci/helm-chart/Chart.yaml)
|
current=$(yq .version ci/helm-chart/Chart.yaml)
|
||||||
local app_version
|
local next
|
||||||
app_version=$(yq .appVersion ci/helm-chart/Chart.yaml)
|
next=$(semver "$current" -i minor)
|
||||||
local image_version
|
echo "Bumping version from $current to $next..."
|
||||||
image_version=$(yq .image.tag ci/helm-chart/values.yaml)
|
sed -i.bak "s/^version: $current\$/version: $next/" ci/helm-chart/Chart.yaml
|
||||||
|
|
||||||
local bump_type
|
echo "Setting app version and image to $version..."
|
||||||
bump_type=$(find_version_diff "$app_version" "$version")
|
|
||||||
local chart_version_bump
|
|
||||||
chart_version_bump=$(bump_version "$chart_version" "$bump_type")
|
|
||||||
|
|
||||||
# Use sed to replace because yq will reformat.
|
|
||||||
echo "Bumping version from $chart_version to $chart_version_bump..."
|
|
||||||
sed -i.bak "s/^version: $chart_version\$/version: $chart_version_bump/" ci/helm-chart/Chart.yaml
|
|
||||||
|
|
||||||
echo "Bumping app version from $app_version to $version..."
|
|
||||||
sed -i.bak "s/^appVersion: .\+\$/appVersion: $version/" ci/helm-chart/Chart.yaml
|
sed -i.bak "s/^appVersion: .\+\$/appVersion: $version/" ci/helm-chart/Chart.yaml
|
||||||
|
|
||||||
echo "Bumping image version from $image_version to $version..."
|
|
||||||
sed -i.bak "s/^ tag: .\+\$/ tag: '$version'/" ci/helm-chart/values.yaml
|
sed -i.bak "s/^ tag: .\+\$/ tag: '$version'/" ci/helm-chart/values.yaml
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -86,8 +37,7 @@ function main() {
|
|||||||
"Update changelog" "update_changelog"
|
"Update changelog" "update_changelog"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Even if a step failed, still output the last checkmark.
|
run-steps "${steps[@]}"
|
||||||
run-steps "${steps[@]}" || true
|
|
||||||
|
|
||||||
# This step is always manual.
|
# This step is always manual.
|
||||||
echo "- [ ] https://github.com/coder/code-server-aur/pulls" >> .cache/checklist
|
echo "- [ ] https://github.com/coder/code-server-aur/pulls" >> .cache/checklist
|
||||||
|
|||||||
@@ -132,12 +132,12 @@ function main() {
|
|||||||
fi
|
fi
|
||||||
target_vscode_version="${VERSION#v}"
|
target_vscode_version="${VERSION#v}"
|
||||||
steps+=(
|
steps+=(
|
||||||
"Update Code to $target_vscode_version" "update_vscode"
|
"Update VS Code to $target_vscode_version" "update_vscode"
|
||||||
"Refresh Code patches" "refresh_patches"
|
"Refresh VS Code patches" "refresh_patches"
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
target_vscode_version="$(git -C lib/vscode describe --tags --exact-match)"
|
target_vscode_version="$(git -C lib/vscode describe --tags --exact-match)"
|
||||||
echo "Detected Code version $target_vscode_version"
|
echo "Detected VS Code version $target_vscode_version"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
steps+=(
|
steps+=(
|
||||||
@@ -146,8 +146,7 @@ function main() {
|
|||||||
"Add changelog note" "add_changelog"
|
"Add changelog note" "add_changelog"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Even if a step failed, still output the last checkmark.
|
run-steps "${steps[@]}"
|
||||||
run-steps "${steps[@]}" || true
|
|
||||||
|
|
||||||
# This step is always manual.
|
# This step is always manual.
|
||||||
echo "- [ ] Verify changelog" >> .cache/checklist
|
echo "- [ ] Verify changelog" >> .cache/checklist
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ type: application
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 3.37.1
|
version: 3.35.0
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
appVersion: 4.122.1
|
appVersion: 4.116.0
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: codercom/code-server
|
repository: codercom/code-server
|
||||||
tag: '4.122.1'
|
tag: '4.116.0'
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
||||||
# Specifies one or more secrets to be used when pulling images from a
|
# Specifies one or more secrets to be used when pulling images from a
|
||||||
|
|||||||
Submodule lib/vscode updated: 6a44c352bd...987c959751
32
package-lock.json
generated
32
package-lock.json
generated
@@ -58,7 +58,7 @@
|
|||||||
"eslint-plugin-import": "^2.28.1",
|
"eslint-plugin-import": "^2.28.1",
|
||||||
"eslint-plugin-prettier": "^5.0.0",
|
"eslint-plugin-prettier": "^5.0.0",
|
||||||
"globals": "^16.1.0",
|
"globals": "^16.1.0",
|
||||||
"prettier": "3.8.3",
|
"prettier": "3.6.2",
|
||||||
"prettier-plugin-sh": "^0.18.0",
|
"prettier-plugin-sh": "^0.18.0",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"typescript": "^5.6.2",
|
"typescript": "^5.6.2",
|
||||||
@@ -1639,9 +1639,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/basic-ftp": {
|
"node_modules/basic-ftp": {
|
||||||
"version": "5.3.1",
|
"version": "5.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.3.0.tgz",
|
||||||
"integrity": "sha512-bopVNp6ugyA150DDuZfPFdt1KZ5a94ZDiwX4hMgZDzF+GttD80lEy8kj98kbyhLXnPvhtIo93mdnLIjpCAeeOw==",
|
"integrity": "sha512-5K9eNNn7ywHPsYnFwjKgYH8Hf8B5emh7JKcPaVjjrMJFQQwGpwowEnZNEtHs7DfR7hCZsmaK3VA4HUK0YarT+w==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.0.0"
|
"node": ">=10.0.0"
|
||||||
@@ -3637,9 +3637,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ip-address": {
|
"node_modules/ip-address": {
|
||||||
"version": "10.2.0",
|
"version": "10.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.1.0.tgz",
|
||||||
"integrity": "sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA==",
|
"integrity": "sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 12"
|
"node": ">= 12"
|
||||||
@@ -5100,9 +5100,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/prettier": {
|
"node_modules/prettier": {
|
||||||
"version": "3.8.3",
|
"version": "3.6.2",
|
||||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.3.tgz",
|
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz",
|
||||||
"integrity": "sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw==",
|
"integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bin": {
|
"bin": {
|
||||||
@@ -5197,9 +5197,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/qs": {
|
"node_modules/qs": {
|
||||||
"version": "6.15.2",
|
"version": "6.15.0",
|
||||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.15.2.tgz",
|
"resolved": "https://registry.npmjs.org/qs/-/qs-6.15.0.tgz",
|
||||||
"integrity": "sha512-Rzq0KEyX/w/tEybncDgdkZrJgVUsUMk3xjh3t5bv3S1HTAtg+uOYt72+ZfwiQwKdysThkTBdL/rTi6HDmX9Ddw==",
|
"integrity": "sha512-mAZTtNCeetKMH+pSjrb76NAM8V9a05I9aBZOHztWy/UqcJdQYNsf59vrRKWnojAT9Y+GbIvoTBC++CPHqpDBhQ==",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"side-channel": "^1.1.0"
|
"side-channel": "^1.1.0"
|
||||||
@@ -6613,9 +6613,9 @@
|
|||||||
"license": "ISC"
|
"license": "ISC"
|
||||||
},
|
},
|
||||||
"node_modules/ws": {
|
"node_modules/ws": {
|
||||||
"version": "8.20.1",
|
"version": "8.19.0",
|
||||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.20.1.tgz",
|
"resolved": "https://registry.npmjs.org/ws/-/ws-8.19.0.tgz",
|
||||||
"integrity": "sha512-It4dO0K5v//JtTXuPkfEOaI3uUN87iYPnqo/ZzqCoG3g8uhA66QUMs/SrM0YK7/NAu+r4LMh/9dq2A7k+rHs+w==",
|
"integrity": "sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.0.0"
|
"node": ">=10.0.0"
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
"eslint-plugin-import": "^2.28.1",
|
"eslint-plugin-import": "^2.28.1",
|
||||||
"eslint-plugin-prettier": "^5.0.0",
|
"eslint-plugin-prettier": "^5.0.0",
|
||||||
"globals": "^16.1.0",
|
"globals": "^16.1.0",
|
||||||
"prettier": "3.8.3",
|
"prettier": "3.6.2",
|
||||||
"prettier-plugin-sh": "^0.18.0",
|
"prettier-plugin-sh": "^0.18.0",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"typescript": "^5.6.2",
|
"typescript": "^5.6.2",
|
||||||
|
|||||||
@@ -1,46 +0,0 @@
|
|||||||
Apply --app-name to VS Code web page titles
|
|
||||||
|
|
||||||
VS Code's `${appName}` title variable comes from `productService.nameLong` in the
|
|
||||||
web client. code-server already injects per-request product configuration into
|
|
||||||
VS Code's web bootstrap, so set `nameShort`/`nameLong` from the existing
|
|
||||||
`--app-name` CLI arg there.
|
|
||||||
|
|
||||||
This keeps the patch minimal and makes browser tab titles honor `--app-name`
|
|
||||||
without changing unrelated product metadata.
|
|
||||||
|
|
||||||
Index: code-server/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
|
|
||||||
===================================================================
|
|
||||||
--- code-server.orig/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
|
|
||||||
+++ code-server/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
|
|
||||||
@@ -24,6 +24,7 @@ export const serverOptions: OptionDescri
|
|
||||||
'disable-getting-started-override': { type: 'boolean' },
|
|
||||||
'locale': { type: 'string' },
|
|
||||||
'link-protection-trusted-domains': { type: 'string[]' },
|
|
||||||
+ 'app-name': { type: 'string' },
|
|
||||||
|
|
||||||
/* ----- server setup ----- */
|
|
||||||
|
|
||||||
@@ -124,6 +125,7 @@ export interface ServerParsedArgs {
|
|
||||||
'disable-getting-started-override'?: boolean,
|
|
||||||
'locale'?: string
|
|
||||||
'link-protection-trusted-domains'?: string[],
|
|
||||||
+ 'app-name'?: string,
|
|
||||||
|
|
||||||
/* ----- server setup ----- */
|
|
||||||
|
|
||||||
Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
|
|
||||||
===================================================================
|
|
||||||
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
|
|
||||||
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
|
|
||||||
@@ -366,8 +366,11 @@ export class WebClientServer {
|
|
||||||
linkProtectionTrustedDomains.push(...this._productService.linkProtectionTrustedDomains);
|
|
||||||
}
|
|
||||||
|
|
||||||
+ const appName = this._environmentService.args['app-name'];
|
|
||||||
const productConfiguration: Partial<Mutable<IProductConfiguration>> = {
|
|
||||||
codeServerVersion: this._productService.codeServerVersion,
|
|
||||||
+ nameShort: appName,
|
|
||||||
+ nameLong: appName,
|
|
||||||
rootEndpoint: rootBase,
|
|
||||||
updateEndpoint: !this._environmentService.args['disable-update-check'] ? rootBase + '/update/check' : undefined,
|
|
||||||
logoutEndpoint: this._environmentService.args['auth'] && this._environmentService.args['auth'] !== "none" ? rootBase + '/logout' : undefined,
|
|
||||||
@@ -263,7 +263,7 @@ Index: code-server/lib/vscode/src/vs/code/browser/workbench/workbench.ts
|
|||||||
}
|
}
|
||||||
|
|
||||||
private startListening(): void {
|
private startListening(): void {
|
||||||
@@ -590,17 +591,6 @@ class WorkspaceProvider implements IWork
|
@@ -584,17 +585,6 @@ class WorkspaceProvider implements IWork
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -281,7 +281,7 @@ Index: code-server/lib/vscode/src/vs/code/browser/workbench/workbench.ts
|
|||||||
(function () {
|
(function () {
|
||||||
|
|
||||||
// Find config by checking for DOM
|
// Find config by checking for DOM
|
||||||
@@ -610,8 +600,8 @@ function readCookie(name: string): strin
|
@@ -604,8 +594,8 @@ function readCookie(name: string): strin
|
||||||
if (!configElement || !configElementAttribute) {
|
if (!configElement || !configElementAttribute) {
|
||||||
throw new Error('Missing web configuration element');
|
throw new Error('Missing web configuration element');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ Index: code-server/lib/vscode/build/gulpfile.extensions.ts
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- code-server.orig/lib/vscode/build/gulpfile.extensions.ts
|
--- code-server.orig/lib/vscode/build/gulpfile.extensions.ts
|
||||||
+++ code-server/lib/vscode/build/gulpfile.extensions.ts
|
+++ code-server/lib/vscode/build/gulpfile.extensions.ts
|
||||||
@@ -291,6 +291,29 @@ export const compileCopilotExtensionBuil
|
@@ -294,6 +294,29 @@ export const compileCopilotExtensionBuil
|
||||||
task.task(compileCopilotExtensionBuildTask);
|
gulp.task(compileCopilotExtensionBuildTask);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
+ * Compiles the built-in copilot extension with proper `.vscodeignore` filtering
|
+ * Compiles the built-in copilot extension with proper `.vscodeignore` filtering
|
||||||
@@ -26,7 +26,7 @@ Index: code-server/lib/vscode/build/gulpfile.extensions.ts
|
|||||||
+ return Promise.resolve();
|
+ return Promise.resolve();
|
||||||
+ })
|
+ })
|
||||||
+));
|
+));
|
||||||
+task.task(compileCopilotExtensionFullBuildTask);
|
+gulp.task(compileCopilotExtensionFullBuildTask);
|
||||||
+
|
+
|
||||||
+/**
|
+/**
|
||||||
* Compiles the extensions for the build.
|
* Compiles the extensions for the build.
|
||||||
@@ -36,15 +36,15 @@ Index: code-server/lib/vscode/build/lib/extensions.ts
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- code-server.orig/lib/vscode/build/lib/extensions.ts
|
--- code-server.orig/lib/vscode/build/lib/extensions.ts
|
||||||
+++ code-server/lib/vscode/build/lib/extensions.ts
|
+++ code-server/lib/vscode/build/lib/extensions.ts
|
||||||
@@ -21,6 +21,7 @@ import { getProductionDependencies } fro
|
@@ -24,6 +24,7 @@ import { getProductionDependencies } fro
|
||||||
import { type IExtensionDefinition, getExtensionStream } from './builtInExtensions.ts';
|
import { type IExtensionDefinition, getExtensionStream } from './builtInExtensions.ts';
|
||||||
import { fetchUrls, fetchGithub } from './fetch.ts';
|
import { fetchUrls, fetchGithub } from './fetch.ts';
|
||||||
import { createTsgoStream, spawnTsgo } from './tsgo.ts';
|
import { createTsgoStream, spawnTsgo } from './tsgo.ts';
|
||||||
+import { prepareBuiltInCopilotRipgrepShim } from './copilot.ts';
|
+import { prepareBuiltInCopilotRipgrepShim } from './copilot.ts';
|
||||||
import watcher from './watch/index.ts';
|
import vzip from 'gulp-vinyl-zip';
|
||||||
|
|
||||||
import { createRequire } from 'module';
|
import { createRequire } from 'module';
|
||||||
@@ -483,6 +484,116 @@ export function packageCopilotExtensionS
|
@@ -492,6 +493,116 @@ export function packageCopilotExtensionS
|
||||||
).pipe(util2.setExecutableBit(['**/*.sh']));
|
).pipe(util2.setExecutableBit(['**/*.sh']));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extens
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- code-server.orig/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
--- code-server.orig/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
||||||
+++ code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
+++ code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
||||||
@@ -344,6 +344,10 @@ export class Extension implements IExten
|
@@ -342,6 +342,10 @@ export class Extension implements IExten
|
||||||
if (this.type === ExtensionType.System && this.productService.quality === 'stable' && !this.productService.builtInExtensionsEnabledWithAutoUpdates?.some(id => id.toLowerCase() === this.identifier.id.toLowerCase())) {
|
if (this.type === ExtensionType.System && this.productService.quality === 'stable' && !this.productService.builtInExtensionsEnabledWithAutoUpdates?.some(id => id.toLowerCase() === this.identifier.id.toLowerCase())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ Index: code-server/lib/vscode/src/vs/server/node/serverServices.ts
|
|||||||
import { ProtocolConstants } from '../../base/parts/ipc/common/ipc.net.js';
|
import { ProtocolConstants } from '../../base/parts/ipc/common/ipc.net.js';
|
||||||
import { IConfigurationService } from '../../platform/configuration/common/configuration.js';
|
import { IConfigurationService } from '../../platform/configuration/common/configuration.js';
|
||||||
import { ConfigurationService } from '../../platform/configuration/common/configurationService.js';
|
import { ConfigurationService } from '../../platform/configuration/common/configurationService.js';
|
||||||
@@ -359,6 +359,9 @@ export async function setupServerService
|
@@ -358,6 +358,9 @@ export async function setupServerService
|
||||||
|
|
||||||
socketServer.registerChannel('mcpManagement', new McpManagementChannel(mcpManagementService, (ctx: RemoteAgentConnectionContext) => getUriTransformer(ctx.remoteAuthority)));
|
socketServer.registerChannel('mcpManagement', new McpManagementChannel(mcpManagementService, (ctx: RemoteAgentConnectionContext) => getUriTransformer(ctx.remoteAuthority)));
|
||||||
|
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ Index: code-server/lib/vscode/src/vs/code/browser/workbench/workbench.ts
|
|||||||
import type { IURLCallbackProvider } from '../../../workbench/services/url/browser/urlService.js';
|
import type { IURLCallbackProvider } from '../../../workbench/services/url/browser/urlService.js';
|
||||||
import { create } from '../../../workbench/workbench.web.main.internal.js';
|
import { create } from '../../../workbench/workbench.web.main.internal.js';
|
||||||
|
|
||||||
@@ -612,6 +613,39 @@ class WorkspaceProvider implements IWork
|
@@ -606,6 +607,39 @@ class WorkspaceProvider implements IWork
|
||||||
settingsSyncOptions: config.settingsSyncOptions ? { enabled: config.settingsSyncOptions.enabled, } : undefined,
|
settingsSyncOptions: config.settingsSyncOptions ? { enabled: config.settingsSyncOptions.enabled, } : undefined,
|
||||||
workspaceProvider: WorkspaceProvider.create(config),
|
workspaceProvider: WorkspaceProvider.create(config),
|
||||||
urlCallbackProvider: new LocalStorageURLCallbackProvider(config.callbackRoute),
|
urlCallbackProvider: new LocalStorageURLCallbackProvider(config.callbackRoute),
|
||||||
|
|||||||
@@ -23,4 +23,3 @@ display-language.diff
|
|||||||
trusted-domains.diff
|
trusted-domains.diff
|
||||||
signature-verification.diff
|
signature-verification.diff
|
||||||
copilot.diff
|
copilot.diff
|
||||||
app-name.diff
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ Index: code-server/lib/vscode/build/gulpfile.reh.ts
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- code-server.orig/lib/vscode/build/gulpfile.reh.ts
|
--- code-server.orig/lib/vscode/build/gulpfile.reh.ts
|
||||||
+++ code-server/lib/vscode/build/gulpfile.reh.ts
|
+++ code-server/lib/vscode/build/gulpfile.reh.ts
|
||||||
@@ -296,10 +296,15 @@ function packageTask(type: string, platf
|
@@ -261,10 +261,15 @@ function packageTask(type: string, platf
|
||||||
const destination = path.join(BUILD_ROOT, destinationFolderName);
|
const destination = path.join(BUILD_ROOT, destinationFolderName);
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ Index: code-server/lib/vscode/src/vs/workbench/services/environment/browser/envi
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- code-server.orig/lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts
|
--- code-server.orig/lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts
|
||||||
+++ code-server/lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts
|
+++ code-server/lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts
|
||||||
@@ -226,7 +226,7 @@ export class BrowserWorkbenchEnvironment
|
@@ -223,7 +223,7 @@ export class BrowserWorkbenchEnvironment
|
||||||
|
|
||||||
@memoize
|
@memoize
|
||||||
get webviewExternalEndpoint(): string {
|
get webviewExternalEndpoint(): string {
|
||||||
|
|||||||
@@ -677,7 +677,9 @@ export async function setDefaults(cliArgs: UserProvidedArgs, configArgs?: Config
|
|||||||
}
|
}
|
||||||
args["proxy-domain"] = finalProxies
|
args["proxy-domain"] = finalProxies
|
||||||
|
|
||||||
args["app-name"] ??= process.env.CODE_SERVER_APP_NAME || "code-server"
|
if (!args["app-name"]) {
|
||||||
|
args["app-name"] = "code-server"
|
||||||
|
}
|
||||||
|
|
||||||
args._ = getResolvedPathsFromArgs(args)
|
args._ = getResolvedPathsFromArgs(args)
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
import { version } from "../../src/node/constants"
|
|
||||||
import { describe, test, expect } from "./baseFixture"
|
|
||||||
|
|
||||||
const appName = "testnäme"
|
|
||||||
describe("--app-name", [`--app-name=${appName}`], {}, () => {
|
|
||||||
test("should use app-name for the title", async ({ codeServerPage }) => {
|
|
||||||
expect(await codeServerPage.page.title()).toContain(appName)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
@@ -5,9 +5,9 @@ import path from "path"
|
|||||||
// The default configuration runs all tests in three browsers with workers equal
|
// The default configuration runs all tests in three browsers with workers equal
|
||||||
// to half the available threads. See 'npm run test:e2e --help' to customize
|
// to half the available threads. See 'npm run test:e2e --help' to customize
|
||||||
// from the command line. For example:
|
// from the command line. For example:
|
||||||
// npm run test:e2e -- --workers 1 # Run with one worker
|
// npm run test:e2e --workers 1 # Run with one worker
|
||||||
// npm run test:e2e -- --project Chromium # Only run on Chromium
|
// npm run test:e2e --project Chromium # Only run on Chromium
|
||||||
// npm run test:e2e -- --grep login # Run tests matching "login"
|
// npm run test:e2e --grep login # Run tests matching "login"
|
||||||
// PWDEBUG=1 npm run test:e2e # Run Playwright inspector
|
// PWDEBUG=1 npm run test:e2e # Run Playwright inspector
|
||||||
const config: PlaywrightTestConfig = {
|
const config: PlaywrightTestConfig = {
|
||||||
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
|
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
|
||||||
@@ -33,12 +33,10 @@ const config: PlaywrightTestConfig = {
|
|||||||
// name: "Firefox",
|
// name: "Firefox",
|
||||||
// use: { browserName: "firefox" },
|
// use: { browserName: "firefox" },
|
||||||
// },
|
// },
|
||||||
// Keeps failing with "Underlying ArrayBuffer has been detached from the view or out-of-bounds"
|
{
|
||||||
// Not sure what we can do about it...so skip for now.
|
name: "WebKit",
|
||||||
// {
|
use: { browserName: "webkit" },
|
||||||
// name: "WebKit",
|
},
|
||||||
// use: { browserName: "webkit" },
|
|
||||||
// },
|
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user