Skip to content

Conversation

blink-so[bot]
Copy link
Contributor

@blink-so blink-so bot commented Jul 23, 2025

This PR enhances the VSCode-web module to better handle settings merging when existing configurations are present.

Changes

  • Updated run.sh to merge user-defined settings with existing settings files
  • Added jq-based merging when available for proper JSON handling
  • Fallback to overwrite behavior when jq is not available
  • Improved logging to show what's happening during settings configuration

Testing

  • Verified merge logic works correctly
  • Ensured backward compatibility when jq is not available

Related to coder/coder#19007

Enhance the settings handling in the VSCode-web module to properly merge
user-defined settings with any existing settings file using jq when available.
This ensures that settings from both the Terraform module and Coder's git
authentication system are preserved.

Related to coder/coder#19007

Co-authored-by: matifali <[email protected]>
@matifali
Copy link
Member

Add some tests specifically for the settings Coder writes, as described in the issue coder/coder#19007

@matifali matifali closed this Jul 25, 2025
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