Commit f9f9233
fix(integration): force-enable ADP for the Windows runtime
Agent 7.80 added sanitizeDataPlaneConfig, which installs an authoritative
data_plane.enabled=false override on any platform other than Linux (macOS
was allowlisted later) unless DD_DATA_PLANE_FORCE_ENABLE=true. The Windows
integration target runs the Core Agent inside the container (via the ADP
entrypoint), so on the 7.80.2 Windows base the Agent streamed
data_plane.enabled=false to ADP and ADP exited with "Agent Data Plane is
not enabled" -- failing 18/28 Windows integration tests after the Windows
base image was bumped off the pre-7.80 7.78.0 pin.
Mirror the macOS host-process path (unix_runner::build_core_agent_forced_env)
by injecting DD_DATA_PLANE_FORCE_ENABLE=true into the Windows container env
whenever DD_DATA_PLANE_ENABLED=true. Linux is unaffected (allowlisted) and
an explicit value is preserved.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 87d854b commit f9f9233
1 file changed
Lines changed: 54 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
99 | 111 | | |
100 | 112 | | |
101 | 113 | | |
| |||
1142 | 1154 | | |
1143 | 1155 | | |
1144 | 1156 | | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
1145 | 1199 | | |
0 commit comments