Commit 6679044
committed
bxl: get output artifacts for an Action
- Rename action to bxl.Action so it is findable in docs (I don't know if
that was what was preventing docs generation, but it's worth a try!)
- Add a method to get the output artifacts for an action in bxl. This
allows selectively rebuilding the action by ensuring those outputs.
I added a test, but I have no way to run those besides
www.metacareers.com: #1027
This is part of making action graph debugging slightly easier, which I
want to prototype by writing some rather nasty BXLs:
#1217
Unfortunately I *think* there's no way to get the dependencies after the
fact, since I *just* have a RegisteredAction. I believe that I can
probably do something very bad with owner() then rerunning the analysis
to get deps though.1 parent a72a88b commit 6679044
3 files changed
Lines changed: 17 additions & 3 deletions
File tree
- app/buck2_bxl/src/bxl/starlark_defs/nodes
- tests/core
- bxl/test_audit_data
- query/aquery/test_aquery_data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
52 | | - | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
70 | | - | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
93 | 106 | | |
94 | 107 | | |
95 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments