Skip to content

fix(code-server): coordinate extension recommendations - #1110

Open
Edd88-pixel wants to merge 1 commit into
coder:mainfrom
Edd88-pixel:eddy/fix-code-server-extension-startup
Open

fix(code-server): coordinate extension recommendations#1110
Edd88-pixel wants to merge 1 commit into
coder:mainfrom
Edd88-pixel:eddy/fix-code-server-extension-startup

Conversation

@Edd88-pixel

@Edd88-pixel Edd88-pixel commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Why

auto_install_extensions reads workspace recommendations only once. When a repository is cloned by another startup script, code-server can check before .vscode/extensions.json exists and silently skip the recommended extensions.

Coder startup coordination now provides a deterministic way to wait for the clone instead of polling for a fixed duration.

Changes

  • Add a pre_auto_install_extensions_script hook that runs immediately before workspace recommendations are read.
  • Propagate hook failures instead of continuing with a partial startup.
  • bump the documented module version to 1.6.0.

Validation

  • `bun test registry/coder/modules/code-server/main.test.ts — passed.
  • terraform test for the code-server module — 8 passed, 0 failed.
  • terraform validate, Terraform format check, Prettier, ShellCheck, and README validation — passed.
  • Real Coder v2.33.11 E2E

Type of Change

  • New module
  • New template
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Path: registry/coder/modules/code-server
New version: v1.6.0
Breaking change: [ ] Yes [x] No

Related Issues

Closes #57

@Edd88-pixel Edd88-pixel changed the title fix(code-server): coordinate extension recommendation install fix(code-server): coordinate extension recommendations Sep 10, 2026
@Edd88-pixel
Edd88-pixel marked this pull request as ready for review September 10, 2026 16:33
@Edd88-pixel

Copy link
Copy Markdown
Contributor Author

@35C4n0r can you review ?

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.

coder-server extension should wait in the the project folder exists

1 participant