Repository navigation
Commit b03f556
authored
Expose typed reasons for native output failures (#5520)
* Expose typed reasons for owned model output failures
* Handle the expected parser disconnect in the reason fixture
* Preserve received response history on current v1
* fix: preserve trace context on repaired history base
* Fix CI assumptions about child snapshots and temporary directories
* Preserve defined trace flags and manual action budgets
* Sequence trace regression tool replies before final model output
* feat: expose passive request metadata and response links (#5519)
Observe passive request metadata on repaired history
Co-authored-by: markstuart-oai <[email protected]>
* Keep integrity reason tests within the native enum contract
* Validate native trace prefix widths and fresh-root controls
* Align manual continuation trace and observation arguments
* Fix worker deadline fixtures and Windows storage type checks
* Verify the winning reply when manual responses race
* Check complete trace handles and both MCP callback parents
* Observe child turns before testing unconfirmed cancellation
* Respect supported platforms in SQLite trace fixtures
* Distinguish caller exports from disabled child work
* Preserve native child callback tracing ownership
* Distinguish child trace exports and surface callback failures
* Keep remote trace ancestry separate from private SDK policy
* Preserve owned child tracing policy across native admission
* Avoid callback scheduling assumptions in trace policy test
* Separate session setup from concurrent trace policy admissions
* Account for split trace processor batches in loop-loss test
* Wait for a pending observation read before cancellation
* Wait for asynchronous release command before checking child retirement
---------
Co-authored-by: markstuart-oai <[email protected]>1 parent 6d31986 commit b03f556
14 files changed
Lines changed: 1524 additions & 32 deletions
File tree
- packages/codex
- patches
- rust
- src/agents
- tests
- fixtures
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
214 | 218 | | |
215 | 219 | | |
216 | | - | |
| 220 | + | |
217 | 221 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1553 | 1553 | | |
1554 | 1554 | | |
1555 | 1555 | | |
| 1556 | + | |
1556 | 1557 | | |
1557 | 1558 | | |
1558 | 1559 | | |
| |||
1564 | 1565 | | |
1565 | 1566 | | |
1566 | 1567 | | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
1567 | 1588 | | |
1568 | 1589 | | |
1569 | 1590 | | |
| |||
1704 | 1725 | | |
1705 | 1726 | | |
1706 | 1727 | | |
1707 | | - | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
1708 | 1743 | | |
1709 | 1744 | | |
1710 | 1745 | | |
| |||
1766 | 1801 | | |
1767 | 1802 | | |
1768 | 1803 | | |
1769 | | - | |
| 1804 | + | |
1770 | 1805 | | |
1771 | 1806 | | |
1772 | 1807 | | |
| |||
1786 | 1821 | | |
1787 | 1822 | | |
1788 | 1823 | | |
1789 | | - | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
1790 | 1830 | | |
1791 | 1831 | | |
1792 | 1832 | | |
| |||
1835 | 1875 | | |
1836 | 1876 | | |
1837 | 1877 | | |
1838 | | - | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
1839 | 1881 | | |
1840 | 1882 | | |
1841 | 1883 | | |
| |||
1853 | 1895 | | |
1854 | 1896 | | |
1855 | 1897 | | |
1856 | | - | |
| 1898 | + | |
1857 | 1899 | | |
1858 | 1900 | | |
1859 | 1901 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
| |||
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
| 231 | + | |
| 232 | + | |
230 | 233 | | |
231 | 234 | | |
232 | 235 | | |
| |||
237 | 240 | | |
238 | 241 | | |
239 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
240 | 247 | | |
241 | 248 | | |
242 | 249 | | |
| |||
278 | 285 | | |
279 | 286 | | |
280 | 287 | | |
281 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
282 | 293 | | |
283 | 294 | | |
284 | 295 | | |
| |||
288 | 299 | | |
289 | 300 | | |
290 | 301 | | |
| 302 | + | |
291 | 303 | | |
292 | 304 | | |
293 | 305 | | |
| |||
302 | 314 | | |
303 | 315 | | |
304 | 316 | | |
| 317 | + | |
305 | 318 | | |
306 | 319 | | |
307 | 320 | | |
| |||
933 | 946 | | |
934 | 947 | | |
935 | 948 | | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
936 | 958 | | |
937 | 959 | | |
938 | 960 | | |
| |||
1840 | 1862 | | |
1841 | 1863 | | |
1842 | 1864 | | |
| 1865 | + | |
1843 | 1866 | | |
1844 | 1867 | | |
1845 | 1868 | | |
| |||
1860 | 1883 | | |
1861 | 1884 | | |
1862 | 1885 | | |
| 1886 | + | |
1863 | 1887 | | |
1864 | 1888 | | |
1865 | 1889 | | |
| |||
2248 | 2272 | | |
2249 | 2273 | | |
2250 | 2274 | | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
2251 | 2282 | | |
2252 | 2283 | | |
2253 | 2284 | | |
| |||
2268 | 2299 | | |
2269 | 2300 | | |
2270 | 2301 | | |
| 2302 | + | |
2271 | 2303 | | |
2272 | 2304 | | |
2273 | 2305 | | |
2274 | 2306 | | |
2275 | | - | |
2276 | | - | |
2277 | | - | |
2278 | | - | |
2279 | | - | |
2280 | | - | |
| 2307 | + | |
2281 | 2308 | | |
2282 | 2309 | | |
2283 | 2310 | | |
| |||
2288 | 2315 | | |
2289 | 2316 | | |
2290 | 2317 | | |
| 2318 | + | |
2291 | 2319 | | |
2292 | 2320 | | |
2293 | 2321 | | |
| |||
3679 | 3707 | | |
3680 | 3708 | | |
3681 | 3709 | | |
| 3710 | + | |
| 3711 | + | |
| 3712 | + | |
| 3713 | + | |
| 3714 | + | |
| 3715 | + | |
| 3716 | + | |
| 3717 | + | |
| 3718 | + | |
| 3719 | + | |
| 3720 | + | |
| 3721 | + | |
| 3722 | + | |
| 3723 | + | |
| 3724 | + | |
| 3725 | + | |
| 3726 | + | |
| 3727 | + | |
| 3728 | + | |
| 3729 | + | |
| 3730 | + | |
| 3731 | + | |
| 3732 | + | |
| 3733 | + | |
| 3734 | + | |
| 3735 | + | |
| 3736 | + | |
| 3737 | + | |
| 3738 | + | |
| 3739 | + | |
| 3740 | + | |
| 3741 | + | |
| 3742 | + | |
| 3743 | + | |
| 3744 | + | |
| 3745 | + | |
| 3746 | + | |
| 3747 | + | |
| 3748 | + | |
| 3749 | + | |
| 3750 | + | |
| 3751 | + | |
| 3752 | + | |
| 3753 | + | |
| 3754 | + | |
| 3755 | + | |
| 3756 | + | |
| 3757 | + | |
3682 | 3758 | | |
3683 | 3759 | | |
3684 | 3760 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| 91 | + | |
90 | 92 | | |
91 | | - | |
| 93 | + | |
92 | 94 | | |
93 | | - | |
94 | | - | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| |||
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
153 | 160 | | |
154 | | - | |
| 161 | + | |
155 | 162 | | |
156 | | - | |
157 | | - | |
| 163 | + | |
| 164 | + | |
158 | 165 | | |
159 | 166 | | |
160 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
201 | 202 | | |
202 | 203 | | |
203 | 204 | | |
| 205 | + | |
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
| |||
0 commit comments