mirror of
https://github.com/coder/code-server.git
synced 2026-04-16 21:31:43 -05:00
Compare commits
21 Commits
v4.9.0-rc.
...
v4.9.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ed7498b3c | ||
|
|
73b61ecfb6 | ||
|
|
292a63dccd | ||
|
|
60ab23f008 | ||
|
|
40396cc810 | ||
|
|
0c7a60e407 | ||
|
|
e701b74952 | ||
|
|
c761199923 | ||
|
|
956ed96a2c | ||
|
|
2b32b10e87 | ||
|
|
ace09103a2 | ||
|
|
f7db2a0dd8 | ||
|
|
0f66360646 | ||
|
|
130f52e6b7 | ||
|
|
c9279ccbe4 | ||
|
|
fc4d2b532f | ||
|
|
9efbd2d59c | ||
|
|
ccf882f830 | ||
|
|
96b3c3e024 | ||
|
|
17d41135f3 | ||
|
|
9694242b2f |
18
.github/workflows/build.yaml
vendored
18
.github/workflows/build.yaml
vendored
@@ -24,7 +24,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
prettier:
|
prettier:
|
||||||
name: Format with Prettier
|
name: Format with Prettier
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
|
|
||||||
doctoc:
|
doctoc:
|
||||||
name: Doctoc markdown files
|
name: Doctoc markdown files
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
@@ -66,7 +66,7 @@ jobs:
|
|||||||
|
|
||||||
lint-helm:
|
lint-helm:
|
||||||
name: Lint Helm chart
|
name: Lint Helm chart
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
@@ -97,7 +97,7 @@ jobs:
|
|||||||
|
|
||||||
lint-ts:
|
lint-ts:
|
||||||
name: Lint TypeScript files
|
name: Lint TypeScript files
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
@@ -141,7 +141,7 @@ jobs:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build code-server
|
name: Build code-server
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
@@ -244,7 +244,7 @@ jobs:
|
|||||||
# Only run if PR comes from base repo or event is not a PR
|
# Only run if PR comes from base repo or event is not a PR
|
||||||
# Reason: forks cannot access secrets and this will always fail
|
# Reason: forks cannot access secrets and this will always fail
|
||||||
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request'
|
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -295,8 +295,8 @@ jobs:
|
|||||||
test-e2e:
|
test-e2e:
|
||||||
name: Run e2e tests
|
name: Run e2e tests
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 15
|
timeout-minutes: 25
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -351,7 +351,7 @@ jobs:
|
|||||||
test-e2e-proxy:
|
test-e2e-proxy:
|
||||||
name: Run e2e tests behind proxy
|
name: Run e2e tests behind proxy
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 25
|
timeout-minutes: 25
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
|
|||||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -322,6 +322,8 @@ jobs:
|
|||||||
echo "Updating version in lib/vscode/product.json"
|
echo "Updating version in lib/vscode/product.json"
|
||||||
tmp=$(mktemp)
|
tmp=$(mktemp)
|
||||||
jq '.codeServerVersion = "$VERSION"' release/lib/vscode/product.json > "$tmp" && mv "$tmp" release/lib/vscode/product.json
|
jq '.codeServerVersion = "$VERSION"' release/lib/vscode/product.json > "$tmp" && mv "$tmp" release/lib/vscode/product.json
|
||||||
|
# Ensure it has the same permissions as before
|
||||||
|
chmod 644 release/lib/vscode/product.json
|
||||||
|
|
||||||
- name: Compress release package
|
- name: Compress release package
|
||||||
run: tar -czf package.tar.gz release
|
run: tar -czf package.tar.gz release
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
lib/vscode
|
lib/vscode
|
||||||
lib/vscode-reh-web-linux-x64
|
lib/vscode-reh-web-linux-x64
|
||||||
release-standalone
|
release-standalone
|
||||||
|
release-packages
|
||||||
release
|
release
|
||||||
helm-chart
|
helm-chart
|
||||||
test/scripts
|
test/scripts
|
||||||
|
|||||||
@@ -20,6 +20,15 @@ Code v99.99.999
|
|||||||
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
## [4.9.0](https://github.com/coder/code-server/releases/tag/v4.9.0) - 2022-11-14
|
||||||
|
|
||||||
|
Code v1.73.0
|
||||||
|
|
||||||
|
WIP
|
||||||
|
|
||||||
|
known issues: https://github.com/adobe/fetch/pull/318#issuecomment-1306070259
|
||||||
|
cert won't work for anyone using Ubuntu 22.04
|
||||||
|
|
||||||
## [4.8.3](https://github.com/coder/code-server/releases/tag/v4.8.3) - 2022-11-07
|
## [4.8.3](https://github.com/coder/code-server/releases/tag/v4.8.3) - 2022-11-07
|
||||||
|
|
||||||
Code v1.72.1
|
Code v1.72.1
|
||||||
|
|||||||
@@ -116,7 +116,8 @@
|
|||||||
"ide",
|
"ide",
|
||||||
"coder",
|
"coder",
|
||||||
"vscode-remote",
|
"vscode-remote",
|
||||||
"browser-ide"
|
"browser-ide",
|
||||||
|
"remote-development"
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "16"
|
"node": "16"
|
||||||
|
|||||||
18
test/unit/node/wrapper.test.ts
Normal file
18
test/unit/node/wrapper.test.ts
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
import { ChildProcess } from "child_process"
|
||||||
|
import { ParentProcess, isChild } from "../../../src/node/wrapper"
|
||||||
|
|
||||||
|
describe("wrapper", () => {
|
||||||
|
describe("isChild", () => {
|
||||||
|
it("should return false for parent process", () => {
|
||||||
|
const p = new ParentProcess("1")
|
||||||
|
expect(isChild(p)).toBe(false)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
it("should return false for parent process", () => {
|
||||||
|
const p = new ChildProcess()
|
||||||
|
// our ChildProcess isn't exported
|
||||||
|
// and shouldn't be for a test so surpressing TS error.
|
||||||
|
// @ts-expect-error - see above
|
||||||
|
expect(isChild(p)).toBe(false)
|
||||||
|
})
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user