Commit 1b4b82f
authored
(Fix): Add new failure_information field to internal.bin (#1004)
We were previously capturing `status_output_message`, which was very limited compared to the JUnit parsing we were doing. Here's the new level of support:
```xml
<testsuites>
<testsuite name="suite_name" timestamp="2026-01-13T04:48:08" tests="0" file="file_path" time="204.494" failures="1">
<testcase name="case_name" time="0.000" classname="class_name">
<failure message="failure_message" type="type_name" system_out="system_out" system_err="system_err">
failure_text
</failure>
</testcase>
</testsuite>
</testsuites>
```
| JUnit Field | Historical JUnit Parsing Support | Internal.bin Historical Support | Internal.bin New Support |
|--|--|--|--|
| failure_message | failure_message | ❌ | failure_information.message |
| failure_text | failure_text | (stored as) failure_message | failure_information.text |
| system_out | system_out | ❌ | failure_information.system_out |
| system_err | system_err | ❌ | failure_information.system_err |
| type | ❌ | ❌ | ❌ |
See [thread here](https://trunk-io.slack.com/archives/C08AEDGMZNH/p1769207730470679)1 parent d4633bc commit 1b4b82f
File tree
6 files changed
+219
-18
lines changed- context-js/tests
- context/src/junit
- proto/proto
- test_report
- src
- tests
6 files changed
+219
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
392 | 393 | | |
393 | 394 | | |
394 | 395 | | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
395 | 420 | | |
396 | 421 | | |
397 | 422 | | |
| |||
416 | 441 | | |
417 | 442 | | |
418 | 443 | | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
419 | 448 | | |
420 | 449 | | |
421 | 450 | | |
| |||
445 | 474 | | |
446 | 475 | | |
447 | 476 | | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
448 | 480 | | |
449 | 481 | | |
450 | 482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
207 | 211 | | |
208 | 212 | | |
209 | 213 | | |
| |||
222 | 226 | | |
223 | 227 | | |
224 | 228 | | |
| 229 | + | |
225 | 230 | | |
226 | 231 | | |
227 | 232 | | |
| |||
283 | 288 | | |
284 | 289 | | |
285 | 290 | | |
286 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
287 | 297 | | |
288 | | - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
289 | 301 | | |
290 | 302 | | |
291 | 303 | | |
| |||
295 | 307 | | |
296 | 308 | | |
297 | 309 | | |
298 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
299 | 316 | | |
300 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
301 | 320 | | |
302 | 321 | | |
303 | 322 | | |
304 | 323 | | |
305 | 324 | | |
306 | 325 | | |
307 | | - | |
308 | | - | |
| 326 | + | |
| 327 | + | |
309 | 328 | | |
310 | 329 | | |
311 | 330 | | |
| |||
1097 | 1116 | | |
1098 | 1117 | | |
1099 | 1118 | | |
1100 | | - | |
| 1119 | + | |
1101 | 1120 | | |
1102 | 1121 | | |
1103 | 1122 | | |
| |||
1167 | 1186 | | |
1168 | 1187 | | |
1169 | 1188 | | |
| 1189 | + | |
1170 | 1190 | | |
1171 | 1191 | | |
1172 | 1192 | | |
| |||
1197 | 1217 | | |
1198 | 1218 | | |
1199 | 1219 | | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
1200 | 1226 | | |
1201 | 1227 | | |
1202 | 1228 | | |
| |||
1212 | 1238 | | |
1213 | 1239 | | |
1214 | 1240 | | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
1215 | 1247 | | |
1216 | 1248 | | |
1217 | 1249 | | |
| |||
1251 | 1283 | | |
1252 | 1284 | | |
1253 | 1285 | | |
| 1286 | + | |
1254 | 1287 | | |
1255 | 1288 | | |
1256 | 1289 | | |
| |||
1284 | 1317 | | |
1285 | 1318 | | |
1286 | 1319 | | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
1287 | 1328 | | |
1288 | 1329 | | |
1289 | 1330 | | |
| |||
1392 | 1433 | | |
1393 | 1434 | | |
1394 | 1435 | | |
1395 | | - | |
1396 | 1436 | | |
1397 | 1437 | | |
1398 | 1438 | | |
| |||
1403 | 1443 | | |
1404 | 1444 | | |
1405 | 1445 | | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
1406 | 1456 | | |
1407 | 1457 | | |
1408 | 1458 | | |
| |||
1455 | 1505 | | |
1456 | 1506 | | |
1457 | 1507 | | |
| 1508 | + | |
1458 | 1509 | | |
1459 | 1510 | | |
1460 | 1511 | | |
| |||
1471 | 1522 | | |
1472 | 1523 | | |
1473 | 1524 | | |
| 1525 | + | |
1474 | 1526 | | |
1475 | 1527 | | |
1476 | 1528 | | |
| |||
0 commit comments