Skip to content

fix: isolate code-server startup from extension provisioning - #188

Open
MioYuuIH wants to merge 6 commits into
developfrom
fix/code-server-spawn-isolation
Open

fix: isolate code-server startup from extension provisioning#188
MioYuuIH wants to merge 6 commits into
developfrom
fix/code-server-spawn-isolation

Conversation

@MioYuuIH

@MioYuuIH MioYuuIH commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • install platform-default extensions into code-server's immutable system extension root during image build while preserving the persistent user extension directory
  • remove runtime extension installation from the readiness path, isolate the public PORT from code-server, and supervise both child processes cleanly
  • disable Hub termination after consecutive user spawn failures, set HTTP readiness to 60 seconds, and retain the 300-second pod start budget
  • add focused launcher, chart-default, and CI regression coverage

Verification

  • normal Code image build, including the final RUN --network=none system-extension verification layer
  • finished image startup with Docker networking disabled, seven system defaults, persistent user extension preservation, custom public/internal ports, and TERM exit 143
  • pytest -q (176 passed)
  • CI-equivalent Python selection (177 passed)
  • focused runtime extension-model and service-lifecycle shell suites
  • Ruff check/format, basedpyright, ShellCheck, yamllint, Helm lint/render, Dockerfile build check, and git diff --check

Compatibility

Existing user-installed extension copies and metadata remain untouched. When a user extension and a system extension share an ID, native VS Code precedence applies.

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.

1 participant