Commit 35ec2a1
fix: use trap EXIT for sg_only Dockerfile restore in smoke tests
The subshell restore logic failed when the smoke timed out — the
kill signal terminated the subshell before restore_dockerfile() ran,
leaving Dockerfile overwritten with sg_only content. Switch to
trap EXIT which fires on any exit (normal, error, or signal kill).
Also cleaned up leftover Dockerfile.original backup and restored
camel-fix-protocol-feat-001/Dockerfile to its 1-line baseline.
Root cause of the camel smoke_verify_timeout: the sg_only variant
does cp -a + find/truncate + git commit on a 2.8M LOC Java repo,
which exceeds the 600s smoke timeout. This is expected — actual
benchmark runs have build_timeout_sec=1800.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a98564c commit 35ec2a1
1 file changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
216 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
217 | 220 | | |
218 | 221 | | |
219 | 222 | | |
220 | 223 | | |
221 | 224 | | |
222 | 225 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | 226 | | |
229 | 227 | | |
230 | 228 | | |
| |||
0 commit comments