Commit 270db08
committed
feat: add skip-cleanup flag and fix api-proxy shutdown
Add --skip-cleanup CLI flag to skip cleanup operations in CI environments
where the runner terminates anyway, saving ~10 seconds per workflow run.
Changes:
- Add skipCleanup option to WrapperConfig interface
- Add --skip-cleanup CLI flag with documentation
- Skip container stop, iptables cleanup, and workdir removal when enabled
- Fix api-proxy Dockerfile to use exec form CMD for instant SIGTERM response
The api-proxy container previously used shell form CMD with tee pipeline,
causing 10s timeout on shutdown. Now uses exec form so Node.js becomes
PID 1 and handles SIGTERM gracefully.1 parent 0f68cbd commit 270db08
3 files changed
+32
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
699 | 704 | | |
700 | 705 | | |
701 | 706 | | |
| |||
1062 | 1067 | | |
1063 | 1068 | | |
1064 | 1069 | | |
| 1070 | + | |
1065 | 1071 | | |
1066 | 1072 | | |
1067 | 1073 | | |
| |||
1180 | 1186 | | |
1181 | 1187 | | |
1182 | 1188 | | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
1183 | 1195 | | |
1184 | 1196 | | |
1185 | 1197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
134 | 151 | | |
135 | 152 | | |
136 | 153 | | |
| |||
0 commit comments