You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Security improvements:
- Add SHA256 checksum verification for golangci-lint v1.64.8
(b6270687afb143d019f387c791cd2a6f1cb383be9b3124d241ca11bd3ce2e54e)
Password handling:
- Consolidate to single env var (MSSQL_SA_PASSWORD only)
- Use MSSQL_SA_PASSWORD in healthcheck for consistency
- Set savePassword: false in mssql.connections (prompts on first use)
Tool management:
- Disable go.toolsManagement.autoUpdate to preserve pinned versions
Documentation:
- Clarify CI comparison (same env var names, not identical config)
- Update password change instructions to be clearer
RUN curl -fsSLO "https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCI_LINT_VERSION}/golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz" \
Copy file name to clipboardExpand all lines: .devcontainer/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,7 +143,7 @@ The following environment variables are set automatically:
143
143
|`SQLCMDDATABASE`|`master`|
144
144
|`SQLCMDDBNAME`|`master`|
145
145
146
-
These are the same variables used by the CI pipeline, so tests run identically.
146
+
These use the same environment variable names as the CI pipeline to ensure local tests behave similarly, although the actual password and SQL Server version in CI may differ.
147
147
148
148
## Working with sqlcmd
149
149
@@ -184,7 +184,7 @@ The `setup.sql` script in `.devcontainer/mssql/` is executed automatically when
184
184
To change the SQL Server password:
185
185
186
186
1. Update `MSSQL_SA_PASSWORD` in `docker-compose.yml`
187
-
2. Update `SQLCMDPASSWORD` in `devcontainer.json` (remoteEnv section)
187
+
2. Update `SQLCMDPASSWORD` in `devcontainer.json` (both `remoteEnv` and `go.testEnvVars` sections)
188
188
3. Update the password in the `mssql.connections` settings in `devcontainer.json`
0 commit comments