Commit 913224b
committed
fix tests; drop redundant coder --allowedTools/--disallowedTools calls
- The legacy-shim test set disallowed_tools, which triggered a
pre-existing 'coder --disallowedTools' call in
setup_claude_configurations. coder is not present in the test
container so set -e aborted before the policy file was written.
Those calls are redundant now that the legacy shim writes
allow/deny via managed-settings.d, so remove them.
- claude-no-policy-keys-in-claudejson: configure_standalone_mode
guards on CLAUDE_API_KEY in the environment, which coder_env
provides in production but not in the test container. Pass
coderEnvVars to execModuleScript so the file is created.1 parent c2ce7f6 commit 913224b
2 files changed
Lines changed: 9 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
262 | 265 | | |
263 | 266 | | |
264 | 267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
180 | 176 | | |
181 | 177 | | |
182 | 178 | | |
| |||
0 commit comments