Commit dc8dd94
fix: coder mount paths and npm ci improvements (#423)
* fix: remove unnecessary coder binary move step in deployment workflow
* fix: clean node_modules before npm ci in post-create script
Ensures npm ci succeeds by removing existing node_modules before
installation. This prevents fallback to npm install and ensures
reproducible, faster installations using package-lock.json.
Changes:
- Add rm -rf node_modules before root npm ci
- Add rm -rf node_modules before frontend npm ci
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix: update coder mount paths to use isolated subdirectories and /root
- Update all host paths to use isolated subdirectories per tool
(e.g., claude/.claude, gemini/.gemini, ssh/.ssh)
- Change all container paths from /home/vscode/ to /root/
- Update environment variables (HISTFILE, GIT_CONFIG_GLOBAL) to /root/
- Add direct mount for claude.json instead of symlink
- Remove symlink creation from post-start.sh
This ensures proper isolation and consistency for Coder workspaces.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix: use .claude.json (with dot) for host path consistency
Match exact filename on both host and container paths.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix: use unique version names for coder template pushes
Generate version names using timestamp and commit SHA to avoid
duplicate version name errors in CI/CD pipeline.
Format: v{YYYYMMDD-HHMMSS}-{commit-sha}
Example: v20260101-143025-f642fb0
Also activates the new version automatically.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Mohsin Hashmi <mhashmi@wiser.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent c1756cf commit dc8dd94
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
| 60 | + | |
58 | 61 | | |
| 62 | + | |
59 | 63 | | |
60 | 64 | | |
61 | | - | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
| |||
0 commit comments