Commit f36a1b0
fix(codex): preserve streamed command output (#83222)
Summary:
- The PR buffers Codex command-output deltas per command item and uses them as a fallback for transcripts, trajectory output, final tool output, and after-tool-call errors when `aggregatedOutput` is empty.
- Reproducibility: yes. A source-level reproduction is clear: send current-turn command-output delta notificat ... aggregatedOutput: null`; current main has no final transcript or trajectory fallback for the streamed text.
Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(codex): preserve streamed command output
Validation:
- ClawSweeper review passed for head 07393a3.
- Required merge gates passed before the squash merge.
Prepared head SHA: 07393a3
Review: #83222 (comment)
Co-authored-by: 0x505badc0de <32790662+rozmiarD@users.noreply.github.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>1 parent 3e76526 commit f36a1b0
3 files changed
Lines changed: 105 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1338 | 1338 | | |
1339 | 1339 | | |
1340 | 1340 | | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
1341 | 1409 | | |
1342 | 1410 | | |
1343 | 1411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
706 | 707 | | |
707 | 708 | | |
708 | 709 | | |
709 | | - | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
710 | 715 | | |
711 | 716 | | |
712 | 717 | | |
| |||
953 | 958 | | |
954 | 959 | | |
955 | 960 | | |
956 | | - | |
| 961 | + | |
957 | 962 | | |
958 | 963 | | |
959 | 964 | | |
| |||
1029 | 1034 | | |
1030 | 1035 | | |
1031 | 1036 | | |
1032 | | - | |
| 1037 | + | |
1033 | 1038 | | |
1034 | 1039 | | |
1035 | 1040 | | |
| |||
1097 | 1102 | | |
1098 | 1103 | | |
1099 | 1104 | | |
1100 | | - | |
| 1105 | + | |
1101 | 1106 | | |
1102 | 1107 | | |
1103 | 1108 | | |
| |||
1190 | 1195 | | |
1191 | 1196 | | |
1192 | 1197 | | |
1193 | | - | |
| 1198 | + | |
1194 | 1199 | | |
1195 | 1200 | | |
1196 | 1201 | | |
| |||
1789 | 1794 | | |
1790 | 1795 | | |
1791 | 1796 | | |
| 1797 | + | |
1792 | 1798 | | |
1793 | 1799 | | |
1794 | 1800 | | |
1795 | 1801 | | |
1796 | 1802 | | |
1797 | 1803 | | |
1798 | 1804 | | |
1799 | | - | |
| 1805 | + | |
1800 | 1806 | | |
1801 | 1807 | | |
1802 | 1808 | | |
| |||
1823 | 1829 | | |
1824 | 1830 | | |
1825 | 1831 | | |
1826 | | - | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
1827 | 1836 | | |
1828 | | - | |
| 1837 | + | |
1829 | 1838 | | |
1830 | 1839 | | |
1831 | 1840 | | |
| |||
1839 | 1848 | | |
1840 | 1849 | | |
1841 | 1850 | | |
1842 | | - | |
1843 | | - | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
1844 | 1856 | | |
1845 | 1857 | | |
1846 | 1858 | | |
1847 | 1859 | | |
1848 | 1860 | | |
1849 | 1861 | | |
1850 | 1862 | | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
1851 | 1877 | | |
1852 | 1878 | | |
1853 | 1879 | | |
| |||
0 commit comments