Enhance devcontainer and CI workflows

- Add persistent volume mounts for Go/npm caches (faster rebuilds)
- Add shell config with helpful aliases and custom prompt
- Add comprehensive devcontainer documentation
- Add pre-commit hooks for Go formatting and linting
- Use go-version-file in CI workflows instead of hardcoded versions
- Simplify docker compose commands with --wait flag
- Add gitignore entries for devcontainer auth files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rcourtman 2026-01-01 22:29:15 +00:00
parent cb99673b7c
commit 3fdf753a5b
106 changed files with 1648 additions and 1373 deletions

View file

@ -9,6 +9,10 @@
"version": "20"
}
},
"mounts": [
"source=pulse-go-build-cache,target=/go/pkg,type=volume",
"source=pulse-npm-cache,target=/home/vscode/.npm,type=volume"
],
"customizations": {
"vscode": {
"extensions": [
@ -19,7 +23,9 @@
],
"settings": {
"go.gopath": "/go",
"go.toolsManagement.autoUpdate": true
"go.toolsManagement.autoUpdate": true,
"go.useLanguageServer": true,
"go.testExplorer.enable": true
}
}
},
@ -39,6 +45,7 @@
"FRONTEND_DEV_HOST": "0.0.0.0",
"LAN_IP": "localhost"
},
"updateContentCommand": "sudo chown -R vscode:vscode /workspaces/pulse && cd frontend-modern && npm install",
"updateContentCommand": "sudo chown -R vscode:vscode /workspaces/pulse /go /home/vscode/.npm && cd frontend-modern && npm install",
"postCreateCommand": "echo source /workspaces/pulse/.devcontainer/.bashrc >> ~/.bashrc",
"remoteUser": "vscode"
}