Commit 87b62b6
fix(build): drop npm self-upgrade that breaks Docker builds
- Remove `npm install -g npm@latest` from copilot-api install step;
npm replacing itself mid-execution corrupts its own node_modules
when the cached layer has stale state
- Remove the 5-attempt retry loop that only masked the real failure
- Node 22 ships npm 10.x which handles `npm install -g pnpm` fine
- Mount ~/.agents into container for agent state persistence
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 978f393 commit 87b62b6
2 files changed
Lines changed: 4 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
| 82 | + | |
96 | 83 | | |
97 | 84 | | |
98 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2976 | 2976 | | |
2977 | 2977 | | |
2978 | 2978 | | |
| 2979 | + | |
| 2980 | + | |
| 2981 | + | |
2979 | 2982 | | |
2980 | 2983 | | |
2981 | 2984 | | |
| |||
0 commit comments