Commit e44adde
authored
fix(agent): avoid duplicate "missing artifact" warning on the pre-refetch resolve
Review feedback (Greptile): getArtifactsById logs a per-id warning for each
unresolved id, and the new refetch path calls it twice, so a genuinely missing
artifact produced two identical low-level warnings on top of the high-level
summary. Add a warnOnMissing option (default true) and pass false on the
speculative pre-refetch resolve, where a miss is expected and is exactly what
triggers the refetch.
Generated-By: PostHog Code
Task-Id: 62e30413-5b19-4752-9520-b0e772c462ce1 parent e83b0ef commit e44adde
2 files changed
Lines changed: 52 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2284 | 2284 | | |
2285 | 2285 | | |
2286 | 2286 | | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
| 2321 | + | |
| 2322 | + | |
| 2323 | + | |
| 2324 | + | |
| 2325 | + | |
| 2326 | + | |
2287 | 2327 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1772 | 1772 | | |
1773 | 1773 | | |
1774 | 1774 | | |
1775 | | - | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
1776 | 1778 | | |
1777 | 1779 | | |
1778 | 1780 | | |
| |||
1924 | 1926 | | |
1925 | 1927 | | |
1926 | 1928 | | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
1927 | 1933 | | |
1928 | 1934 | | |
1929 | 1935 | | |
| |||
1941 | 1947 | | |
1942 | 1948 | | |
1943 | 1949 | | |
1944 | | - | |
1945 | | - | |
1946 | | - | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
1947 | 1955 | | |
1948 | 1956 | | |
1949 | 1957 | | |
| |||
0 commit comments