Skip to content

Merge upstream coder/code-server (Code 1.138.0) - #9

Merged
ru-sh merged 5 commits into
mainfrom
merge-upstream-4.138.0
Sep 22, 2026
Merged

ru-sh merged 5 commits into
mainfrom
merge-upstream-4.138.0

Conversation

@ru-sh

@ru-sh ru-sh commented Sep 22, 2026

Copy link
Copy Markdown

First upstream merge under the policy from #6: Code updates come from coder/code-server rather than this fork bumping the submodule itself.

Brings four commits:

This also resolves, for free, the conflict our own update run could not. external-file-actions.diff failed to apply against 1.138.0 because Code added IsChromeOSContext to the contextkeys.js import that the patch carries as a context line. Upstream rebased it; the merge takes their version.

Conflicts

Three, all in the chart and changelog.

ci/helm-chart/values.yaml is the one that mattered: taking upstream wholesale would have reverted the image repository to codercom/code-server and undone #2. Kept ghcr.io/motuslabs/code-server, took the 4.138.0 tag.

ci/helm-chart/Chart.yaml takes upstream's 3.53.0 / 4.138.0, which stays monotonic over our 3.52.1.

CHANGELOG.md keeps both release sections in date order — 4.138.0 (09-19) above our 4.137.1 (09-18) — with upstream's unreleased idle-timeout entry under ## Unreleased.

Verification

  • All 28 patches apply cleanly at 1.138.0, osc52-clipboard.diff included.
  • CSP hashes verified, not just applied. csp-hashes.diff substitutes a sha256 string, so it applies whether or not the hash is still right. Recomputed both with the same method update-vscode.sh uses; both match the 1.138.0 content, so Code did not change those inline scripts.
  • npm run build clean.
  • npm run test:unit: 342 passed, 1 failed — createApp › should unlink a socket before listening on the socket, which expects listen EACCES: permission denied. Pre-existing and environmental: it fails identically on 2fe0e203 in a worktree, and the merge touches neither src/node/app.ts nor its test.
  • patches/ now differs from upstream by exactly osc52-clipboard.diff and its series line, which is the intended fork delta.

Please merge with a merge commit, not squash

Squashing would discard the second parent, and the next git merge upstream/main would then re-conflict on everything already resolved here. This is the one case where the repository's squash convention should not apply.

🤖 Generated with Claude Code

yykaue and others added 5 commits September 17, 2026 12:41
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.
Brings Code 1.138.0, the proxy URL rewrite fix (coder#8012) and the
--idle-timeout-seconds validation fix (coder#8009).

Conflicts were the chart and changelog. The chart keeps this fork's
ghcr.io/motuslabs/code-server image repository and takes upstream's
3.53.0 / 4.138.0 versions; the changelog keeps both release sections in
date order, 4.138.0 above our 4.137.1.

Upstream's rebase of external-file-actions.diff onto 1.138.0 comes with
the merge, which is the conflict our own update run could not resolve.
@ru-sh
ru-sh merged commit b5c08f4 into main Sep 22, 2026
9 checks passed
@ru-sh
ru-sh deleted the merge-upstream-4.138.0 branch September 22, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants