Skip to content

feat: Add support to the vscode-web module for loading workspaces at startup #349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 21, 2025

Conversation

rowansmithau
Copy link
Contributor

@rowansmithau rowansmithau commented Aug 21, 2025

Description

This is a PR to add support to the vscode-web module for loading workspaces at startup. At present it is only possible to load a folder on startup.

This functionality already exists in the Coder code-server release, this module targets the Microsoft version.

Type of Change

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

Module Information

Path: registry/coder/modules/vscode-web
New version: v1.4.0
Breaking change: [ ] Yes [x] No

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun run fmt)
  • Changes tested locally

Related Issues

None

@rowansmithau rowansmithau requested a review from matifali August 21, 2025 05:37
@rowansmithau rowansmithau self-assigned this Aug 21, 2025
@rowansmithau rowansmithau added the version:minor Add to PRs requiring a minor version upgrade label Aug 21, 2025
Copy link

❌ Version Bump Validation Failed

Bump Type: minor

Module versions need to be updated but haven't been bumped yet.

Required Actions:

  1. Run the version bump script locally: ./.github/scripts/version-bump.sh minor
  2. Commit the changes: git add . && git commit -m "chore: bump module versions (minor)"
  3. Push the changes: git push

Script Output:

🔍 Detecting modified modules...
Found modules:
registry/coder/modules/vscode-web

📦 Processing: coder/vscode-web
Found git tag: release/coder/vscode-web/v1.3.1 (v1.3.1)
Current version: 1.3.1
New version: 1.4.0
Updating version references for coder/vscode-web in registry/coder/modules/vscode-web/README.md

🔧 Running formatter to ensure consistent formatting...

📋 Summary:
Bump Type: minor

Modules Updated:

- coder/vscode-web: v1.3.1 → v1.4.0

READMEs Updated:

- coder/vscode-web

✅ Version bump completed successfully!
📝 README files have been updated with new versions.

Next steps:
1. Review the changes: git diff
2. Commit the changes: git add . && git commit -m 'chore: bump module versions (minor)'
3. Push the changes: git push

Please update the module versions and push the changes to continue.

@rowansmithau rowansmithau added version:patch Add to PRs requiring a patch version upgrade and removed version:minor Add to PRs requiring a minor version upgrade labels Aug 21, 2025
Copy link

❌ Version Bump Validation Failed

Bump Type: patch

Module versions need to be updated but haven't been bumped yet.

Required Actions:

  1. Run the version bump script locally: ./.github/scripts/version-bump.sh patch
  2. Commit the changes: git add . && git commit -m "chore: bump module versions (patch)"
  3. Push the changes: git push

Script Output:

🔍 Detecting modified modules...
Found modules:
registry/coder/modules/vscode-web

📦 Processing: coder/vscode-web
Found git tag: release/coder/vscode-web/v1.3.1 (v1.3.1)
Current version: 1.3.1
New version: 1.3.2
Updating version references for coder/vscode-web in registry/coder/modules/vscode-web/README.md

🔧 Running formatter to ensure consistent formatting...

📋 Summary:
Bump Type: patch

Modules Updated:

- coder/vscode-web: v1.3.1 → v1.3.2

READMEs Updated:

- coder/vscode-web

✅ Version bump completed successfully!
📝 README files have been updated with new versions.

Next steps:
1. Review the changes: git diff
2. Commit the changes: git add . && git commit -m 'chore: bump module versions (patch)'
3. Push the changes: git push

Please update the module versions and push the changes to continue.

@matifali matifali added version:minor Add to PRs requiring a minor version upgrade and removed version:patch Add to PRs requiring a patch version upgrade labels Aug 21, 2025
Copy link

❌ Version Bump Validation Failed

Bump Type: minor

Module versions need to be updated but haven't been bumped yet.

Required Actions:

  1. Run the version bump script locally: ./.github/scripts/version-bump.sh minor
  2. Commit the changes: git add . && git commit -m "chore: bump module versions (minor)"
  3. Push the changes: git push

Script Output:

🔍 Detecting modified modules...
Found modules:
registry/coder/modules/vscode-web

📦 Processing: coder/vscode-web
Found git tag: release/coder/vscode-web/v1.3.1 (v1.3.1)
Current version: 1.3.1
New version: 1.4.0
Updating version references for coder/vscode-web in registry/coder/modules/vscode-web/README.md

🔧 Running formatter to ensure consistent formatting...

📋 Summary:
Bump Type: minor

Modules Updated:

- coder/vscode-web: v1.3.1 → v1.4.0

READMEs Updated:

- coder/vscode-web

✅ Version bump completed successfully!
📝 README files have been updated with new versions.

Next steps:
1. Review the changes: git diff
2. Commit the changes: git add . && git commit -m 'chore: bump module versions (minor)'
3. Push the changes: git push

Please update the module versions and push the changes to continue.

Copy link
Member

@matifali matifali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we are adding a new input lets bump the minor version.

@rowansmithau rowansmithau added version:minor Add to PRs requiring a minor version upgrade and removed version:minor Add to PRs requiring a minor version upgrade labels Aug 21, 2025
@matifali matifali merged commit a69accb into main Aug 21, 2025
5 checks passed
@matifali matifali deleted the feat/vscode-web_workspace_load_on_startup branch August 21, 2025 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version:minor Add to PRs requiring a minor version upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants