Commit 2c0f895
Add error field to AnalysisEnd event
Summary:
Adds an `error` field to the `AnalysisEnd` buck2_data event so downstream consumers can tell whether a target's analysis succeeded or failed. This mirrors the existing `error` field on `LoadBuildFileEnd`: it is `Some(message)` on failure and `None` on success.
landed-with-radar-review
Reviewed By: IanChilds
Differential Revision: D109932996
fbshipit-source-id: b2a7dc9a041ba119219f4f943d495eaae741339a1 parent f2951b9 commit 2c0f895
4 files changed
Lines changed: 8 additions & 0 deletions
File tree
- app
- buck2_action_impl/src/dynamic
- buck2_analysis/src/analysis
- buck2_anon_target/src
- buck2_data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| 341 | + | |
| 342 | + | |
341 | 343 | | |
342 | 344 | | |
343 | 345 | | |
| |||
348 | 350 | | |
349 | 351 | | |
350 | 352 | | |
| 353 | + | |
351 | 354 | | |
352 | 355 | | |
353 | 356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| 339 | + | |
| 340 | + | |
339 | 341 | | |
340 | 342 | | |
341 | 343 | | |
| |||
344 | 346 | | |
345 | 347 | | |
346 | 348 | | |
| 349 | + | |
347 | 350 | | |
348 | 351 | | |
349 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| 486 | + | |
486 | 487 | | |
487 | 488 | | |
488 | 489 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2093 | 2093 | | |
2094 | 2094 | | |
2095 | 2095 | | |
| 2096 | + | |
2096 | 2097 | | |
2097 | 2098 | | |
2098 | 2099 | | |
| |||
0 commit comments